/* ═══════════════════════════════════════════════════════════════
   FACTOTUM — Web informativa
   Colors: terracota Claude (#CC7050) sobre fons fosc (#0C0F14)
   ═══════════════════════════════════════════════════════════════ */

/* ─── FONT FACTOTUM ──────────────────────────────────────────── */
@font-face {
  font-family: 'Fortnite';
  src: url('../fonts/Fortnite.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ─── VARIABLES ──────────────────────────────────────────────── */
:root {
  --orange:       #CC7050;
  --orange-light: #E8905A;
  --orange-dark:  #A85030;
  --orange-glow:  rgba(204, 112, 80, 0.15);
  --orange-glow2: rgba(204, 112, 80, 0.08);
  --gold:         #F59E0B;
  --gold-light:   #FCD34D;

  --bg:      #0C0F14;
  --bg-alt:  #0F1219;
  --surface: #141820;
  --surf2:   #1A2030;
  --surf3:   #1C2230;

  --text:       #F0F2F8;
  --text-muted: #8090A8;
  --text-faint: #3A4558;

  --success: #00C878;
  --danger:  #FF4545;
  --border:  #1E2738;
  --border2: #2A3448;

  --r-sm: 8px;
  --r:    12px;
  --r-lg: 18px;
  --r-xl: 24px;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-brand: 'Fortnite', 'Inter', sans-serif;
  --max-w: 1200px;
  --nav-h: 68px;
}

/* ─── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: color .2s; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
strong { font-weight: 700; }
code {
  font-family: 'Menlo', 'Consolas', monospace;
  font-size: .88em;
  background: var(--surf3);
  color: var(--orange-light);
  padding: 2px 6px;
  border-radius: 4px;
}

/* ─── BRAND TEXT (FACTOTUM) ──────────────────────────────────── */
.factotum-brand {
  font-family: var(--font-brand);
  background: linear-gradient(90deg, var(--orange) 0%, var(--orange-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: .04em;
}

/* ─── CONTAINER ──────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 28px; }

/* ─── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
  transition: all .2s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn--lg  { padding: 15px 32px; font-size: 15px; border-radius: var(--r); }
.btn--sm  { padding: 8px 16px;  font-size: 13px; }
.btn--block { width: 100%; }

.btn--primary {
  background: var(--orange);
  color: #fff;
  border: 1px solid var(--orange);
}
.btn--primary:hover {
  background: var(--orange-light);
  border-color: var(--orange-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(204,112,80,.35);
}

.btn--ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border2);
}
.btn--ghost:hover { color: var(--text); border-color: var(--text-muted); }

.btn--outline {
  background: transparent;
  color: var(--orange-light);
  border: 1px solid var(--orange);
}
.btn--outline:hover { background: var(--orange-glow); }

.btn--gold {
  background: var(--gold);
  color: #1a1000;
  border: 1px solid var(--gold);
  font-weight: 700;
}
.btn--gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(245,158,11,.35);
}

.btn:disabled { opacity: .4; cursor: not-allowed !important; transform: none !important; box-shadow: none !important; }

/* ─── SECTION HELPERS ────────────────────────────────────────── */
.section-tag {
  display: inline-block;
  background: var(--orange-glow);
  color: var(--orange-light);
  border: 1px solid rgba(204,112,80,.3);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-tag.center { display: block; width: max-content; margin: 0 auto; text-align: center; }

.section-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.02em;
  margin-bottom: 14px;
}
.section-title.center { text-align: center; }

.section-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 52px;
  max-width: 560px;
  line-height: 1.7;
}
.section-subtitle.center { text-align: center; margin-left: auto; margin-right: auto; }

section { padding: 100px 0; position: relative; }

/* ─── DOT GRID (patró geomètric de fons) ─────────────────────── */
section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.038) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}
/* El contingut queda sempre per sobre del patró */
section > .container {
  position: relative;
  z-index: 1;
}

.compare  { overflow: hidden; }
.pricing  { overflow: hidden; }
.faq { overflow: hidden; }

/* ─── NAV ────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 999;
  height: var(--nav-h);
  background: rgba(12,15,20,.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: background .3s;
}
.nav.scrolled { background: rgba(12,15,20,.97); }
.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav__logo-mark {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-brand);
  font-size: 22px;
  color: #0a0a0a;
  flex-shrink: 0;
  line-height: 1;
  padding-top: 2px;
}
.nav__logo .factotum-brand {
  font-size: 17px;
  letter-spacing: .08em;
}
.nav__links { display: flex; gap: 4px; flex: 1; }
.nav__links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: color .2s, background .2s, border-color .2s;
  position: relative;
}
.nav__links a:hover {
  color: var(--orange-light);
  background: var(--orange-glow);
  border-color: rgba(204,112,80,.3);
}
.nav__links a.active-link {
  color: var(--orange-light);
  background: var(--orange-glow);
  border-color: rgba(204,112,80,.3);
}

/* Language switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  background: var(--surf2);
  border: 1px solid var(--border2);
  border-radius: 8px;
  padding: 2px;
  gap: 2px;
  flex-shrink: 0;
}
.lang-switcher__btn {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  color: var(--text-muted);
  padding: 5px 10px;
  border-radius: 6px;
  transition: all .18s;
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font);
}
.lang-switcher__btn.active {
  background: var(--orange);
  color: #fff;
}
.lang-switcher__btn:not(.active):hover {
  color: var(--text);
  background: rgba(255,255,255,.06);
}

.nav__cta { flex-shrink: 0; }
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  margin-left: auto;
}
.nav__burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .25s;
}

/* ─── HERO ───────────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}
.hero__glow--1 {
  width: 700px; height: 700px;
  background: rgba(204,112,80,.1);
  top: -150px; left: -150px;
}
.hero__glow--2 {
  width: 500px; height: 500px;
  background: rgba(245,158,11,.07);
  bottom: 0; right: -100px;
}
.hero .container { position: relative; z-index: 1; }
.hero__tag {
  display: inline-block;
  background: var(--orange-glow);
  color: var(--orange-light);
  border: 1px solid rgba(204,112,80,.3);
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero__title {
  font-family: var(--font-brand);
  font-size: clamp(72px, 12vw, 140px);
  font-weight: normal;
  letter-spacing: .04em;
  line-height: 1;
  margin-bottom: 28px;
  background: linear-gradient(90deg, var(--orange) 0%, var(--orange-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-muted);
  margin-bottom: 44px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}
.hero__subtitle strong { color: var(--text); }
.hero__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 52px;
}
.hero__badges {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.badge {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
}
.badge--active {
  background: rgba(0,200,120,.1);
  color: var(--success);
  border: 1px solid rgba(0,200,120,.25);
}
.badge--soon {
  background: var(--surf2);
  color: var(--text-muted);
  border: 1px solid var(--border2);
}

/* ─── COMPARE ────────────────────────────────────────────────── */
.compare { background: var(--bg-alt); }
.compare .container > .section-title,
.compare .container > .section-subtitle { max-width: 600px; margin-left: auto; margin-right: auto; }
.compare__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 52px;
}
.compare__col {
  padding: 32px;
  border-radius: var(--r-xl);
  border: 1px solid;
}
.compare__col--problem {
  background: rgba(255,69,69,.04);
  border-color: rgba(255,69,69,.18);
}
.compare__col--solution {
  background: var(--orange-glow2);
  border-color: rgba(204,112,80,.28);
}
.compare__col-title { font-size: 17px; font-weight: 700; margin-bottom: 24px; }
.compare__list { display: flex; flex-direction: column; gap: 14px; }
.compare__list li {
  font-size: 14px;
  color: var(--text-muted);
  padding: 10px 14px;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,.025);
}
.compare__col--problem .compare__list li { border-left: 3px solid rgba(255,69,69,.35); }
.compare__col--solution .compare__list li { border-left: 3px solid var(--orange); }
.compare__list li strong { color: var(--text); display: block; margin-bottom: 2px; }

