:root {
  /* Paleta teal/aqua — alineada con el icono de MyBitacora */
  --teal-50:  #F1FAFA;
  --teal-100: #DCF2F2;
  --teal-200: #B8E5E5;
  --teal-300: #7DD3D3;
  --teal-400: #4FB8B8;
  --teal-500: #2C9A9A;
  --teal-600: #1F7A7A;
  --teal-700: #155555;
  --teal-900: #0B2E2E;

  --cyan-bright: #5DD8E2;
  --mint:        #6FE3C6;
  --coral:       #FF8A65;

  --teal:         var(--teal-500);
  --teal-deep:    var(--teal-700);
  --teal-light:   var(--teal-400);
  --teal-surface: var(--teal-50);

  --surface-warm: #FBFAF7;
  --surface-card: #ffffff;
  --on-surface: #0F1F1F;
  --on-surface-muted: #5A6A6A;
  --border: rgba(15, 31, 31, 0.08);
  --border-strong: rgba(15, 31, 31, 0.14);

  --movie: #DC2626;
  --series: #9333EA;
  --documentary: #0D9488;
  --book: #059669;
  --audiobook: #6366F1;
  --podcast: #EA580C;
  --game: #0891B2;

  --shadow-sm:   0 1px 2px rgba(11, 46, 46, 0.05);
  --shadow-md:   0 6px 18px rgba(11, 46, 46, 0.08);
  --shadow-lg:   0 24px 48px rgba(31, 122, 122, 0.18);
  --shadow-glow: 0 24px 60px rgba(44, 154, 154, 0.32);

  --grad-hero:    radial-gradient(60% 80% at 20% 0%, rgba(125, 211, 211, 0.35), transparent 60%),
                  radial-gradient(50% 60% at 100% 20%, rgba(93, 216, 226, 0.28), transparent 60%),
                  radial-gradient(40% 60% at 50% 100%, rgba(111, 227, 198, 0.18), transparent 60%),
                  linear-gradient(180deg, #F1FAFA 0%, #FBFAF7 100%);
  --grad-cta:     linear-gradient(135deg, var(--teal-400), var(--teal-600));
  --grad-cta-hover: linear-gradient(135deg, var(--teal-500), var(--teal-700));
  --grad-text:    linear-gradient(135deg, var(--teal-500), var(--cyan-bright));
  --grad-card-dark: linear-gradient(140deg, #0F4747 0%, #1F7A7A 55%, #2C9A9A 100%);
  --grad-card-light: linear-gradient(160deg, #FFFFFF 0%, #F1FAFA 100%);
}

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

html { scroll-behavior: smooth; }

/* ---------- REVEAL ON SCROLL ----------
   Las secciones marcadas con .reveal empiezan invisibles y se desvelan
   cuando entran en el viewport (clase .is-visible aplicada vía JS).
   Respeta prefers-reduced-motion: nunca anima. */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--surface-warm);
  color: var(--on-surface);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--teal-600); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--teal-700); text-decoration: underline; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

::selection {
  background: var(--teal-200);
  color: var(--teal-900);
}

