/* PayJuntos landing — shared styles. Brand: blue #2F80ED, green #34C759, dark UI. */
:root {
  --blue: #2F80ED;
  --blue-light: #3A8BF0;
  --blue-dark: #2570DC;
  --green: #34C759;
  --bg: #0B0B0D;
  --surface: #141416;
  --surface-2: #1C1C1F;
  --border: #2A2A2E;
  --text: #F5F5F7;
  --muted: #9A9AA2;
  --radius: 18px;
  --max: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ── Header ─────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: saturate(160%) blur(12px);
  background: rgba(11, 11, 13, 0.72);
  border-bottom: 1px solid var(--border);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 20px; letter-spacing: -0.4px; color: #fff; }
.brand .mark { width: 30px; height: 30px; color: #fff; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--muted); font-weight: 500; font-size: 15px; transition: color .15s; }
.nav a:hover { color: #fff; }
@media (max-width: 640px) { .nav a.hide-sm { display: none; } }

/* ── Buttons / badges ──────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: 15px;
  background: var(--blue); color: #fff; border: 1px solid transparent; transition: transform .12s, background .15s;
}
.btn:hover { background: var(--blue-light); transform: translateY(-1px); }
.badges { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 20px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--border); color: #fff; min-width: 200px;
}
.store-badge svg { width: 26px; height: 26px; flex: 0 0 auto; }
.store-badge .l1 { display: block; font-size: 11px; color: var(--muted); line-height: 1.2; }
.store-badge .l2 { display: block; font-size: 16px; font-weight: 700; line-height: 1.2; }
.store-badge .soon { margin-left: auto; font-size: 11px; color: var(--green); font-weight: 700; letter-spacing: .3px; text-transform: uppercase; }

/* ── Hero ──────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding: 92px 0 40px; }
.hero::before {
  content: ""; position: absolute; inset: -40% 0 auto 0; height: 720px; z-index: 0;
  background:
    radial-gradient(1000px 460px at 78% -8%, rgba(47,128,237,.55), transparent 60%),
    radial-gradient(760px 420px at 6% 8%, rgba(52,199,89,.14), transparent 60%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero-mark { width: 88px; height: 88px; margin-bottom: 22px; }
.hero h1 { font-size: 58px; line-height: 1.04; letter-spacing: -1.6px; margin: 0 0 18px; font-weight: 800; }
.hero h1 .accent { color: var(--blue-light); }
.hero p.sub { font-size: 20px; color: var(--muted); margin: 0; max-width: 520px; }
.hero-visual { display: flex; justify-content: center; }
.phone {
  width: 300px; border-radius: 40px; border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 40px 90px rgba(0,0,0,.55); transform: rotate(-2deg);
}
@media (max-width: 900px) {
  .hero { padding: 64px 0 24px; }
  .hero .container { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .hero-mark { margin-inline: auto; }
  .hero p.sub { margin-inline: auto; }
  .badges { justify-content: center; }
  .hero h1 { font-size: 44px; }
  .phone { width: 250px; transform: none; }
}

/* ── Sections ──────────────────────────────────────── */
section { padding: 72px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 { font-size: 36px; letter-spacing: -1px; margin: 0 0 12px; font-weight: 800; }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 820px) { .features { grid-template-columns: 1fr; } }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; transition: border-color .15s, transform .15s;
}
.card:hover { border-color: #3a3a40; transform: translateY(-2px); }
.card .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px;
  background: rgba(47,128,237,.14); color: var(--blue-light); font-size: 22px; }
.card h3 { margin: 0 0 8px; font-size: 18px; font-weight: 700; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

.showcase { background: linear-gradient(160deg, var(--blue-light), var(--blue-dark)); border-radius: 28px; padding: 56px 24px; text-align: center; margin-top: 8px; }
.showcase h2 { font-size: 32px; letter-spacing: -.8px; margin: 0 0 8px; color: #fff; }
.showcase p { color: rgba(255,255,255,.9); margin: 0 auto 34px; max-width: 460px; }
.shots { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; }
.shots img { width: 230px; border-radius: 30px; border: 1px solid rgba(255,255,255,.18); box-shadow: 0 30px 70px rgba(0,0,0,.4); }

/* ── Footer ────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--border); padding: 40px 0; margin-top: 24px; }
.site-footer .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.site-footer .brand { font-size: 17px; }
.foot-links { display: flex; gap: 24px; }
.foot-links a { color: var(--muted); font-size: 14px; }
.foot-links a:hover { color: #fff; }
.copyright { color: #666; font-size: 13px; width: 100%; }

/* ── Legal pages (privacy / terms) ─────────────────── */
.legal { max-width: 760px; margin: 0 auto; padding: 56px 24px 80px; }
.legal .eyebrow { color: var(--blue-light); font-weight: 700; letter-spacing: .4px; text-transform: uppercase; font-size: 13px; }
.legal h1 { font-size: 40px; letter-spacing: -1px; margin: 8px 0 6px; }
.legal .updated { color: var(--muted); font-size: 14px; margin: 0 0 8px; }
.legal .draft-note { background: var(--surface-2); border: 1px solid var(--border); border-left: 3px solid var(--green);
  border-radius: 12px; padding: 14px 18px; color: var(--muted); font-size: 14px; margin: 20px 0 36px; }
.legal h2 { font-size: 22px; margin: 40px 0 10px; letter-spacing: -.4px; }
.legal p, .legal li { color: #D8D8DE; }
.legal a { color: var(--blue-light); }
.legal a:hover { text-decoration: underline; }
.legal ul { padding-left: 20px; }
.legal .back { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 15px; margin-bottom: 8px; }
.legal .back:hover { color: #fff; }