/* ─── FEATURES ───────────────────────────────────────────────── */
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 8px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: border-color .2s, transform .25s, box-shadow .25s;
}
.feature-card:hover {
  border-color: var(--border2);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,.3);
}
.feature-card--highlight {
  background: linear-gradient(135deg, rgba(204,112,80,.1) 0%, rgba(245,158,11,.06) 100%);
  border-color: rgba(204,112,80,.4);
}
.feature-card--highlight:hover { border-color: var(--orange); }
.feature-card__icon { font-size: 34px; margin-bottom: 16px; line-height: 1; }
.feature-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.feature-card p  { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; line-height: 1.65; }
.feature-card__list { display: flex; flex-direction: column; gap: 7px; }
.feature-card__list li {
  font-size: 12px;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}
.feature-card__list li::before {
  content: '→';
  position: absolute; left: 0;
  color: var(--orange);
  font-size: 11px;
}

/* ─── VERIFACTU ──────────────────────────────────────────────── */
.verifactu { background: var(--surface); }
.verifactu__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.verifactu__content p {
  font-size: 14.5px;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.7;
}
.verifactu__content .btn { margin-top: 8px; }
.verifactu__badges {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.v-badge {
  background: var(--surf2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: border-color .2s, background .2s;
}
.v-badge:hover { border-color: var(--orange); background: var(--orange-glow2); }
.v-badge__icon { font-size: 24px; flex-shrink: 0; }
.v-badge__title { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.v-badge__text  { font-size: 12px; color: var(--text-muted); }
.v-badge--soon .v-badge__title::after {
  content: ' · Aviat';
  color: var(--text-faint);
  font-weight: 400;
}

/* ─── PRICING ────────────────────────────────────────────────── */
.pricing { background: var(--bg-alt); }
.pricing__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 52px;
}
.pricing__toggle-label { font-size: 14px; font-weight: 500; color: var(--text-muted); transition: color .2s; }
.pricing__toggle-label.active { color: var(--text); }
.save-badge {
  font-style: normal;
  background: rgba(0,200,120,.12);
  color: var(--success);
  border: 1px solid rgba(0,200,120,.25);
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
}
.pricing__toggle-btn {
  width: 44px; height: 24px;
  background: var(--surf3);
  border-radius: 12px;
  border: 1px solid var(--border2);
  position: relative;
  cursor: pointer;
  transition: background .2s, border-color .2s;
  flex-shrink: 0;
}
.pricing__toggle-btn.on { background: var(--orange); border-color: var(--orange); }
.pricing__toggle-btn span {
  position: absolute;
  top: 3px; left: 3px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform .2s;
}
.pricing__toggle-btn.on span { transform: translateX(20px); }

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: start;
}
.plan-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px 24px;
  position: relative;
  transition: border-color .2s, transform .25s, box-shadow .25s;
}
.plan-card:hover { border-color: var(--border2); transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,0,0,.35); }