/* ---------- NAV ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 247, 0.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.5px;
  color: var(--teal-deep);
}
.brand-mark {
  width: 32px;
  height: 32px;
  background: var(--teal);
  color: white;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -1px;
}
.brand-mark-img {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: block;
  box-shadow: 0 4px 14px rgba(44, 154, 154, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.brand:hover .brand-mark-img {
  transform: rotate(-4deg) scale(1.04);
  box-shadow: 0 8px 22px rgba(44, 154, 154, 0.42);
}
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  color: var(--on-surface);
  font-weight: 600;
  font-size: 14px;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--teal-600); text-decoration: none; }
.nav-cta {
  background: var(--grad-cta);
  color: white !important;
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 6px 16px rgba(44, 154, 154, 0.32);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(44, 154, 154, 0.42);
  text-decoration: none;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: 96px 0 72px;
  text-align: center;
  background: var(--grad-hero);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  /* onda de sonido decorativa (matching audio waveform aesthetic) */
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 140px;
  background:
    radial-gradient(2px 40px at 5% 70%,  rgba(44, 154, 154, 0.35), transparent 70%),
    radial-gradient(2px 70px at 12% 60%, rgba(44, 154, 154, 0.30), transparent 70%),
    radial-gradient(2px 30px at 18% 75%, rgba(44, 154, 154, 0.28), transparent 70%),
    radial-gradient(2px 90px at 26% 50%, rgba(93, 216, 226, 0.32), transparent 70%),
    radial-gradient(2px 50px at 34% 65%, rgba(44, 154, 154, 0.28), transparent 70%),
    radial-gradient(2px 110px at 42% 40%, rgba(93, 216, 226, 0.35), transparent 70%),
    radial-gradient(2px 60px at 50% 60%, rgba(44, 154, 154, 0.30), transparent 70%),
    radial-gradient(2px 90px at 58% 50%, rgba(93, 216, 226, 0.32), transparent 70%),
    radial-gradient(2px 40px at 66% 70%, rgba(44, 154, 154, 0.28), transparent 70%),
    radial-gradient(2px 80px at 74% 55%, rgba(44, 154, 154, 0.30), transparent 70%),
    radial-gradient(2px 50px at 82% 65%, rgba(93, 216, 226, 0.28), transparent 70%),
    radial-gradient(2px 100px at 90% 45%, rgba(44, 154, 154, 0.32), transparent 70%);
  pointer-events: none;
  opacity: 0.55;
  z-index: -1;
}
.hero::after {
  /* halo difuso detrás del headline */
  content: '';
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 720px;
  height: 320px;
  background: radial-gradient(closest-side, rgba(93, 216, 226, 0.22), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
  z-index: -1;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--teal-deep);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
  margin-bottom: 28px;
  border: 1px solid rgba(44, 154, 154, 0.18);
  box-shadow: var(--shadow-sm);
}
.eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan-bright);
  box-shadow: 0 0 0 4px rgba(93, 216, 226, 0.22);
}
.hero h1 {
  font-size: clamp(38px, 6.4vw, 64px);
  font-weight: 800;
  letter-spacing: -1.8px;
  line-height: 1.04;
  max-width: 820px;
  margin: 0 auto 22px;
}
.hero h1 em {
  font-style: normal;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead {
  font-size: 18px;
  color: var(--on-surface-muted);
  max-width: 620px;
  margin: 0 auto 40px;
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 24px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--grad-cta);
  color: white;
  box-shadow: 0 10px 24px rgba(44, 154, 154, 0.34);
}
.btn-primary:hover {
  background: var(--grad-cta-hover);
  box-shadow: 0 16px 36px rgba(44, 154, 154, 0.44);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.85);
  color: var(--teal-deep);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover {
  background: white;
  border-color: var(--teal-400);
  box-shadow: var(--shadow-md);
}

.hero-phones {
  margin-top: 72px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  perspective: 1400px;
  flex-wrap: wrap;
  position: relative;
}
.hero-phones::before {
  content: '';
  position: absolute;
  width: 70%;
  height: 70%;
  background: radial-gradient(closest-side, rgba(44, 154, 154, 0.22), transparent 70%);
  filter: blur(40px);
  z-index: -1;
}
.phone-img {
  width: 270px;
  max-width: 80%;
  height: auto;
  border-radius: 38px;
  box-shadow: var(--shadow-glow);
  border: 1px solid rgba(255, 255, 255, 0.6);
  transition: transform 0.3s ease;
}
.phone-img-right {
  transform: rotateY(-7deg) translateY(10px);
}
.phone-img-left {
  transform: rotateY(7deg);
}
.phone-img:hover {
  transform: rotateY(0deg) translateY(-6px);
}
@media (max-width: 720px) {
  .phone-img { width: 210px; }
  .phone-img-right, .phone-img-left { transform: none; }
}

/* ---------- SECTION ---------- */
section { padding: 96px 0; }
.section-title {
  text-align: center;
  font-size: clamp(28px, 4.4vw, 44px);
  font-weight: 800;
  letter-spacing: -1.2px;
  margin-bottom: 14px;
  line-height: 1.1;
}
.section-lead {
  text-align: center;
  font-size: 17px;
  color: var(--on-surface-muted);
  max-width: 620px;
  margin: 0 auto 56px;
  line-height: 1.55;
}

