* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: #ffffff;
  color: #0a0a0a;
  line-height: 1.65;
}

/* subtle premium background depth */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(0,0,0,0.03), transparent 45%),
    radial-gradient(circle at 80% 20%, rgba(0,0,0,0.02), transparent 40%);
  pointer-events: none;
}

/* =========================
   CONTAINER
========================= */

main {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px 140px;
}

/* =========================
   NAV (minimal SaaS)
========================= */

.menu {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 28px 0;
  font-size: 14px;
}

.menu a {
  text-decoration: none;
  color: rgba(0,0,0,0.65);
  font-weight: 500;
  transition: color .2s ease;
}

.menu a:hover {
  color: #000;
}

.logo {
  margin-right: auto;
}

/* =========================
   HERO (conversion-first)
========================= */

h1 {
  font-size: clamp(46px, 5.8vw, 76px);
  letter-spacing: -0.045em;
  font-weight: 780;
  text-align: center;
  margin-top: 90px;
}

.subtitle {
  max-width: 720px;
  margin: 18px auto 40px;
  text-align: center;
  font-size: 18px;
  color: rgba(0,0,0,0.65);
}

/* PRIMARY CTA */
.blink {
  display: block;
  width: fit-content;
  margin: 0 auto 140px;
  padding: 14px 22px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
  transition: transform .25s ease, box-shadow .25s ease;
}

.blink:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 60px rgba(0,0,0,0.20);
}

/* =========================
   SECTIONS
========================= */

h2 {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 110px 0 55px;
}

h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* =========================
   FEATURES (story UX)
========================= */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-bottom: 110px;
}

.features div {
  text-align: center;
}

.features img {
  width: 100%;
  max-width: 360px;
  height: 240px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
  margin-bottom: 14px;
}

.features p {
  font-size: 14px;
  color: rgba(0,0,0,0.6);
  max-width: 280px;
  margin: 0 auto;
}

/* =========================
   PRICING (SaaS decision engine)
========================= */

.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 140px;
}

.card {
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 22px;
  padding: 34px;
  text-align: center;
  background: #fff;
  transition: transform .25s ease, box-shadow .25s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 80px rgba(0,0,0,0.12);
}

.featured {
  border: 1px solid #111;
  transform: scale(1.05);
  box-shadow: 0 30px 90px rgba(0,0,0,0.15);
}

.badge {
  display: inline-block;
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  margin-bottom: 14px;
}

.describe {
  font-size: 14px;
  color: rgba(0,0,0,0.6);
  margin-bottom: 18px;
}

.pricetag {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 22px;
}

/* CTA buttons (high trust) */
button {
  background: #111;
  color: #fff;
  border: none;
  padding: 13px 20px;
  border-radius: 999px;
  font-size: 14px;
  cursor: pointer;
  transition: transform .2s ease, opacity .2s ease;
}

button:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

/* =========================
   FORM (low friction UX)
========================= */

.download {
  display: flex;
  justify-content: center;
}

.form {
  width: 100%;
  max-width: 540px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

input, textarea {
  padding: 14px;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 14px;
  font-size: 14px;
  transition: border .2s ease;
}

input:focus, textarea:focus {
  border-color: #111;
  outline: none;
}

.submitbtn {
  margin-top: 10px;
  padding: 14px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  border: none;
  cursor: pointer;
}

/* =========================
   FOOTER (minimal trust layer)
========================= */

.footer {
  margin-top: 140px;
  text-align: center;
  font-size: 13px;
  color: rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer a {
  color: rgba(0,0,0,0.6);
  text-decoration: none;
}

.footer a:hover {
  color: #000;
}

.cta {
  text-align: center;
  margin-bottom: 120px;
}

.cta-button {
  display: inline-block;
  padding: 16px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* WhatsApp style (premium, no verde chillón) */
.whatsapp {
  background: #111;
  color: #fff;
  box-shadow: 0 14px 40px rgba(0,0,0,0.15);
}

.whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.cta-sub {
  margin-top: 10px;
  font-size: 13px;
  color: rgba(0,0,0,0.6);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 6px;
  font-size: 13px;
}

.footer-links a {
  color: rgba(0,0,0,0.55);
  text-decoration: none;
  transition: color .2s ease;
}

.footer-links a:hover {
  color: #000;
}

/* =========================
   LEGAL PAGES (trust layer)
========================= */

.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 0 80px;
}

.legal h2 {
  font-size: 20px;
  margin: 40px 0 10px;
  text-align: left;
}

.legal p,
.legal ul {
  font-size: 15px;
  color: rgba(0,0,0,0.7);
  line-height: 1.7;
}

.legal ul {
  padding-left: 18px;
}

.legal li {
  margin-bottom: 6px;
}

/* override main h1 spacing for legal pages */
h1 {
  margin-top: 70px;
}

/* =========================
   CHECKOUT PAGE (conversion focused)
========================= */

.checkout {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

.checkout-card {
  width: 100%;
  max-width: 460px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 22px;
  padding: 36px;
  text-align: center;
  background: #fff;
  box-shadow: 0 30px 90px rgba(0,0,0,0.08);
}

.checkout-list {
  list-style: none;
  margin: 20px 0;
  padding: 0;
  font-size: 14px;
  color: rgba(0,0,0,0.7);
}

.checkout-list li {
  margin-bottom: 8px;
}

.checkout-btn {
  margin-top: 18px;
  width: 100%;
  padding: 14px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  border: none;
  font-size: 14px;
  cursor: pointer;
  transition: transform .2s ease, opacity .2s ease;
}

.checkout-btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.secure-note {
  margin-top: 12px;
  font-size: 12px;
  color: rgba(0,0,0,0.5);
}

.cookie-banner {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(720px, calc(100% - 24px));
  background: #111;
  color: #fff;
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  z-index: 9999;
}

.cookie-banner.hidden {
  display: none;
}

.cookie-content p {
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 12px;
  color: rgba(255,255,255,0.85);
}

.cookie-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 8px;
}

.cookie-actions button {
  border: none;
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 13px;
  cursor: pointer;
}

#accept-cookies {
  background: #fff;
  color: #111;
}

#reject-cookies {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

.cookie-link {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  text-decoration: underline;
}

.cookie-link:hover {
  color: #fff;
}

.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
}

.cookie-options label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.cookie-actions button {
  border: none;
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 13px;
  cursor: pointer;
}

#save-cookies {
  background: #fff;
  color: #111;
}

.secondary {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

select {
  padding: 14px;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 14px;
  font-size: 14px;
  background: white;
  color: rgba(0,0,0,0.8);
}

.onboarding-card {
  max-width: 520px;
  margin: 60px auto;
  padding: 30px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 20px;
  text-align: center;
  background: #fff;
  box-shadow: 0 30px 90px rgba(0,0,0,0.08);
}

#plan-box {
  margin: 20px 0;
  font-size: 14px;
  color: rgba(0,0,0,0.7);
}

/* =========================
   RESPONSIVE (critical SaaS)
========================= */

@media (max-width: 900px) {
  .features,
  .pricing {
    grid-template-columns: 1fr;
  }

  h1 {
    margin-top: 70px;
  }

  .menu {
    flex-wrap: wrap;
  }

  .logo {
    margin-right: 0;
  }
}