/* ============================================================
   Antojo — Landing & Legal · Design System
   Style: Claymorphism (soft 3D, chunky, bubbly, pastel)
   Palette: Antojo brand (coral / chicle / pastels)
   Type:  Baloo 2 (headings) + Nunito (body)
   Generated with UI-UX-Pro-Max methodology, brand-tuned.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@500;600;700;800&family=Nunito:wght@400;500;600;700;800&display=swap');

:root {
  /* Brand colors (mirror lib/theme/antojo_colors.dart) */
  --coral: #FF7EB3;
  --coral-dark: #E85A97;
  --chicle: #FF9EC4;
  --lavanda: #C9B6F7;
  --menta: #9FE3C5;
  --celeste: #BFE3FF;
  --durazno: #FFDAC1;
  --moneda: #F5B840;
  --fondo: #FFF4F7;
  --crema: #FFF6FA;
  --cacao: #5A4A54;
  --sub: #A6929F;
  --linea: #F5DEE6;
  --suave: #FFE9F0;

  /* Shape & motion (claymorphism) */
  --radius: 26px;
  --radius-sm: 18px;
  --radius-pill: 999px;
  --shadow-clay: 10px 10px 26px rgba(255,126,179,0.22), -8px -8px 20px rgba(255,255,255,0.85);
  --shadow-soft: 0 14px 34px rgba(255,126,179,0.20);
  --shadow-lift: 0 22px 50px rgba(255,126,179,0.28);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  --font-head: 'Baloo 2', system-ui, sans-serif;
  --font-body: 'Nunito', system-ui, sans-serif;
  --maxw: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--cacao);
  background:
    radial-gradient(1100px 620px at 82% -8%, #FFE9F2 0%, rgba(255,233,242,0) 60%),
    radial-gradient(900px 560px at 8% 6%, #F1EAFF 0%, rgba(241,234,255,0) 55%),
    var(--fondo);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--font-head); line-height: 1.08; color: var(--cacao); letter-spacing: -0.01em; }

a { color: var(--coral-dark); text-decoration: none; }
a:hover { color: var(--coral); }

img { max-width: 100%; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--coral-dark);
  background: #fff;
  border: 2px solid var(--linea);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-soft);
}

/* ── Buttons ───────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  padding: 15px 28px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease-bounce), box-shadow 0.2s var(--ease-out), background 0.2s ease;
}
.btn:focus-visible { outline: 3px solid var(--lavanda); outline-offset: 3px; }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--chicle), var(--coral));
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: var(--shadow-lift); color: #fff; }
.btn-primary:active { transform: translateY(0) scale(0.98); }
.btn-ghost {
  color: var(--coral-dark);
  background: #fff;
  border: 2px solid var(--linea);
  box-shadow: var(--shadow-soft);
}
.btn-ghost:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); color: var(--coral-dark); }

/* Store badge buttons */
.stores { display: flex; flex-wrap: wrap; gap: 14px; }
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--cacao);
  color: #fff;
  padding: 12px 22px;
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  position: relative;
  transition: transform 0.2s var(--ease-bounce), box-shadow 0.2s var(--ease-out);
}
.store-badge:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); color: #fff; }
.store-badge svg { width: 26px; height: 26px; flex: none; }
.store-badge small { display: block; font-size: 11px; opacity: 0.8; line-height: 1.1; }
.store-badge strong { display: block; font-family: var(--font-head); font-size: 18px; line-height: 1.1; }
.store-badge .soon {
  position: absolute; top: -10px; right: -8px;
  background: var(--moneda); color: #5a3d00;
  font-family: var(--font-head); font-weight: 700; font-size: 11px;
  padding: 3px 9px; border-radius: var(--radius-pill);
  box-shadow: 0 4px 10px rgba(245,184,64,0.5);
}

/* ── Cards ─────────────────────────────────── */
.card {
  background: var(--crema);
  border: 2px solid rgba(255,255,255,0.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow-clay);
}

/* ── Nav ───────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(255,244,247,0.78);
  border-bottom: 1px solid var(--linea);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: 24px; color: var(--coral); }
.brand svg { width: 40px; height: 40px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { font-family: var(--font-head); font-weight: 600; color: var(--cacao); font-size: 15px; }
.nav-links a:hover { color: var(--coral); }
@media (max-width: 720px) { .nav-links a.hide-sm { display: none; } }

/* ── Hero ──────────────────────────────────── */
.hero { padding: 64px 0 48px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(38px, 6vw, 62px); font-weight: 800; margin: 22px 0 18px; }
.hero h1 .hl { color: var(--coral); }
.hero p.lead { font-size: 20px; color: #7d6b76; max-width: 30ch; margin-bottom: 30px; }
.hero .cta-row { display: flex; flex-direction: column; gap: 18px; }
.hero .note { font-size: 14px; color: var(--sub); }

/* Phone mockup */
.mockup { position: relative; display: flex; justify-content: center; }
.phone {
  width: 300px; max-width: 78vw;
  background: #1c1622; border-radius: 44px; padding: 10px;
  box-shadow: var(--shadow-lift);
  transform: rotate(3deg);
  transition: transform 0.4s var(--ease-out);
}
.phone:hover { transform: rotate(0deg) translateY(-6px); }
.phone img { border-radius: 34px; width: 100%; }
.blob { position: absolute; border-radius: 50%; filter: blur(2px); opacity: 0.6; z-index: -1; animation: float 7s var(--ease-out) infinite; }
.blob.b1 { width: 130px; height: 130px; background: var(--lavanda); top: -10px; left: 0; }
.blob.b2 { width: 90px; height: 90px; background: var(--menta); bottom: 20px; right: 4px; animation-delay: 1.5s; }
.blob.b3 { width: 70px; height: 70px; background: var(--durazno); top: 40%; right: -10px; animation-delay: 3s; }

@keyframes float { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-16px) } }