/* ---------- HOW IT WORKS ---------- */
.how-section {
  background: white;
}
.how-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1000px;
  margin-inline: auto;
  counter-reset: how;
}
@media (max-width: 820px) {
  .how-steps { grid-template-columns: 1fr; gap: 20px; }
}
.how-step {
  position: relative;
  padding: 30px 26px 26px;
  background: var(--grad-card-light);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.how-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.how-step__num {
  position: absolute;
  top: -18px;
  left: 22px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--grad-cta);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  box-shadow: 0 8px 22px rgba(44, 154, 154, 0.32);
}
.how-step h3 {
  margin: 6px 0 10px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: var(--on-surface);
}
.how-step p {
  color: var(--on-surface-muted);
  font-size: 14.5px;
  line-height: 1.6;
}

/* ---------- CATEGORIES ---------- */
#categorias { background: linear-gradient(180deg, var(--surface-warm) 0%, var(--teal-50) 100%); }
.categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
}
.cat {
  position: relative;
  background: var(--surface-card);
  border-radius: 22px;
  padding: 28px 22px;
  border: 1px solid var(--border);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  overflow: hidden;
}
.cat::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(44, 154, 154, 0.05), transparent 40%);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.cat:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(44, 154, 154, 0.25);
}
.cat:hover::before { opacity: 1; }
.cat-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  box-shadow: 0 8px 20px rgba(15, 31, 31, 0.18);
  position: relative;
  z-index: 1;
}
.cat-movie { background: linear-gradient(135deg, #EF4444, var(--movie)); }
.cat-series { background: linear-gradient(135deg, #A855F7, var(--series)); }
.cat-doc { background: linear-gradient(135deg, #14B8A6, var(--documentary)); }
.cat-book { background: linear-gradient(135deg, #10B981, var(--book)); }
.cat-audiobook { background: linear-gradient(135deg, #818CF8, var(--audiobook)); }
.cat-podcast { background: linear-gradient(135deg, #FB923C, var(--podcast)); }
.cat-game { background: linear-gradient(135deg, #06B6D4, var(--game)); }
.cat h3 { font-size: 16px; margin-bottom: 4px; position: relative; z-index: 1; }
.cat p { font-size: 13px; color: var(--on-surface-muted); position: relative; z-index: 1; }

/* ---------- FEATURES ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.feature {
  position: relative;
  background: var(--surface-card);
  border-radius: 22px;
  padding: 30px;
  border: 1px solid var(--border);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  overflow: hidden;
}
.feature::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: radial-gradient(closest-side, rgba(93, 216, 226, 0.16), transparent 70%);
  pointer-events: none;
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(44, 154, 154, 0.22);
}
.feature h3 {
  font-size: 18px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 1;
}
.feature h3 span {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--teal-100), var(--teal-200));
  color: var(--teal-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: inset 0 0 0 1px rgba(44, 154, 154, 0.18);
}
.feature p { color: var(--on-surface-muted); font-size: 14.5px; line-height: 1.65; position: relative; z-index: 1; }

/* ---------- GALLERY ---------- */
.gallery-section {
  background: linear-gradient(180deg, white 0%, var(--teal-50) 100%);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 980px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .gallery-grid { grid-template-columns: 1fr; max-width: 320px; }
}
.gallery-item {
  margin: 0;
  text-align: center;
  transition: transform 0.25s ease;
}
.gallery-item:hover { transform: translateY(-6px); }
.gallery-item img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(11, 46, 46, 0.14);
  border: 1px solid var(--border);
  background: white;
  display: block;
}
.gallery-item figcaption {
  margin-top: 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--teal-deep);
  letter-spacing: 0.2px;
}

/* ---------- COMPARE ---------- */
.compare-wrap {
  max-width: 760px;
  margin: 0 auto 40px;
  overflow-x: auto;
  background: white;
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
}
.compare {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14.5px;
}
.compare thead th {
  background: var(--teal-50);
  color: var(--teal-deep);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}
.compare th[scope="col"]:first-child { width: 50%; }
.compare-col-free, .compare-col-premium { text-align: center; }
.compare-col-premium { color: var(--teal-600); }
.compare tbody th {
  font-weight: 600;
  padding: 12px 18px;
  border-top: 1px solid var(--border);
  color: var(--on-surface);
}
.compare tbody td {
  text-align: center;
  padding: 12px 18px;
  border-top: 1px solid var(--border);
  font-weight: 800;
  color: var(--on-surface-muted);
  font-size: 16px;
}
.compare tbody td:last-child { color: var(--teal-500); }
.compare tbody tr:hover { background: var(--teal-50); }
.plans-subtitle {
  text-align: center;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--on-surface);
  margin: 16px 0 24px;
}

/* ---------- PRICING ---------- */
.pricing-section {
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(125, 211, 211, 0.22), transparent 70%),
    linear-gradient(180deg, var(--surface-warm) 0%, white 100%);
}
.price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 920px;
  margin: 0 auto;
}
@media (max-width: 720px) {
  .price-grid { grid-template-columns: 1fr; }
}
.price-card {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
  background: var(--grad-card-dark);
  color: white;
  border-radius: 30px;
  padding: 40px 36px;
  box-shadow: var(--shadow-glow);
  text-align: center;
  width: 100%;
  overflow: hidden;
}
.price-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 280px;
  height: 280px;
  background: radial-gradient(closest-side, rgba(93, 216, 226, 0.35), transparent 70%);
  pointer-events: none;
}
.price-card--secondary {
  background: var(--grad-card-light);
  color: var(--on-surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.price-card--secondary::before {
  background: radial-gradient(closest-side, rgba(93, 216, 226, 0.22), transparent 70%);
}
.price-card--featured {
  position: relative;
  transform: translateY(-8px);
}
.price-card--featured::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 32px;
  padding: 2px;
  background: linear-gradient(135deg, var(--cyan-bright), var(--mint), var(--teal-400));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
@media (max-width: 720px) {
  .price-card--featured { transform: none; }
}
.price-includes {
  max-width: 740px;
  margin: 56px auto 0;
  text-align: center;
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
}
.price-includes h3 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 18px;
}
.includes-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 28px;
  max-width: 560px;
  margin: 0 auto 24px;
  padding: 0;
  list-style: none;
}
@media (max-width: 520px) {
  .includes-list { grid-template-columns: 1fr; }
}
.includes-list li {
  padding: 6px 0;
  font-size: 14px;
  color: var(--on-surface);
  display: flex;
  align-items: center;
}
.includes-list li::before {
  content: '✓';
  color: white;
  background: var(--grad-cta);
  font-weight: 800;
  margin-right: 10px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}
.free-note {
  font-size: 14px;
  color: var(--on-surface-muted);
  line-height: 1.6;
  margin-top: 16px;
}

/* ---------- STORE BUTTONS ---------- */
.store-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}
.store-buttons--hero {
  margin-top: 40px;
}
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  border-radius: 14px;
  font-family: inherit;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  min-width: 200px;
}
.store-btn:hover { text-decoration: none; }
.store-btn__icon {
  font-size: 26px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.store-btn__text {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
}
.store-btn__small {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.4px;
  opacity: 0.85;
}
.store-btn__big {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.3px;
}
.store-btn--apple,
.store-btn--google {
  background: #000;
  color: white;
  box-shadow: var(--shadow-md);
}
.store-btn--apple:hover,
.store-btn--google:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: white;
}
.store-btn--google .store-btn__icon svg { display: block; }
.store-btn--soon {
  background: var(--surface-card);
  color: var(--on-surface-muted);
  border: 1px dashed var(--border-strong);
  cursor: default;
}
.store-btn--soon .store-btn__small { opacity: 1; color: var(--teal-600); font-weight: 800; text-transform: uppercase; }

.price-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.price-card--secondary .price-badge {
  background: var(--teal-100);
  color: var(--teal-deep);
  border-color: rgba(44, 154, 154, 0.22);
}
.price-amount {
  font-size: 68px;
  font-weight: 800;
  letter-spacing: -2.4px;
  line-height: 1;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}
.price-period { opacity: 0.86; font-size: 15px; margin-bottom: 24px; position: relative; z-index: 1; }
.price-features { text-align: left; margin: 28px 0; position: relative; z-index: 1; }
.price-features li {
  list-style: none;
  padding: 9px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
}
.price-features li::before {
  content: '✓';
  background: rgba(255, 255, 255, 0.22);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 12px;
  flex-shrink: 0;
}
.price-card--secondary .price-features li::before {
  background: var(--teal-100);
  color: var(--teal-deep);
}
.btn-white {
  background: white;
  color: var(--teal-deep);
  width: 100%;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}
.btn-white:hover {
  background: var(--teal-50);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}
.price-card--secondary .btn-white {
  background: var(--grad-cta);
  color: white;
  box-shadow: 0 8px 20px rgba(44, 154, 154, 0.32);
}
.price-card--secondary .btn-white:hover {
  background: var(--grad-cta-hover);
}

/* ---------- FAQ ---------- */
.faq-section { background: white; }
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--grad-card-light);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 0;
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.faq-item[open] {
  border-color: var(--teal-300);
  box-shadow: var(--shadow-md);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 56px 18px 22px;
  font-weight: 700;
  font-size: 16px;
  color: var(--on-surface);
  position: relative;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--teal-50);
  color: var(--teal-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  transition: transform 0.2s ease, background 0.2s ease;
}
.faq-item[open] summary::after {
  content: '−';
  background: var(--grad-cta);
  color: white;
  transform: translateY(-50%) rotate(180deg);
}
.faq-answer {
  padding: 0 22px 20px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--on-surface-muted);
}
.faq-answer a {
  color: var(--teal-600);
  font-weight: 600;
}

/* ---------- DOWNLOAD / CTA section ---------- */
#descarga {
  background: linear-gradient(180deg, white 0%, var(--teal-50) 100%);
}
#descarga form {
  max-width: 460px;
  margin: 0 auto;
  display: flex;
  gap: 10px;
  background: white;
  padding: 8px;
  border-radius: 16px;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-md);
}
#descarga input[type="email"] {
  flex: 1;
  padding: 14px 18px;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-family: inherit;
  background: transparent;
  outline: none;
  color: var(--on-surface);
}
#descarga input[type="email"]::placeholder {
  color: var(--on-surface-muted);
}

