:root {
  color-scheme: light dark;
  --bg: #07080c;
  --bg-soft: #10131b;
  --card: rgba(255, 255, 255, 0.075);
  --card-strong: rgba(255, 255, 255, 0.11);
  --border: rgba(255, 255, 255, 0.14);
  --text: #f5f7fb;
  --muted: #aeb7c8;
  --accent: #5eead4;
  --accent-2: #60a5fa;
  --shadow: rgba(0, 0, 0, 0.42);
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f7f9fc;
    --bg-soft: #eef3f8;
    --card: rgba(255, 255, 255, 0.78);
    --card-strong: rgba(255, 255, 255, 0.92);
    --border: rgba(15, 23, 42, 0.12);
    --text: #101827;
    --muted: #5f6b7a;
    --shadow: rgba(15, 23, 42, 0.14);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: "Poppins", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 80% 8%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 30%),
    radial-gradient(circle at 14% 30%, color-mix(in srgb, var(--accent-2) 18%, transparent), transparent 34%),
    linear-gradient(145deg, var(--bg) 0%, #0b0d13 48%, var(--bg-soft) 100%);
}

a { color: inherit; }
img { max-width: 100%; }
.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--border);
  background: rgba(7, 8, 12, 0.78);
  backdrop-filter: blur(18px);
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; }
.brand img { width: 42px; height: 42px; border-radius: 12px; object-fit: cover; box-shadow: 0 14px 34px color-mix(in srgb, var(--accent) 28%, transparent); }
nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.brand, nav a, .btn, .store-badge, .feature-card, .legal-card, .use-grid article, .screen { transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease; }
nav a { color: var(--muted); text-decoration: none; font-size: 13px; padding: 8px 11px; border-radius: 999px; }
nav a:hover, nav a:focus-visible { color: var(--text); background: rgba(255, 255, 255, 0.08); outline: none; }

.hero { padding: 78px 0 56px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr); gap: 46px; align-items: center; }
.app-lockup { display: inline-flex; align-items: center; gap: 12px; padding: 8px 14px 8px 8px; border: 1px solid var(--border); border-radius: 999px; color: var(--muted); background: rgba(255,255,255,0.06); backdrop-filter: blur(16px); font-size: 13px; margin-bottom: 22px; }
.app-lockup img { width: 42px; height: 42px; border-radius: 12px; object-fit: cover; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 14px; font-size: clamp(44px, 7vw, 78px); line-height: 0.98; letter-spacing: 0; }
.headline { margin-bottom: 20px; color: var(--accent); font-size: clamp(28px, 4.4vw, 50px); line-height: 1.08; font-weight: 700; }
.lead, .section-copy { color: var(--muted); font-size: 16px; line-height: 1.7; }
.lead { max-width: 640px; margin-bottom: 28px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.store-badge { display: inline-flex; align-items: center; min-height: 52px; border-radius: 12px; }
.store-badge img { width: auto; height: 52px; display: block; }
.store-badge.pending { position: relative; opacity: 0.72; }
.store-badge.pending::after { content: "Coming soon"; margin-left: 10px; color: var(--muted); font-size: 12px; }
.btn { display: inline-flex; align-items: center; min-height: 52px; padding: 0 18px; border: 1px solid rgba(255,255,255,0.2); border-radius: 14px; color: var(--text); background: rgba(255,255,255,0.06); text-decoration: none; font-weight: 700; }
.btn.primary { color: #061014; background: linear-gradient(135deg, var(--accent), var(--accent-2)); border: none; }
.btn:hover, .btn:focus-visible, .store-badge:hover, .store-badge:focus-visible { transform: translateY(-2px); outline: none; }
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; }
.hero-visual::before { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 28%, transparent); filter: blur(70px); }
.hero-card { position: relative; overflow: hidden; width: min(100%, 560px); border: 1px solid var(--border); border-radius: 28px; background: linear-gradient(145deg, rgba(255,255,255,0.12), rgba(255,255,255,0.035)); box-shadow: 0 34px 80px var(--shadow); }
.hero-card img { display: block; width: 100%; height: auto; }
.hero-card .floating-icon { width: 44%; max-width: 240px; margin: 44px auto; border-radius: 26%; filter: drop-shadow(0 24px 45px rgba(0,0,0,0.42)); }
.hero-card .framed { padding: 16px; border-radius: 28px; }
.trust-list { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 24px 0 0; list-style: none; }
.trust-list li { color: color-mix(in srgb, var(--accent) 55%, #fff); background: color-mix(in srgb, var(--accent) 13%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 24%, transparent); border-radius: 999px; padding: 8px 12px; font-size: 13px; }

.section { padding: 70px 0; border-top: 1px solid rgba(255,255,255,0.08); }
.eyebrow { margin-bottom: 10px; color: var(--accent); font-size: 13px; font-weight: 700; text-transform: uppercase; }
.section-title { max-width: 760px; margin-bottom: 24px; font-size: clamp(28px, 4vw, 46px); line-height: 1.12; }
.feature-grid, .use-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.feature-card, .legal-card, .use-grid article {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255,255,255,0.09), rgba(255,255,255,0.035)), var(--card);
  box-shadow: 0 18px 42px rgba(0,0,0,0.22);
}
.feature-card h3 { margin-bottom: 8px; font-size: 18px; }
.feature-card p, .legal-card p, .legal-card li { color: var(--muted); line-height: 1.6; }
.feature-card:hover, .use-grid article:hover, .screen:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--accent) 34%, var(--border)); box-shadow: 0 24px 58px color-mix(in srgb, var(--accent) 16%, transparent); }
.screens { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.screen { overflow: hidden; border: 1px solid var(--border); border-radius: 22px; background: rgba(255,255,255,0.05); box-shadow: 0 18px 42px rgba(0,0,0,0.22); }
.screen img { display: block; width: 100%; height: auto; }
.legal-page { padding: 56px 0 70px; }
.legal-card { max-width: 860px; }
.legal-card h2 { margin-top: 28px; }
footer { border-top: 1px solid var(--border); color: var(--muted); font-size: 13px; }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 30px; }