.plan-card--featured {
  background: linear-gradient(160deg, rgba(204,112,80,.12) 0%, rgba(204,112,80,.04) 100%);
  border-color: var(--orange);
  transform: scale(1.02);
  box-shadow: 0 0 40px rgba(204,112,80,.15);
}
.plan-card--featured:hover { transform: scale(1.02) translateY(-3px); }

.plan-card--lifetime { border-color: rgba(245,158,11,.35); }
.plan-card--lifetime:hover { border-color: var(--gold); box-shadow: 0 16px 40px rgba(245,158,11,.12); }

.plan-card__badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 10px;
  white-space: nowrap;
  letter-spacing: .03em;
}
.plan-card__badge--gold { background: var(--gold); color: #1a1000; }

.plan-card__header {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.plan-card__name {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.plan-card__price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 4px; }
.plan-card__amount {
  font-size: 30px;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}
.plan-card--featured .plan-card__amount { color: var(--orange-light); }
.plan-card__amount--gold { color: var(--gold) !important; }
.plan-card__period { font-size: 13px; color: var(--text-muted); }
.plan-card__annual-note {
  font-size: 11px;
  color: var(--text-muted);
  display: none;
  margin-top: 4px;
}

.plan-card__features {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 22px;
  min-height: 230px;
}
.plan-card__features li {
  font-size: 13px;
  padding-left: 22px;
  position: relative;
  line-height: 1.4;
}
.plan-card__features li.inc { color: var(--text); }
.plan-card__features li.exc { color: var(--text-faint); }
.plan-card__features li::before { position: absolute; left: 0; font-size: 11px; top: 1px; }
.plan-card__features li.inc::before { content: '✓'; color: var(--success); }
.plan-card__features li.exc::before { content: '✗'; color: var(--text-faint); }
.plan-card__features li.gold-check::before { content: '⚡'; color: var(--gold); }

.plan-card__note {
  text-align: center;
  font-size: 11px;
  color: var(--text-faint);
  margin-top: 10px;
}

.pricing__footer { margin-top: 40px; }
.pricing__trust {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}
.pricing__trust span { font-size: 13px; color: var(--text-muted); }

/* ─── PLATFORMS ──────────────────────────────────────────────── */
.platforms .section-title.center,
.platforms .section-tag.center { max-width: none; }

.platforms__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 52px;
}
.platform-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 44px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  transition: border-color .2s, transform .25s;
}
.platform-card:hover { transform: translateY(-3px); }
.platform-card__version {
  background: var(--surf3);
  border: 1px solid var(--border2);
  color: var(--text-muted);
  font-size: 11px; font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: .04em;
}
.platform-card__version.active {
  background: var(--orange-glow);
  border-color: rgba(204,112,80,.4);
  color: var(--orange-light);
}
.platform-card__icon {
  width: 72px; height: 72px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 18px;
  font-size: 32px;
  flex-shrink: 0;
}
.platform-icon--linux {
  background: linear-gradient(135deg, rgba(204,112,80,0.22), rgba(232,144,90,0.08));
  border: 1px solid rgba(204,112,80,0.35);
  color: var(--orange-light);
}
.platform-icon--android {
  background: linear-gradient(135deg, rgba(61,220,132,0.22), rgba(61,220,132,0.06));
  border: 1px solid rgba(61,220,132,0.35);
  color: #3DDC84;
}
.platform-icon--windows {
  background: linear-gradient(135deg, rgba(74,143,231,0.22), rgba(74,143,231,0.06));
  border: 1px solid rgba(74,143,231,0.35);
  color: #4A8FE7;
}
.platform-card h3 { font-size: 20px; font-weight: 700; }
.platform-card p  { font-size: 13px; color: var(--text-muted); line-height: 1.65; }
.platform-card__specs {
  display: flex; gap: 8px; flex-wrap: wrap; justify-content: center;
}
.platform-card__specs span {
  background: var(--surf3);
  border: 1px solid var(--border);
  font-size: 11px; font-weight: 500;
  color: var(--text-muted);
  padding: 3px 10px;
  border-radius: 20px;
}
.platform-card--active { border-color: var(--orange); }
.platform-card--soon { opacity: .75; }
.platforms__note {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 32px;
}
.platforms__note strong { color: var(--gold); }
.platforms__legal {
  text-align: center;
  font-size: 11px;
  color: var(--text-faint);
  margin-top: 16px;
}