/* ---------- FOOTER ---------- */
.footer {
  background: linear-gradient(180deg, var(--teal-900) 0%, #051818 100%);
  color: white;
  padding: 64px 0 28px;
  margin-top: 0;
}
.footer .container { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; }
.footer h4 {
  font-size: 12px;
  margin-bottom: 16px;
  letter-spacing: 1.2px;
  opacity: 0.55;
  text-transform: uppercase;
  font-weight: 800;
}
.footer ul { list-style: none; }
.footer ul li { padding: 6px 0; font-size: 14px; }
.footer a { color: white; opacity: 0.72; transition: opacity 0.15s ease; }
.footer a:hover { opacity: 1; text-decoration: none; color: var(--cyan-bright); }
.footer .brand { color: white; }
.footer-tagline {
  opacity: 0.6;
  font-size: 13px;
  max-width: 280px;
  line-height: 1.55;
}
.footer-badges {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-stores {
  display: flex;
  gap: 8px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.footer-store-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: white !important;
  opacity: 0.92 !important;
  font-size: 13px;
  font-weight: 700;
  transition: background 0.15s ease, transform 0.15s ease;
}
.footer-store-link:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
  text-decoration: none;
  color: white !important;
}
.heart-pulse {
  display: inline-block;
  animation: heartPulse 1.6s ease-in-out infinite;
}
@keyframes heartPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}
@media (max-width: 820px) {
  .footer .container { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .footer .container { grid-template-columns: 1fr; }
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 36px;
  padding-top: 22px;
  text-align: center;
  font-size: 13px;
  opacity: 0.55;
}
.attribution {
  margin-top: 36px;
  padding: 22px 24px 0;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-size: 11.5px;
  line-height: 1.65;
  opacity: 0.5;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.attribution p { margin: 6px 0; }
.attribution a {
  color: white;
  opacity: 0.85;
  text-decoration: underline;
}

/* ---------- LEGAL PAGE ---------- */
.legal {
  max-width: 740px;
  margin: 0 auto;
  padding: 72px 24px 96px;
}
.legal h1 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -1.2px;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}
.legal .updated {
  color: var(--on-surface-muted);
  font-size: 14px;
  margin-bottom: 40px;
}
.legal h2 {
  font-size: 22px;
  margin-top: 40px;
  margin-bottom: 14px;
  font-weight: 800;
  color: var(--teal-deep);
}
.legal h3 {
  font-size: 16px;
  margin-top: 24px;
  margin-bottom: 8px;
  font-weight: 700;
}
.legal p, .legal li {
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 12px;
  color: #1F2A2A;
}
.legal ul, .legal ol { padding-left: 24px; }
.legal a { color: var(--teal-600); }
.legal a:hover { color: var(--teal-700); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 720px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-cta { display: inline-block; }
  .hero { padding: 64px 0 48px; }
  section { padding: 72px 0; }
  .footer .container { grid-template-columns: 1fr 1fr; }
  .price-card { padding: 32px 24px; }
  .price-amount { font-size: 56px; }
}

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

/* ---------- COOKIE BANNER ---------- */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border: 1px solid rgba(44, 154, 154, 0.22);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(11, 46, 46, 0.22);
  padding: 18px 22px;
  max-width: 880px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.28s ease, transform 0.28s ease;
}
.cookie-banner--visible {
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-banner__content { flex: 1 1 320px; min-width: 0; }
.cookie-banner__title {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--teal-deep);
  letter-spacing: -0.2px;
}
.cookie-banner__desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--on-surface-muted);
  margin: 0;
}
.cookie-banner__desc a {
  color: var(--teal-600);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-banner__btn {
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  padding: 11px 20px;
  border-radius: 11px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease, border-color 0.2s ease;
  min-width: 110px;
}
.cookie-banner__btn:hover { transform: translateY(-1px); }
.cookie-banner__btn:active { transform: translateY(0); }
.cookie-banner__btn--ghost {
  background: white;
  color: var(--teal-deep);
  border: 1px solid var(--border-strong);
}
.cookie-banner__btn--ghost:hover {
  border-color: var(--teal-400);
  box-shadow: var(--shadow-sm);
}
.cookie-banner__btn--primary {
  background: var(--grad-cta);
  color: white;
  box-shadow: 0 6px 16px rgba(44, 154, 154, 0.32);
}
.cookie-banner__btn--primary:hover {
  background: var(--grad-cta-hover);
  box-shadow: 0 10px 22px rgba(44, 154, 154, 0.42);
}
.cookie-banner__btn:focus-visible {
  outline: 2px solid var(--teal-500);
  outline-offset: 2px;
}
@media (max-width: 600px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 16px 18px;
    border-radius: 18px;
  }
  .cookie-banner__inner { gap: 14px; }
  .cookie-banner__actions { width: 100%; }
  .cookie-banner__btn { flex: 1; min-width: 0; padding: 12px 14px; }
}

