/* ==========================================================================
   RASPAO — Pop Art / Lichtenstein skin
   Approved direction (Jun 22 2026): Ben-Day dots, hard comic outlines,
   offset shadows, Bangers display font. Layered OVER styles.css so all
   demo/carousel/reveal JS behavior stays intact. Load this LAST.
   ========================================================================== */

/* ---- pop-art tokens (override) ---- */
:root {
  --yellow: #FFD23F;
  --cream: #FFF1C9;
  --ink: #1A1816;
  --line: 4px;                 /* comic outline weight */
  --line-thin: 3px;
  --font-display: 'Bangers', 'Fraunces', Georgia, serif;

  /* hard, blur-less offset shadows replace the soft ones */
  --shadow-sm: 4px 4px 0 var(--ink);
  --shadow-md: 6px 6px 0 var(--ink);
  --shadow-lg: 8px 8px 0 var(--ink);
  --shadow-cherry: 6px 6px 0 var(--ink);
  --shadow-blue: 6px 6px 0 var(--ink);

  --r-chip: 4px;
  --r-card: 6px;
  --r-hero: 8px;
}

/* ---- page background: faint blue Ben-Day dots everywhere ---- */
body {
  background: var(--ice);
  /* decorative dot field — faint enough to never fight body text */
  background-image: radial-gradient(rgba(63,169,245,0.55) 1.1px, transparent 1.2px);
  background-size: 16px 16px;
}

/* reusable dot fills (apply as utility on top of components) */
.dots-red    { background-image: radial-gradient(var(--cherry) 3px, transparent 3.4px); background-size: 14px 14px; }
.dots-blue   { background-image: radial-gradient(var(--syrup-blue) 3px, transparent 3.4px); background-size: 14px 14px; }
.dots-yellow { background-color: var(--yellow); background-image: radial-gradient(rgba(0,0,0,.18) 2.4px, transparent 2.8px); background-size: 13px 13px; }

/* ---- comic display headings ---- */
h1, h2,
.nav-logo, .footer-brand {
  font-family: var(--font-display);
  letter-spacing: 1.5px;
  font-weight: 400;
  line-height: 0.92;
}

h1 span, h2 span { font-style: normal; }

h1 {
  color: var(--cherry);
  -webkit-text-stroke: 2.5px var(--ink);
  text-shadow: 6px 6px 0 var(--ink);
}
h1 span { color: var(--syrup-blue); }

h2 {
  color: var(--ink);
  -webkit-text-stroke: 1.5px var(--ink);
  text-shadow: 4px 4px 0 var(--cherry);
}
h2 span { color: var(--cherry); -webkit-text-stroke: 1.5px var(--ink); }

h3,
.funciones-agent-copy h3,
.funcion-slide-copy h3,
.story-card h3,
.big-card h3 {
  font-family: var(--font-display);
  letter-spacing: 1px;
  font-weight: 400;
  color: var(--ink);
}

/* ---- eyebrow becomes a tilted comic sticker ---- */
.eyebrow {
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--lime);
  border: var(--line) solid var(--ink);
  padding: 5px 14px;
  border-radius: 4px;
  box-shadow: 4px 4px 0 var(--ink);
  transform: rotate(-2deg);
}

/* ---- buttons: comic blocks with hard shadow + press-down ---- */
.btn {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 19px;
  letter-spacing: 1.2px;
  border: var(--line) solid var(--ink);
  border-radius: 6px;
  box-shadow: 6px 6px 0 var(--ink);
  transition: transform .08s ease, box-shadow .08s ease, background .12s ease;
}
.btn-sm { font-size: 16px; box-shadow: 4px 4px 0 var(--ink); }

.btn-primary {
  background: var(--cherry);
  color: #fff;
}
.btn-primary:hover { background: var(--cherry-deep); transform: none; }

.btn-quiet {
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
}
.btn-quiet:hover { transform: none; background: var(--cream); }

.btn:active { transform: translate(6px, 6px); box-shadow: 0 0 0 var(--ink); }
.btn-sm:active { transform: translate(4px, 4px); }

/* ---- nav: solid white bar with thick bottom rule ---- */
#nav {
  background: #fff;
  border-bottom: var(--line) solid var(--ink);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
#nav.scrolled {
  background: #fff;
  border-bottom-color: var(--ink);
  box-shadow: 0 6px 0 rgba(26,24,22,.12);
}
.nav-logo, .footer-brand {
  font-size: 30px;
  letter-spacing: 1px;
  color: var(--cherry);
  -webkit-text-stroke: 1.5px var(--ink);
}
.nav-links a, .nav-link { font-weight: 800; color: var(--ink); }
.nav-links a:hover, .nav-link:hover { color: var(--cherry); }