/* ─── FAQ ────────────────────────────────────────────────────── */
.faq { background: var(--bg-alt); }
.faq .section-title.center { margin-bottom: 52px; }

.faq__list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item:hover, .faq-item.open { border-color: var(--border2); }
.faq-item.open { border-color: rgba(204,112,80,.35); }

.faq-item__q {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  text-align: left;
  transition: background .2s;
  gap: 16px;
}
.faq-item__q:hover { background: var(--surf2); }
.faq-item__icon {
  font-size: 22px;
  font-weight: 300;
  color: var(--orange);
  flex-shrink: 0;
  line-height: 1;
  transition: transform .25s, color .2s;
  width: 22px; text-align: center;
}
.faq-item.open .faq-item__icon { transform: rotate(45deg); }
.faq-item.open .faq-item__q { background: var(--surf2); }

.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.faq-item__a p {
  padding: 4px 24px 22px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
  border-top: 1px solid var(--border);
}

/* ─── CTA FINAL ──────────────────────────────────────────────── */
.cta-final {
  background: var(--surface);
  padding: 120px 0;
  text-align: center;
}
.cta-final__inner {
  position: relative;
  max-width: 660px;
  margin: 0 auto;
}
.cta-final__glow {
  position: absolute;
  width: 500px; height: 300px;
  background: radial-gradient(ellipse, rgba(204,112,80,.12) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.cta-final__inner h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 18px;
  position: relative;
  line-height: 1.2;
}
.cta-final__inner > p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 44px;
  position: relative;
}
.cta-final__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
  position: relative;
}
.cta-final__note {
  font-size: 13px;
  color: var(--text-faint);
  position: relative;
}

/* ─── FOOTER ─────────────────────────────────────────────────── */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 72px 0 36px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 52px;
  margin-bottom: 52px;
}
.footer__brand > .nav__logo { margin-bottom: 16px; }
.footer__brand p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 280px;
}
.footer__by { margin-top: 8px !important; }
.footer__by a { color: var(--orange-light); font-weight: 500; }
.footer__by a:hover { text-decoration: underline; }
.footer__col h4 {
  font-size: 11px; font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 18px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col a {
  font-size: 13px;
  color: var(--text-muted);
  cursor: pointer;
}
.footer__col a:hover { color: var(--text); }
.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer__bottom p { font-size: 12px; color: var(--text-faint); }

/* ─── LEGAL MODALS ───────────────────────────────────────────── */
.legal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(8,10,16,.92);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
  overflow-y: auto;
}
.legal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.legal-modal {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--r-xl);
  max-width: 760px;
  width: 100%;
  padding: 52px 52px 44px;
  position: relative;
  transform: translateY(20px);
  transition: transform .3s;
}
.legal-overlay.open .legal-modal { transform: translateY(0); }
.legal-modal__close {
  position: absolute;
  top: 20px; right: 20px;
  width: 36px; height: 36px;
  background: var(--surf2);
  border: 1px solid var(--border2);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  color: var(--text-muted);
  cursor: pointer;
  transition: background .2s, color .2s;
  line-height: 1;
}
.legal-modal__close:hover { background: var(--surf3); color: var(--text); }
.legal-modal h2 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 6px;
}
.legal-modal .legal-date {
  font-size: 12px;
  color: var(--text-faint);
  margin-bottom: 36px;
  display: block;
}
.legal-modal h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--orange-light);
  margin: 28px 0 10px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.legal-modal p, .legal-modal li {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 10px;
}
.legal-modal ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 12px;
}
.legal-modal strong { color: var(--text); }
.legal-modal a { color: var(--orange-light); text-decoration: underline; }