/* ---------- COOKIE POLICY TABLE ---------- */
.cookie-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 14px;
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.cookie-table thead {
  background: var(--teal-50);
}
.cookie-table th {
  text-align: left;
  padding: 12px 14px;
  font-weight: 800;
  color: var(--teal-deep);
  font-size: 13px;
  letter-spacing: 0.2px;
  border-bottom: 1px solid var(--border);
}
.cookie-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  line-height: 1.55;
}
.cookie-table tbody tr:last-child td { border-bottom: none; }
.cookie-table code {
  background: var(--teal-50);
  color: var(--teal-deep);
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 12.5px;
  font-family: 'SF Mono', Monaco, Consolas, monospace;
  white-space: nowrap;
}
@media (max-width: 600px) {
  .cookie-table, .cookie-table thead, .cookie-table tbody,
  .cookie-table tr, .cookie-table th, .cookie-table td {
    display: block;
  }
  .cookie-table thead { display: none; }
  .cookie-table tr {
    border-bottom: 1px solid var(--border);
    padding: 12px 14px;
  }
  .cookie-table tr:last-child { border-bottom: none; }
  .cookie-table td {
    padding: 4px 0;
    border: none;
  }
  .cookie-table td::before {
    content: attr(data-label);
    display: block;
    font-weight: 800;
    color: var(--teal-deep);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 2px;
  }
}