@media (max-width: 920px) {
  .hero-grid, .feature-grid, .use-grid, .screens { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .container { padding: 0 14px; }
  .topbar .container { flex-direction: column; align-items: stretch; }
  nav { justify-content: center; }
  .hero { padding-top: 52px; }
  .store-badge, .store-badge img, .btn { width: 100%; }
  .store-badge { justify-content: center; }
  .store-badge img { max-width: 220px; height: auto; }
  .store-badge.pending { flex-direction: column; gap: 8px; }
  .store-badge.pending::after { margin-left: 0; }
  .btn { justify-content: center; }
  .section { padding: 52px 0; }
  h1 { font-size: clamp(36px, 14vw, 48px); }
  .headline { font-size: clamp(25px, 9vw, 34px); }
  .feature-card, .legal-card, .use-grid article { border-radius: 14px; padding: 16px; }
}

@media (max-width: 340px) {
  .container { padding: 0 10px; }
  nav a { padding: 7px 9px; font-size: 12px; }
  .app-lockup { border-radius: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (prefers-color-scheme: light) {
  .topbar { background: rgba(255, 255, 255, 0.78); }
  nav a:hover, nav a:focus-visible { background: rgba(15, 23, 42, 0.06); }
  .btn { border-color: rgba(15, 23, 42, 0.16); background: rgba(255, 255, 255, 0.6); }
  .trust-list li { color: color-mix(in srgb, var(--accent) 72%, #000); }
}

/* Selector ES/EN de medios (media-lang.js) */
.media-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.media-head .section-title { margin-bottom: 0; }
.media-lang { display: inline-flex; padding: 4px; border: 1px solid var(--border); border-radius: 999px; background: var(--card); }
.media-lang button { min-width: 48px; padding: 8px 14px; border: 0; border-radius: 999px; color: var(--muted); background: transparent; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.media-lang button[aria-pressed="true"] { color: #10131b; background: var(--accent); }
.media-lang button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
[data-media-lang][hidden] { display: none !important; }
.preview-video { margin: 0; }
.preview-video video { display: block; width: 100%; height: auto; background: #000; }