/* ── Sections ──────────────────────────────── */
section.block { padding: 56px 0; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 42px; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; margin-bottom: 12px; }
.section-head p { color: #7d6b76; font-size: 18px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { padding: 34px 28px; text-align: center; }
.step .ico {
  width: 76px; height: 76px; margin: 0 auto 18px;
  display: grid; place-items: center;
  border-radius: 24px;
  box-shadow: 6px 6px 16px rgba(255,126,179,0.2), -4px -4px 12px rgba(255,255,255,0.8);
}
.step .ico svg { width: 38px; height: 38px; }
.step:nth-child(1) .ico { background: var(--suave); color: var(--coral-dark); }
.step:nth-child(2) .ico { background: #EAF9F1; color: #2f9e77; }
.step:nth-child(3) .ico { background: #FFF6E0; color: #c98a12; }
.step h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.step p { color: #7d6b76; font-size: 16px; }
.step .num { font-family: var(--font-head); font-weight: 700; color: var(--coral); font-size: 14px; letter-spacing: 0.08em; }

/* Showcase */
.showcase { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: start; }
.shot { text-align: center; }
.shot-frame {
  background: #1c1622;
  border-radius: 36px;
  padding: 8px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 0.3s var(--ease-bounce), box-shadow 0.3s var(--ease-out);
}
.shot:hover .shot-frame { transform: translateY(-8px); box-shadow: var(--shadow-lift); }
.shot-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 1206 / 2622;
  object-fit: cover;
  object-position: top center;
  border-radius: 28px;
}
.shot figcaption { color: var(--sub); font-size: 14px; padding-top: 16px; font-weight: 700; font-family: var(--font-head); }

/* Bento features */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.bento.trio { grid-template-columns: repeat(3, 1fr); }
.feat { padding: 28px; }
.feat.wide { grid-column: span 2; }
.feat .ico { width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 16px; background: var(--suave); color: var(--coral-dark); }
.feat .ico svg { width: 28px; height: 28px; }
.feat h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.feat p { color: #7d6b76; font-size: 15px; }

/* Final CTA */
.finalcta { text-align: center; padding: 56px 32px; margin: 20px 0; background: linear-gradient(150deg, var(--chicle), var(--coral)); color: #fff; border-radius: 36px; box-shadow: var(--shadow-lift); }
.finalcta svg.bear { width: 120px; height: 120px; margin: 0 auto 14px; filter: drop-shadow(0 10px 20px rgba(138,44,90,0.35)); }
.finalcta h2 { color: #fff; font-size: clamp(30px, 4.5vw, 46px); font-weight: 800; margin-bottom: 12px; }
.finalcta p { color: rgba(255,255,255,0.92); font-size: 18px; margin-bottom: 26px; }
.finalcta .stores { justify-content: center; }
.finalcta .store-badge { background: #fff; color: var(--cacao); }
.finalcta .store-badge:hover { color: var(--cacao); }

/* ── Footer ────────────────────────────────── */
.footer { padding: 48px 0 40px; border-top: 1px solid var(--linea); margin-top: 40px; }
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: center; }
.footer .brand { font-size: 20px; }
.footer .brand svg { width: 32px; height: 32px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-links a { font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--cacao); }
.footer-links a:hover { color: var(--coral); }
.footer .copy { width: 100%; color: var(--sub); font-size: 14px; padding-top: 8px; }

/* ── Legal / doc pages ─────────────────────── */
.doc { max-width: 800px; margin: 0 auto; padding: 48px 24px 72px; }
.doc .card { padding: 44px; }
.doc h1 { font-size: clamp(32px, 5vw, 46px); font-weight: 800; margin-bottom: 8px; }
.doc .updated { color: var(--sub); font-size: 15px; margin-bottom: 30px; }
.doc h2 { font-size: 24px; font-weight: 700; margin: 32px 0 12px; color: var(--coral-dark); }
.doc h3 { font-size: 19px; font-weight: 700; margin: 22px 0 8px; }
.doc p, .doc li { color: #5f5058; font-size: 16px; }
.doc ul, .doc ol { margin: 8px 0 8px 22px; }
.doc li { margin-bottom: 8px; }
.doc a { font-weight: 600; }
.doc .back { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; margin-bottom: 24px; }
.doc .contact-card { margin-top: 30px; padding: 22px 26px; background: var(--suave); border-radius: var(--radius-sm); }

/* FAQ */
.faq { margin-top: 8px; }
.faq details { border: 2px solid var(--linea); border-radius: var(--radius-sm); padding: 4px 20px; margin-bottom: 14px; background: var(--crema); }
.faq summary { font-family: var(--font-head); font-weight: 700; font-size: 17px; padding: 16px 0; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 24px; color: var(--coral); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; }

/* ── Responsive ────────────────────────────── */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero p.lead { max-width: none; }
  .steps { grid-template-columns: 1fr; }
  .showcase { grid-template-columns: 1fr; gap: 28px; max-width: 360px; margin: 0 auto; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento.trio { grid-template-columns: 1fr 1fr; }
  .bento.trio .feat:last-child { grid-column: 1 / -1; }
  .feat.wide { grid-column: span 2; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .feat.wide { grid-column: span 1; }
  .hero { padding-top: 40px; }
}

/* Accessibility — respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .btn, .phone, .shot, .store-badge { transition: none !important; }
}