.legal code {
  background: var(--teal-50);
  color: var(--teal-deep);
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 13px;
  font-family: 'SF Mono', Monaco, Consolas, monospace;
}

/* ---------- BLOG ---------- */
/* Hero del índice del blog */
.blog-hero {
  text-align: center;
  padding: 80px 24px 56px;
  background: var(--grad-hero);
  position: relative;
}
.blog-hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -1.4px;
  margin-bottom: 18px;
  line-height: 1.05;
}
.blog-hero h1 em {
  font-style: normal;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.blog-hero .lead {
  font-size: 18px;
  color: var(--on-surface-muted);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.55;
}

/* Grid del índice del blog */
.blog-list {
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.blog-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 26px 26px 24px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: var(--shadow-sm);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal-300);
  text-decoration: none;
  color: inherit;
}
.blog-card__meta {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--teal-600);
  display: flex;
  align-items: center;
  gap: 10px;
}
.blog-card__meta::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.blog-card h2 {
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.3px;
  font-weight: 800;
  color: var(--on-surface);
}
.blog-card p {
  color: var(--on-surface-muted);
  font-size: 14.5px;
  line-height: 1.6;
  flex: 1;
}
.blog-card__read {
  font-size: 13px;
  font-weight: 700;
  color: var(--teal-600);
  letter-spacing: 0.2px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.blog-card__read::after {
  content: '→';
  transition: transform 0.2s ease;
}
.blog-card:hover .blog-card__read::after {
  transform: translateX(4px);
}
.blog-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--on-surface-muted);
  font-size: 15px;
}

