/* Stop Wasting Time — landing, «Arena y cielo» (2026-11). Same palette as the app:
   sky background, white cards, ink text, leaf actions, sand for Sandy, coral for what drains her. */
:root {
  --sky-top: #DFF2FF;
  --bg: #F4F8FD;
  --card: #FFFFFF;
  --ink: #15213A;
  --ink-2: #3C4A63;
  --muted: #56627A;
  --line: #E6ECF4;
  --leaf: #009E58;
  --leaf-ink: #0A8A52;
  --leaf-soft: #E3F7EC;
  --sand: #E9A72B;
  --sand-light: #F6C453;
  --sand-soft: #FFF3DA;
  --coral: #FF6B57;
  --shadow: 0 2px 14px rgba(21, 33, 58, .07);
  --shadow-lg: 0 18px 50px rgba(21, 33, 58, .16);
  --r: 22px;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: Nunito, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 600;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--leaf-ink); }
h1, h2, h3 { line-height: 1.12; margin: 0; letter-spacing: -.01em; font-weight: 900; }
h2 { font-size: clamp(1.9rem, 4.2vw, 2.7rem); }
h3 { font-size: 1.3rem; font-weight: 800; }
p { margin: 0; }
section { padding: 72px 20px; }
.section-head { max-width: 700px; margin: 0 auto 36px; text-align: center; }
.section-head p { margin-top: 12px; color: var(--muted); font-size: 1.1rem; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 16px; font-weight: 900; text-decoration: none; cursor: pointer;
  padding: 14px 22px; font-size: 1rem; border: 0; transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, select:focus-visible, summary:focus-visible, input:focus-visible {
  outline: 3px solid var(--sand); outline-offset: 3px;
}
.btn-primary { background: var(--leaf); color: #fff; box-shadow: 0 8px 22px rgba(0, 158, 88, .28); }
.btn-ghost { background: #fff; color: var(--ink); border: 1.5px solid #DCE3EE; }
.btn-sm { padding: 9px 14px; font-size: .9rem; border-radius: 12px; }
.btn-lg { padding: 17px 28px; font-size: 1.12rem; border-radius: 18px; }
.play-ic { width: 20px; height: 20px; flex: none; }

/* ── Nav ── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 248, 253, .85); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { max-width: var(--max); margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 900; font-size: 1.08rem; white-space: nowrap; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--ink-2); text-decoration: none; font-weight: 800; }
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang-toggle {
  font: inherit; font-weight: 800; color: var(--ink); background: #fff;
  border: 1.5px solid #DCE3EE; border-radius: 10px; padding: 6px 8px;
}

/* ── Hero ── */
.hero {
  position: relative; overflow: hidden; padding: 56px 20px 120px;
  background: linear-gradient(180deg, var(--sky-top) 0%, #EAF6FF 60%, var(--bg) 100%);
}
.hero-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.eyebrow {
  display: inline-block; background: #fff; color: var(--leaf-ink); font-weight: 900; font-size: .9rem;
  padding: 7px 14px; border-radius: 999px; box-shadow: var(--shadow); margin-bottom: 18px;
}
.hero h1 { font-size: clamp(2.4rem, 5.6vw, 4rem); }
.hero h1 em { font-style: normal; color: var(--leaf-ink); display: block; }
.hero-sub { margin-top: 18px; font-size: 1.2rem; color: var(--ink-2); max-width: 34em; }
.hero-ctas { margin-top: 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.cta-note { color: var(--muted); font-size: .95rem; }
.hero-visual { position: relative; height: 560px; }
.phone {
  border-radius: 34px; overflow: hidden; background: #fff;
  border: 8px solid #fff; box-shadow: var(--shadow-lg);
}
.phone img { width: 100%; }
.phone-back { position: absolute; width: 250px; left: 4%; top: 30px; transform: rotate(-5deg); opacity: .96; }
.phone-front { position: absolute; width: 270px; right: 6%; top: 0; transform: rotate(3deg); }
.hero-hills { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 120px; }

/* ── Trust ── */
.trust { padding-top: 8px; padding-bottom: 24px; }
.trust-grid { list-style: none; margin: 0 auto; padding: 0; max-width: var(--max); display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.trust-grid li { padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.trust-grid strong { font-weight: 900; font-size: 1.08rem; }
.trust-grid span:not(.t-ic) { color: var(--muted); }
.t-ic { font-size: 1.5rem; }

/* ── Research ── */
.research-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.research-lead { font-size: clamp(1.3rem, 2.8vw, 1.75rem); font-weight: 800; color: var(--ink); max-width: 30em; margin: 0 auto; }
.research-grid { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.research-grid li { padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.res-num { font-size: 2.6rem; font-weight: 900; color: #C93A25; }
.res-lab { color: var(--ink-2); }
.res-src { color: var(--muted); font-size: .85rem; font-style: normal; }

/* ── Sandy simulator ── */
.sim { background: linear-gradient(180deg, var(--bg), #FFF8EA 50%, var(--bg)); }
.sim-card { max-width: 640px; margin: 0 auto; padding: 28px; }
.sim-stage { display: grid; grid-template-columns: 150px 1fr; gap: 24px; align-items: center; }
.sim-sandy { width: 150px; height: 190px; object-fit: contain; transform-origin: 50% 98%; transition: transform .25s ease; }
.sim-state { font-size: 1.6rem; font-weight: 900; }
.sim-state-sub { color: var(--muted); margin-top: 2px; min-height: 3em; }
.meter { height: 14px; border-radius: 999px; background: #F1EAD8; overflow: hidden; margin-top: 14px; }
.meter-fill { height: 100%; width: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--sand-light), var(--sand)); transition: width .2s ease, background .2s; }
.meter-fill.draining { background: linear-gradient(90deg, #F6B45A, #EE8B3A); }
.meter-fill.low { background: linear-gradient(90deg, #FF8A6E, var(--coral)); }
.sim-pct { margin-top: 8px; font-size: 1.1rem; color: var(--ink-2); }
.sim-pct strong { font-size: 2rem; color: var(--ink); }
.sim-label { display: block; margin-top: 26px; font-weight: 800; }
.sim-label strong { color: #C93A25; }
#simRange { width: 100%; margin-top: 12px; accent-color: var(--coral); height: 32px; }
.sim-scale { display: flex; justify-content: space-between; color: var(--muted); font-size: .85rem; }
.sim-refill { margin-top: 18px; background: var(--leaf-soft); color: #0A5C38; border-radius: 14px; padding: 12px 16px; font-weight: 800; }
.sim-rule { margin-top: 14px; color: var(--muted); font-size: .95rem; }

/* ── How ── */
.how-grid { list-style: none; padding: 0; margin: 0 auto; max-width: var(--max); display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.how-grid li { padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.how-shot { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); height: 400px; margin-bottom: 10px; }
/* The challenge and reason screens sit mid-screen: crop to the middle, not the empty top. */
.how-shot img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.how-grid li:first-child .how-shot img { object-position: top; }
.step-n {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sand-soft); color: #9A5B00; font-weight: 900;
}
.how-grid strong { font-size: 1.15rem; font-weight: 900; }
.how-grid span:not(.step-n) { color: var(--muted); }

/* ── Features ── */
.feature-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { padding: 24px 24px 0; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.feature p:not(.feature-tag) { color: var(--ink-2); }
.feature-tag { font-weight: 900; color: var(--leaf-ink); font-size: .9rem; }
.phone-sm { width: 78%; margin: 12px auto -40px; border-bottom: 0; border-radius: 28px 28px 0 0; box-shadow: var(--shadow); }

/* ── Android ── */
.android-inner { max-width: 940px; margin: 0 auto; padding: 32px; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.android-copy p { margin: 12px 0 22px; color: var(--ink-2); font-size: 1.08rem; }
.qr { margin: 0; text-align: center; }
.qr img { width: 160px; height: 160px; border-radius: 14px; border: 1px solid var(--line); }
.qr figcaption { margin-top: 8px; color: var(--muted); font-size: .9rem; max-width: 170px; }

/* ── Pricing ── */
.pricing-grid { max-width: 820px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.price-card { padding: 28px; display: flex; flex-direction: column; position: relative; }
.price-card h3 { font-size: 1.5rem; }
.price { margin: 8px 0 16px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.price span:first-child { white-space: nowrap; }
.price span:first-child { font-size: 2.4rem; font-weight: 900; }
.per { color: var(--muted); }
.price-card ul { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.price-card li { padding-left: 28px; position: relative; color: var(--ink-2); }
.price-card li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--leaf) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}
.price-pro { border: 2px solid var(--leaf); }
.pro-badge { position: absolute; top: -13px; left: 24px; background: var(--coral); color: #fff; font-weight: 900; font-size: .85rem; padding: 4px 12px; border-radius: 999px; }
.pro-note { margin-top: 10px; color: var(--muted); font-size: .88rem; text-align: center; }

/* ── FAQ ── */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq details { padding: 4px 22px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 900; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--leaf-ink); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 18px; color: var(--ink-2); }

/* ── Final CTA ── */
.final-cta { text-align: center; background: linear-gradient(180deg, var(--bg), var(--sky-top)); padding-bottom: 96px; }
.final-inner { max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.final-sub { color: var(--ink-2); font-size: 1.1rem; }

/* ── Footer ── */
.footer { background: #fff; border-top: 1px solid var(--line); padding: 28px 20px 96px; }
.footer-inner { max-width: var(--max); margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.footer-brand { display: flex; align-items: center; gap: 8px; font-weight: 900; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: var(--ink-2); text-decoration: none; font-weight: 800; }
.footer-copy { margin-left: auto; color: var(--muted); font-size: .9rem; }

/* ── Sticky CTA (phones) ── */
.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
  display: none; align-items: center; gap: 10px; padding: 10px 10px 10px 14px;
  background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg);
  transform: translateY(140%); transition: transform .25s ease;
}
.sticky-cta.show { transform: none; }
.sticky-txt { display: flex; flex-direction: column; line-height: 1.2; flex: 1; min-width: 0; }
.sticky-txt strong { font-weight: 900; }
.sticky-txt span { color: var(--muted); font-size: .85rem; }

/* ── Motion ── */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.float { animation: float 5s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .float { animation: none; }
  .btn, .meter-fill, .sim-sandy, .sticky-cta { transition: none; }
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { height: 470px; max-width: 520px; width: 100%; margin: 0 auto; }
  .phone-back { width: 210px; }
  .phone-front { width: 228px; }
  .feature-grid, .how-grid { grid-template-columns: 1fr; max-width: 520px; }
  .how-shot { height: 340px; }
  .android-inner { grid-template-columns: 1fr; }
  .qr { display: none; }
}
@media (max-width: 720px) {
  section { padding: 56px 16px; }
  .hero { padding: 28px 16px 100px; }
  .nav-links { display: none; }
  .nav-cta span { display: none; }
  .nav-actions { margin-left: auto; }
  .brand { font-size: .98rem; gap: 8px; }
  .trust-grid, .research-grid, .pricing-grid { grid-template-columns: 1fr; }
  .sim-card { padding: 20px; }
  .sim-stage { grid-template-columns: 96px 1fr; gap: 16px; }
  .sim-sandy { width: 96px; height: 124px; }
  .sim-state { font-size: 1.3rem; }
  .sticky-cta { display: flex; }
  .footer-copy { margin-left: 0; }
}
@media (max-width: 400px) {
  .hero-visual { height: 400px; }
  .phone-back { width: 175px; left: 0; }
  .phone-front { width: 192px; right: 0; }
}
.brand img, .footer-brand img, .sticky-cta img { object-fit: contain; }