/* ---- hero ---- */
.hero {
  background:
    radial-gradient(var(--syrup-blue) 1.2px, transparent 1.3px) 0 0 / 15px 15px,
    linear-gradient(180deg, #FFFFFF 0%, var(--ice) 100%);
  border-bottom: var(--line) solid var(--ink);
}

/* señor lives in a comic frame with cream Ben-Day dots */
.hero-art::before { display: none; }
.hero-senor {
  border: var(--line) solid var(--ink);
  border-radius: 8px;
  background: var(--cream);
  background-image: radial-gradient(var(--cherry) 3px, transparent 3.4px);
  background-size: 16px 16px;
  box-shadow: 10px 10px 0 var(--ink);
  padding: 14px 14px 0;
  filter: none;
  overflow: hidden;
}

/* hero paragraph = a clean comic caption box so the dots never run through text */
.hero-copy p {
  font-weight: 600;
  color: var(--ink);
  background: #fff;
  border: var(--line-thin) solid var(--ink);
  border-radius: 6px;
  box-shadow: 5px 5px 0 var(--ink);
  padding: 16px 18px;
}

/* hero proof chips become comic stickers */
.hero-proof-row span {
  border: var(--line-thin) solid var(--ink);
  border-radius: 4px;
  background: #fff;
  box-shadow: 4px 4px 0 var(--ink);
  font-weight: 800;
}

/* hero chat bubbles get the comic outline */
.hero-bubble {
  border: var(--line-thin) solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  font-weight: 800;
}
.hero-bubble-user { background: var(--lime); }

/* ---- generic surfaces: give cards/panels the comic treatment ---- */
.big-card,
.demo-dash,
.chat-phone,
.demo-phone,
.funcion-slide,
.story-card,
.waitlist,
.demo-card,
.feature-card,
.section-card {
  border: var(--line) solid var(--ink) !important;
  border-radius: 6px !important;
  box-shadow: 8px 8px 0 var(--ink) !important;
}

/* dashboard inner cards a touch lighter so the panel reads */
.demo-card {
  box-shadow: 4px 4px 0 var(--ink) !important;
}

/* demo dashboard chrome / tabs */
.demo-dash-chrome { border-bottom: var(--line-thin) solid var(--ink); }
.demo-dash-tabs span {
  border: var(--line-thin) solid var(--ink);
  border-radius: 4px;
  font-family: var(--font-display);
  letter-spacing: .5px;
}
.demo-dash-tabs span.on { background: var(--yellow); }

/* funciones tags + carousel buttons */
.funcion-tag, .story-tag, .agent-pill-list span, .demo-steps span {
  font-family: var(--font-display);
  letter-spacing: 1px;
  border: var(--line-thin) solid var(--ink);
  border-radius: 4px;
  box-shadow: 3px 3px 0 var(--ink);
}
.funcion-tag { background: var(--ink); color: #fff; }

.carousel-btn {
  border: var(--line-thin) solid var(--ink) !important;
  border-radius: 6px !important;
  box-shadow: 4px 4px 0 var(--ink) !important;
  background: #fff !important;
}
.carousel-btn:active { transform: translate(4px,4px); box-shadow: 0 0 0 var(--ink) !important; }

/* chat demo messages */
.msg, .chat-bubble, .demo-thread .bubble {
  border: var(--line-thin) solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  font-weight: 700;
}

/* ---- cuara scroll story: yellow dotted band ---- */
.cuara-scroll-story {
  background: var(--yellow);
  background-image: radial-gradient(rgba(0,0,0,.16) 2.4px, transparent 2.8px);
  background-size: 14px 14px;
  border-top: var(--line) solid var(--ink);
  border-bottom: var(--line) solid var(--ink);
}
.cuara-scroll-text { color: var(--ink); }

/* ---- waitlist inputs as comic fields ---- */
.waitlist-form input {
  border: var(--line-thin) solid var(--ink) !important;
  border-radius: 6px !important;
  box-shadow: 4px 4px 0 var(--ink) !important;
  font-weight: 700;
}
.waitlist-form input:focus { outline: none; box-shadow: 2px 2px 0 var(--cherry) !important; }

/* ---- footer: solid cherry band, comic type ---- */
.footer {
  background: var(--cherry);
  border-top: var(--line) solid var(--ink);
  color: #fff;
}
.footer-brand { color: #fff; -webkit-text-stroke: 1.5px var(--ink); }
.footer a { color: #fff; }
.footer-links a:hover { color: var(--yellow); }
.footer-disclaimer { color: rgba(255,255,255,.86); }

/* keep press-down crisp on reduced motion */
@media (prefers-reduced-motion: reduce) {
  .btn, .carousel-btn { transition: none; }
}
