/* SweetHearts — lila y rosa como la app, Fredoka redondeada, corazones y espirales */
@font-face { font-family: "Fredoka"; font-weight: 700; font-display: swap; src: url("/apps/sweethearts/fonts/Fredoka_700Bold.ttf") format("truetype"); }
@font-face { font-family: "Nunito"; font-weight: 400 700; font-display: swap; src: url("/apps/sweethearts/fonts/Nunito_700Bold.ttf") format("truetype"); }
@font-face { font-family: "Nunito"; font-weight: 800 900; font-display: swap; src: url("/apps/sweethearts/fonts/Nunito_800ExtraBold.ttf") format("truetype"); }

:root {
  --accent: #7C3AED; --accent-ink: #FFFFFF;
  --gold: #EC4899; --gold-soft: #FDE7F1;
  --ink: #2A0F4D; --muted: #6B5A86; --bg: #FBF8FF; --bg-2: #F3E8FF; --line: #E9DCFC;
  --radius: 26px; --radius-sm: 16px;
  --font-head: "Fredoka", "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --placeholder: url("/apps/sweethearts/img/icon.png");
}
body { background: var(--bg); }
h1, h2 { font-family: var(--font-head); font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
h3 { font-weight: 800; }
.kicker { color: #DB2777; letter-spacing: .16em; font-weight: 800; }
.feat .fi { background: linear-gradient(135deg, #F3E8FF, #FDE7F1); color: var(--accent); }
.feat h3 { font-family: var(--font-head); font-weight: 700; }

/* ───── Portada ───── */
.app-hero { position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(circle at 85% 10%, rgba(255,255,255,.22), transparent 38%), linear-gradient(140deg, #6D28D9 0%, #A855F7 48%, #EC4899 100%); }
.app-hero::before, .app-hero::after { content: ""; position: absolute; border-radius: 46% 54% 60% 40% / 50% 42% 58% 50%; background: rgba(255,255,255,.12); pointer-events: none; }
.app-hero::before { width: 560px; height: 520px; right: -180px; top: -200px; }
.app-hero::after { width: 420px; height: 380px; left: -160px; bottom: -220px; }
.app-hero > .wrap { position: relative; z-index: 1; }
.app-hero h1 { color: #fff; font-size: clamp(36px, 4.8vw, 60px); line-height: 1.05; overflow-wrap: break-word; }
.app-hero .tagline { color: rgba(255,255,255,.94); }
.app-hero .icon { border-radius: 24px; box-shadow: 0 16px 40px rgba(76,29,149,.45); }
.app-hero .platforms li { background: rgba(255,255,255,.18); color: #fff; border-color: transparent; font-weight: 800; }
.app-hero .cta.soon { background: #fff; color: var(--ink); }
.app-hero .link-btn { color: #fff; }
.swirls { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }

/* Corazones que suben despacio */
.hearts { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hearts i { position: absolute; left: var(--x); bottom: -40px; width: var(--s); height: var(--s); opacity: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M12 21s-7.5-4.6-9.7-9.3C.6 8.1 2.7 4 6.7 4c2.2 0 3.7 1.3 5.3 3.2C13.6 5.3 15.1 4 17.3 4c4 0 6.1 4.1 4.4 7.7C19.5 16.4 12 21 12 21z'/%3E%3C/svg%3E") center / contain no-repeat;
  animation: sh-rise var(--d) linear var(--dl) infinite; }
@keyframes sh-rise { 0% { transform: translateY(0) rotate(-8deg); opacity: 0; } 10% { opacity: .55; } 90% { opacity: .35; } 100% { transform: translateY(-820px) rotate(10deg); opacity: 0; } }

.status-pill { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 4px; background: rgba(255,255,255,.2); color: #fff; font-weight: 800; font-size: 15px; padding: 8px 16px; border-radius: 999px; }
.status-pill .dot { width: 9px; height: 9px; border-radius: 50%; background: #FDE68A; animation: sh-pulse 1.8s infinite; }
@keyframes sh-pulse { 0% { box-shadow: 0 0 0 0 rgba(253,230,138,.75); } 70%, 100% { box-shadow: 0 0 0 9px rgba(253,230,138,0); } }
.pill-note { display: block; font-size: 14px; font-weight: 800; color: rgba(255,255,255,.92); margin-top: 18px; }
.crown { color: #FBCFE8; margin-right: 4px; }
.cta.soon { cursor: default; }
.cta.soon:hover { transform: none; }

/* Móvil con la llama flotando y dos insignias */
.hero-visual { position: relative; min-height: 660px; display: flex; align-items: center; justify-content: center; }
.hero-visual .phone { width: 286px; transform: rotate(4deg); background: #1E0B33; box-shadow: 0 44px 80px -20px rgba(46,16,101,.6), 10px 10px 0 -2px rgba(255,255,255,.18); }
.hero-visual .mascot { position: absolute; left: 0; bottom: 6%; width: 190px; z-index: 2; animation: sh-float 5s ease-in-out infinite alternate; }
.hero-visual .mascot img { width: 100%; height: auto; display: block; filter: drop-shadow(0 22px 24px rgba(76,29,149,.45)); }
@keyframes sh-float { from { transform: translateY(0) rotate(-3deg); } to { transform: translateY(-16px) rotate(3deg); } }
.badge { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 6px; background: #fff; color: var(--ink); font-weight: 800; font-size: 15px; padding: 10px 16px; border-radius: 999px; box-shadow: 0 14px 30px -10px rgba(76,29,149,.5); white-space: nowrap; }
.badge.b1 { right: 0; top: 18%; transform: rotate(5deg); animation: sh-bob 6s ease-in-out infinite alternate; }
.badge.b2 { right: 6%; bottom: 14%; transform: rotate(-4deg); color: #DB2777; animation: sh-bob 7s ease-in-out 1s infinite alternate-reverse; }
@keyframes sh-bob { from { translate: 0 0; } to { translate: 0 -10px; } }
@media (prefers-reduced-motion: reduce) { .hearts i, .hero-visual .mascot, .badge, .status-pill .dot { animation: none; } .hearts { display: none; } }

@media (max-width: 880px) {
  .app-hero h1 br { display: none; }
  .hero-visual { min-height: 560px; margin-top: 10px; }
  .hero-visual .phone { width: 236px; }
  .hero-visual .mascot { width: 130px; left: 0; }
  .badge { font-size: 13px; padding: 8px 12px; }
}

/* ───── Capturas ───── */
.gallery .phone { background: #1E0B33; }
#capturas .wrap { position: relative; }
.gallery-nav { position: absolute; right: 20px; top: 52px; display: flex; gap: 10px; }
.gallery-nav button { width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; color: var(--accent); box-shadow: 0 10px 24px -12px rgba(76,29,149,.5); cursor: pointer; display: grid; place-items: center; transition: transform .2s; }
.gallery-nav button:hover { transform: scale(1.08); }
.gallery-nav svg { width: 22px; height: 22px; }
@media (max-width: 760px), (hover: none) { .gallery-nav { display: none; } }

/* ───── Precio ───── */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 40px; max-width: 860px; }
.plan { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; background: #fff; }
.plan.pro { background: linear-gradient(150deg, #6D28D9, #A855F7 55%, #EC4899); color: #fff; border-color: transparent; position: relative; overflow: hidden; }
.plan.pro::after { content: "♥"; position: absolute; right: 22px; top: -4px; font-size: 110px; color: #fff; opacity: .14; }
.plan h3 { font-family: var(--font-head); font-weight: 700; font-size: 23px; display: flex; gap: 8px; align-items: center; }
.plan .price { font-family: var(--font-head); font-size: 40px; font-weight: 700; margin: 8px 0 4px; }
.plan .price small { font-family: var(--font-body); font-size: 15px; font-weight: 800; opacity: .8; }
.plan .alt-prices { margin: 0; font-size: 15px; font-weight: 800; opacity: .85; }
.plan ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: "✓"; font-weight: 900; color: var(--accent); }
.plan.pro li::before { color: #FDE68A; }
@media (max-width: 700px) { .plans { grid-template-columns: 1fr; } }
.disclaimer { font-size: 14px; color: var(--muted); max-width: 70ch; }

/* ───── Formulario y pie ───── */
.submit { background: linear-gradient(90deg, #7C3AED, #EC4899); color: #fff; border: 0; }
.app-footer { background: #2A0F4D; border-top-color: #43207A; color: #D8C8F5; }
.app-footer a:hover { color: #fff; }

/* ───── Páginas legales ───── */
.legal h1, .legal h2 { color: var(--ink); }
.legal h2 { margin-top: 1.6em; }
.legal a { color: var(--accent); }
.legal .date { color: var(--muted); }
.legal .box { background: var(--bg-2); border-radius: var(--radius-sm); padding: 14px 18px; }