/* Artículo individual */
.breadcrumb {
  max-width: 720px;
  margin: 24px auto 0;
  padding: 0 24px;
  font-size: 14px;
  color: var(--on-surface-muted);
}
.breadcrumb a {
  color: var(--teal-600);
  font-weight: 600;
}
.breadcrumb a::before { content: '← '; }

.post-hero {
  max-width: 720px;
  margin: 0 auto;
  padding: 28px 24px 36px;
  text-align: center;
}
.post-hero h1 {
  font-size: clamp(28px, 4.5vw, 42px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 14px;
}
.post-meta {
  font-size: 13px;
  font-weight: 600;
  color: var(--on-surface-muted);
  letter-spacing: 0.3px;
}
.post-meta time { color: var(--teal-600); font-weight: 700; }

.post-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px 40px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--on-surface);
}
.post-content > p:first-of-type {
  font-size: 19px;
  color: var(--on-surface);
  line-height: 1.65;
  margin-bottom: 24px;
}
.post-content h2 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin: 40px 0 16px;
  color: var(--on-surface);
}
.post-content h3 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.3px;
  margin: 28px 0 12px;
  color: var(--on-surface);
}
.post-content p { margin-bottom: 18px; }
.post-content a {
  color: var(--teal-600);
  font-weight: 600;
  border-bottom: 1px solid var(--teal-200);
  transition: border-color 0.15s ease, color 0.15s ease;
}
.post-content a:hover {
  color: var(--teal-700);
  border-bottom-color: var(--teal-600);
  text-decoration: none;
}
.post-content strong { font-weight: 700; }
.post-content ul, .post-content ol {
  margin: 0 0 20px 22px;
  padding: 0;
}
.post-content li { margin-bottom: 8px; }
.post-content blockquote {
  margin: 24px 0;
  padding: 18px 24px;
  border-left: 4px solid var(--teal-400);
  background: var(--teal-50);
  border-radius: 0 14px 14px 0;
  color: var(--on-surface);
  font-style: italic;
}
.post-content code {
  background: var(--teal-50);
  color: var(--teal-deep);
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 14.5px;
  font-family: 'SF Mono', Monaco, Consolas, monospace;
}
.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  margin: 24px 0;
  display: block;
  box-shadow: var(--shadow-md);
}

/* CTA al final del artículo */
.post-cta {
  max-width: 720px;
  margin: 16px auto 80px;
  padding: 32px 28px;
  background: linear-gradient(135deg, var(--teal-50) 0%, white 100%);
  border: 1px solid var(--teal-200);
  border-radius: 22px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.post-cta__eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: var(--teal-600);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.post-cta h3 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.4px;
  color: var(--on-surface);
  margin-bottom: 10px;
}
.post-cta p {
  color: var(--on-surface-muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 22px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.post-cta .store-buttons {
  margin-top: 0;
}