/* ─── SCROLL ANIMATIONS ──────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .55s ease, transform .55s ease;
}
.fade-up.visible { opacity: 1; transform: none; }

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .pricing__grid { grid-template-columns: repeat(2, 1fr); }
  .plan-card--featured { transform: none; }
  .plan-card--featured:hover { transform: translateY(-3px); }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; }
  section { padding: 72px 0; }
  .container { padding: 0 18px; }

  .nav__links { display: none; }
  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: rgba(12,15,20,.98);
    backdrop-filter: blur(20px);
    padding: 24px 28px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    z-index: 998;
  }
  .nav__links.open a { font-size: 16px; padding: 6px 0; }
  .lang-switcher { display: none; }
  .nav__cta { display: none; }
  .nav__burger { display: flex; }

  .compare__grid    { grid-template-columns: 1fr; }
  .features__grid   { grid-template-columns: 1fr; }
  .pricing__grid    { grid-template-columns: 1fr; }
  .platforms__grid  { grid-template-columns: 1fr; }
  .verifactu__inner { grid-template-columns: 1fr; gap: 40px; }
  .footer__grid     { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer__bottom   { flex-direction: column; text-align: center; }

  .hero__actions    { flex-direction: column; align-items: center; }
  .hero__badges     { flex-direction: column; align-items: center; }
  .cta-final__actions { flex-direction: column; align-items: center; }
  .pricing__trust   { flex-direction: column; align-items: center; gap: 10px; }

  .legal-modal { padding: 36px 24px 32px; }
}

@media (max-width: 480px) {
  .footer__grid  { grid-template-columns: 1fr; }
  .hero__title   { letter-spacing: .02em; }
  .section-title { letter-spacing: -.025em; }
}

/* ─── COOKIE BANNER ──────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1500;
  background: var(--surface);
  border-top: 2px solid var(--orange);
  box-shadow: 0 -8px 32px rgba(0,0,0,.5);
  transform: translateY(100%);
  transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.cookie-banner.visible {
  transform: translateY(0);
}
.cookie-banner__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.cookie-banner__text {
  flex: 1;
  min-width: 0;
}
.cookie-banner__text strong {
  display: block;
  color: var(--text);
  font-size: 14px;
  margin-bottom: 4px;
}
.cookie-banner__text p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}
.cookie-banner__link {
  color: var(--orange-light);
  cursor: pointer;
  margin-left: 6px;
  white-space: nowrap;
}
.cookie-banner__link:hover { text-decoration: underline; }
.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .cookie-banner__actions { justify-content: flex-end; }
}

/* ─── MODAL EN CONSTRUCCIÓ ───────────────────────────────── */
.coming-soon-modal {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-top: 3px solid var(--orange);
  border-radius: var(--r-xl);
  padding: 56px 48px 48px;
  max-width: 480px;
  width: 90%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  box-shadow: 0 24px 80px rgba(0,0,0,.6);
}
.coming-soon-modal .legal-modal__close {
  position: absolute;
  top: 16px;
  right: 20px;
}
.coming-soon-modal__icon {
  font-size: 52px;
  line-height: 1;
  filter: drop-shadow(0 4px 12px rgba(204,112,80,.4));
}
.coming-soon-modal h2 {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.02em;
}
.coming-soon-modal__subtitle {
  font-size: 1rem;
  font-weight: 600;
  color: var(--orange-light);
}
.coming-soon-modal__desc {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 360px;
}
.coming-soon-modal__desc a {
  color: var(--orange-light);
  text-decoration: underline;
}
