:root {
  --slate: #414f55;
  --slate-dark: #37444a;
  --slate-tint: #dce1e2;
  --slate-darkest: #262f33;
  --gold: #d6a94a;
  --gold-bright: #e8c274;
  --cream: #f7f3ec;
  --white: #ffffff;
  --ink: #1c2320;
  --ink-muted: #5c6864;
  --line: #e6e0d3;
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Manrope", -apple-system, "Segoe UI", sans-serif;
  --max: 1560px;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream) 72%, var(--slate) 90%, var(--slate-dark) 100%);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.5;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; margin: 0; color: var(--ink); }
p { margin: 0; }
section { position: relative; }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  margin: 0 0 0.75rem;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: #241a06; }
.btn-gold:hover { background: var(--gold-bright); box-shadow: 0 8px 20px rgba(214, 169, 74, 0.35); }
.btn-outline { border-color: rgba(255,255,255,0.55); color: inherit; }
.btn-dark { background: var(--slate-dark); color: var(--white); }
.btn-dark:hover { background: var(--slate); }
.btn-sm { padding: 0.6rem 1.1rem; font-size: 0.85rem; }

/* ---------- header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(120deg, var(--slate) 0%, var(--slate-dark) 60%, var(--slate-darkest) 100%);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.brand { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }
.brand-logo { width: 34px; height: 34px; border-radius: 9px; }
.brand-name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--white); }
.nav { display: flex; gap: 1.6rem; margin: 0 auto; }
.nav a { color: rgba(255,255,255,0.82); font-size: 0.92rem; font-weight: 500; }
.nav a:hover { color: var(--gold-bright); }
.header-actions { display: flex; align-items: center; gap: 1.1rem; flex-shrink: 0; }
.link-login { color: var(--white); font-size: 0.9rem; font-weight: 600; }
.link-login:hover { color: var(--gold-bright); }
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
}
.menu-toggle span { width: 22px; height: 2px; background: var(--white); border-radius: 2px; }
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.5rem 1.5rem 1.2rem;
  background: var(--slate-dark);
}
.nav-mobile a { color: rgba(255,255,255,0.9); padding: 0.7rem 0; font-weight: 500; border-bottom: 1px solid rgba(255,255,255,0.08); }
.nav-mobile .link-login-mobile { color: var(--gold-bright); font-weight: 700; }
.nav-mobile .btn { margin-top: 0.8rem; width: 100%; }
.nav-mobile.open { display: flex; }

/* ---------- hero ---------- */
.hero { padding: 3rem 1.5rem 0; }
.hero-copy { position: relative; transform: rotate(-0.5deg); }
.hero-tagline { margin-left: 0.5rem; }
.hero-sub { margin-left: 0.2rem; }
.hero-blob {
  position: absolute;
  top: -3.5rem;
  left: -2.5rem;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(214,169,74,0.22), rgba(214,169,74,0) 70%);
  z-index: -1;
  pointer-events: none;
}
.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--slate-dark);
  margin-bottom: 0.6rem;
}
.hero-tagline { font-family: var(--font-display); font-size: clamp(1.5rem, 2.8vw, 2rem); font-weight: 400; line-height: 1.25; color: var(--ink); margin-bottom: 1.1rem; max-width: 640px; }
.gold { color: var(--gold); }
.hero-sub { font-size: 1.05rem; color: var(--ink-muted); max-width: 600px; margin-bottom: 1.8rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 1.8rem; }
.hero .btn-outline { border-color: var(--slate); color: var(--slate-dark); }
.hero .btn-outline:hover { background: var(--slate-tint); }

.download-mini { display: flex; align-items: center; gap: 0.9rem; flex-wrap: wrap; }
.download-label { font-size: 0.82rem; font-weight: 700; color: var(--ink-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.store-badges { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.store-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.9rem;
  border-radius: 10px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.78rem;
  opacity: 0.55;
  cursor: default;
  position: relative;
}
.store-badge svg { width: 18px; height: 18px; flex-shrink: 0; }
.store-badge .store-text { display: flex; flex-direction: column; line-height: 1.15; }
.store-badge .store-text small { font-size: 0.62rem; opacity: 0.75; }
.store-badge .store-text strong { font-size: 0.85rem; font-weight: 700; }
.store-badge.soon::after {
  content: "Próximamente";
  position: absolute;
  bottom: -1.15rem;
  left: 0;
  font-size: 0.65rem;
  color: var(--ink-muted);
  white-space: nowrap;
}
.store-badges-lg { justify-content: center; margin-top: 2.2rem; padding-bottom: 1rem; }
.store-badges-lg .store-badge { padding: 0.7rem 1.2rem; }

/* device mockups */
.hero-visual { position: relative; min-height: 320px; padding: 2.5rem 2rem; transform: rotate(-0.8deg); }
.hero-visual-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 28px;
  overflow: hidden;
  background-image: url('https://images.unsplash.com/photo-1616486338812-3dadae4b4ace?auto=format&fit=crop&w=1400&q=80');
  background-size: cover;
  background-position: center;
}
.hero-visual-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(38,47,51,0.05), rgba(38,47,51,0.3));
}
.hero-visual .device { position: relative; z-index: 1; }
.device-laptop {
  max-width: 420px;
  margin: 0 auto;
  background: var(--slate-darkest);
  border-radius: 14px 14px 4px 4px;
  padding: 10px 10px 18px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.55);
  transform: perspective(1400px) rotateY(-4deg) rotateX(1.5deg);
}
.device-laptop::after {
  content: "";
  display: block;
  height: 6px;
  width: 70px;
  margin: 10px auto 0;
  background: var(--slate-dark);
  border-radius: 3px;
}
.device-laptop .device-screen { border-radius: 6px; overflow: hidden; background: var(--white); }
.device-laptop .device-screen img { width: 100%; display: block; }

.device-phone {
  position: absolute;
  right: 2%;
  bottom: -6%;
  width: 26%;
  min-width: 120px;
  background: var(--slate-darkest);
  border-radius: 26px;
  padding: 10px;
  box-shadow: 0 25px 45px -18px rgba(38,47,51,0.5);
  border: 1px solid rgba(255,255,255,0.06);
  transform: rotate(4deg);
  z-index: 2;
}
.device-phone .device-screen { border-radius: 16px; overflow: hidden; background: var(--white); aspect-ratio: 9/19.5; }
.device-phone .device-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* icon strip */
.icon-strip {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.icon-item { display: flex; gap: 0.85rem; align-items: flex-start; }
.icon-badge {
  width: 48px; height: 48px; flex-shrink: 0;
  border-radius: 50%;
  background: rgba(214, 169, 74, 0.18);
  color: var(--slate-dark);
  display: flex; align-items: center; justify-content: center;
}
.icon-badge svg { width: 22px; height: 22px; }
.icon-item strong { font-size: 0.95rem; }
.icon-item p { font-size: 0.85rem; color: var(--ink-muted); margin-top: 0.15rem; }

/* ---------- generic sections ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: 3.4rem 1.5rem; border-top: 1px solid rgba(65,79,85,0.12); }
.section:first-of-type { border-top: none; }
.section-head { text-align: center; max-width: 820px; margin: 0 auto 2.2rem; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 500; }
.section-sub { color: var(--ink-muted); margin-top: 0.9rem; font-size: 1.02rem; }

/* audience cards */
.audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8rem; }
.audience-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.audience-photo { height: 200px; background-size: cover; background-position: center; }
.audience-body { padding: 1.8rem; display: flex; flex-direction: column; align-items: flex-start; gap: 0.6rem; }
.tag { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.audience-body h3 { font-size: 1.3rem; font-weight: 600; }
.audience-body p { color: var(--ink-muted); font-size: 0.95rem; }
.audience-body .btn { margin-top: 0.5rem; }

/* features */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
.feature-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  text-align: left;
}
.feature-card .icon-badge { margin-bottom: 1rem; }
.feature-card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.3rem; }
.feature-card p { font-size: 0.88rem; color: var(--ink-muted); }

/* showcase */
.showcase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.showcase-item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 20px 40px -28px rgba(10, 40, 30, 0.35);
}
.showcase-item img { width: 100%; }
.showcase-item figcaption {
  padding: 0.8rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--slate-dark);
}

/* how it works */
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.how-step { text-align: center; padding: 0 0.5rem; }
.how-num { font-family: var(--font-display); font-size: 2.2rem; color: var(--slate-tint); -webkit-text-stroke: 1.5px var(--slate); display: block; margin-bottom: 0.6rem; }
.how-step h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.4rem; }
.how-step p { color: var(--ink-muted); font-size: 0.92rem; }

/* pricing */
.pricing-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 3rem 2rem;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.pricing-card h2 { font-size: 1.9rem; margin-bottom: 0.8rem; }
.pricing-card .section-sub { margin-bottom: 1.8rem; }

/* download */
.download { text-align: center; }

/* final CTA */
.cta-final {
  color: var(--white);
  padding: 6.5rem 1.5rem;
  overflow: hidden;
}
.cta-final-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.95fr 1.3fr;
  align-items: center;
  gap: 2rem;
}
.cta-final .eyebrow { color: var(--gold-bright); font-size: 0.9rem; }
.cta-final-copy h2 { color: var(--white); font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1.1; margin-bottom: 1.2rem; }
.cta-final-sub { color: rgba(255,255,255,0.75); font-size: 1.15rem; max-width: 460px; margin-bottom: 2.2rem; }
.cta-mark {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  justify-self: center;
  mix-blend-mode: screen;
}

/* footer */
.footer { color: rgba(255,255,255,0.75); padding: 3rem 1.5rem 1.4rem; }
.footer-inner { max-width: var(--max); margin: 0 auto; display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding-bottom: 2.4rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand { display: flex; gap: 0.8rem; align-items: center; }
.footer-brand .brand-name { color: var(--white); display: block; }
.footer-brand p { font-size: 0.85rem; margin-top: 0.2rem; }
.footer-cols { display: flex; gap: 3.5rem; }
.footer-col h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.5); margin-bottom: 0.8rem; }
.footer-col a { display: block; font-size: 0.9rem; margin-bottom: 0.55rem; color: rgba(255,255,255,0.8); }
.footer-col a:hover { color: var(--gold-bright); }
.footer-bottom { max-width: var(--max); margin: 1.4rem auto 0; font-size: 0.8rem; color: rgba(255,255,255,0.5); }

/* reveal animation */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .nav { display: none; }
  .menu-toggle { display: flex; }
  .link-login { display: none; }
  .header-actions .btn-sm { display: none; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { margin-top: 2.5rem; }
  .device-phone { right: 4%; }
  .icon-strip { grid-template-columns: repeat(2, 1fr); }
  .audience-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase-grid { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .footer-inner { flex-direction: column; }
  .cta-final-inner { grid-template-columns: 1fr; text-align: center; }
  .cta-final-copy { display: flex; flex-direction: column; align-items: center; }
  .cta-mark { max-width: 180px; order: -1; }
}

@media (max-width: 560px) {
  .header-inner { padding: 0.8rem 1.1rem; }
  .hero { padding: 2.4rem 1.1rem 0; }
  .section { padding: 3.6rem 1.1rem; }
  .device-phone { width: 34%; right: 2%; }
}
