/* UHelpYou website: shared styles for the home page and the Verdicts pages. Brand red matches the app (#FF0000). */
:root {
  color-scheme: light;
  --red: #ff0000;
  --red-deep: #c40000;
  --red-soft: #fff0f0;
  --red-tint: #ffe3e3;
  --gold: #f8c433;
  --gold-deep: #e9a400;
  --ink: #161212;
  --muted: #645d5d;
  --line: #ece5e3;
  --surface: #f7f4f3;
  --white: #fff;
  --green: #16a34a;
  --radius: 22px;
  --shadow: 0 18px 50px rgba(22, 18, 18, 0.1);
  --wrap: 1180px;
  --font: 'Plus Jakarta Sans', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); font-size: 17px; line-height: 1.55; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -0.025em; font-weight: 800; }
p { margin: 0; }
.red { color: var(--red); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.92); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; gap: 28px; height: 72px; }
.nav .logo img { height: 34px; width: auto; }
.nav-links { display: flex; gap: 26px; margin-left: auto; align-items: center; }
.nav-links a { text-decoration: none; font-weight: 700; font-size: 15px; }
.nav-links a:hover { color: var(--red); }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-btn span { display: block; width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; margin: 5px 0; transition: transform 0.2s, opacity 0.2s; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 800; font-size: 16px; border: 0; border-radius: 999px; padding: 14px 26px; text-decoration: none; cursor: pointer; transition: transform 0.15s, box-shadow 0.15s, background 0.15s; }
.btn:hover { transform: translateY(-1px); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 8px 22px rgba(255, 0, 0, 0.25); }
.btn-red:hover { background: var(--red-deep); }
.btn-outline { border: 2px solid var(--red); color: var(--red); background: #fff; padding: 12px 22px; }
.btn-gold { background: var(--gold); color: #1a1200; }
.btn-sm { padding: 10px 18px; font-size: 15px; }
.btn-block { width: 100%; }

.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store { white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; background: #000; color: #fff; text-decoration: none; border-radius: 12px; padding: 9px 18px 9px 14px; min-width: 168px; transition: transform 0.15s; }
.store:hover { transform: translateY(-2px); }
.store svg { width: 26px; height: 26px; flex: none; }
.store small { display: block; font-size: 11px; line-height: 1.1; opacity: 0.85; font-weight: 500; }
.store b { display: block; white-space: nowrap; font-size: 19px; line-height: 1.15; font-weight: 700; letter-spacing: -0.01em; }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.eyebrow::before { content: ''; width: 18px; height: 3px; border-radius: 2px; background: var(--red); }
.section-title { font-size: clamp(32px, 4.4vw, 52px); }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); margin-top: 18px; max-width: 640px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.underline { position: relative; white-space: nowrap; }
.underline::after { content: ''; position: absolute; left: 0; right: 0; bottom: -0.12em; height: 0.16em; background: var(--red); border-radius: 99px; transform-origin: left; animation: draw 0.9s 0.5s both cubic-bezier(0.2, 0.7, 0.2, 1); }
@keyframes draw { from { transform: scaleX(0); } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; } .reveal.d2 { transition-delay: 0.16s; } .reveal.d3 { transition-delay: 0.24s; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #fff; padding: 56px 0 40px; }
.foot { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: flex-start; }
.foot .logo-white { height: 32px; width: auto; filter: brightness(0) invert(1); }
.foot p { color: rgba(255, 255, 255, 0.65); font-size: 15px; margin-top: 12px; max-width: 360px; }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot nav a { text-decoration: none; font-weight: 700; font-size: 15px; color: rgba(255, 255, 255, 0.85); }
.foot nav a:hover { color: #fff; }
.copyright { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 13px; color: rgba(255, 255, 255, 0.5); }

/* ---------- Phone mock-up (the app's home screen) ---------- */
.phone { position: relative; width: 270px; aspect-ratio: 9 / 19.2; background: #111; border-radius: 44px; padding: 10px; box-shadow: 0 30px 70px rgba(22, 18, 18, 0.32), inset 0 0 0 2px #2a2a2a; }
.phone::before { content: ''; position: absolute; top: 18px; left: 50%; width: 84px; height: 24px; background: #000; border-radius: 99px; transform: translateX(-50%); z-index: 5; }
.screen { position: relative; width: 100%; height: 100%; background: #fff; border-radius: 35px; overflow: hidden; font-size: 11px; line-height: 1.3; }
.screen .status { display: flex; justify-content: space-between; padding: 14px 22px 0; font-weight: 800; font-size: 11px; height: 38px; }
.app-view { position: absolute; inset: 38px 0 0; padding: 8px 14px; transition: opacity 0.6s, transform 0.6s; }
.app-view.hidden { opacity: 0; transform: translateX(14px); pointer-events: none; }
.greet { display: flex; gap: 9px; align-items: center; margin-bottom: 10px; }
.greet .av { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--red); background: linear-gradient(135deg, #f6c7a8, #b97a55); flex: none; }
.greet b { display: block; font-size: 14px; }
.greet span { color: var(--muted); font-size: 10.5px; }
.shortcuts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 10px; }
.shortcuts div { background: var(--surface); border-radius: 10px; padding: 7px 4px; font-weight: 800; font-size: 9.5px; text-align: center; }
.shortcuts i { color: var(--red); font-style: normal; margin-right: 3px; }
.scan-card { background: linear-gradient(135deg, var(--red), var(--red-deep)); border-radius: 18px; padding: 12px; color: #fff; text-align: center; }
.scan-card .lbl { font-size: 9px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.9; }
.scan-tile { position: relative; width: 112px; height: 72px; margin: 9px auto; display: grid; place-items: center; animation: pulse 2.4s infinite ease-in-out; }
.scan-tile .c { position: absolute; width: 16px; height: 16px; border: 3px solid #fff; }
.scan-tile .c.tl { top: 0; left: 0; border-right: 0; border-bottom: 0; border-radius: 6px 0 0 0; }
.scan-tile .c.tr { top: 0; right: 0; border-left: 0; border-bottom: 0; border-radius: 0 6px 0 0; }
.scan-tile .c.bl { bottom: 0; left: 0; border-right: 0; border-top: 0; border-radius: 0 0 0 6px; }
.scan-tile .c.br { bottom: 0; right: 0; border-left: 0; border-top: 0; border-radius: 0 0 6px 0; }
.bars { width: 64px; height: 36px; background: repeating-linear-gradient(90deg, #fff 0 2px, transparent 2px 4px, #fff 4px 5px, transparent 5px 8px, #fff 8px 11px, transparent 11px 12px); }
.laser { position: absolute; left: 10px; right: 10px; height: 2px; background: #fff; box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.9); animation: laser 1.8s infinite ease-in-out; }
@keyframes laser { 0%, 100% { top: 12%; } 50% { top: 86%; } }
@keyframes pulse { 50% { transform: scale(1.04); } }
.pill { display: inline-flex; align-items: center; gap: 5px; background: rgba(255, 255, 255, 0.18); padding: 4px 9px; border-radius: 99px; font-weight: 800; font-size: 9.5px; }
.pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #4ade80; }
.gold-btn { margin-top: 9px; background: var(--gold); color: #1a1200; font-weight: 800; border-radius: 99px; padding: 8px; font-size: 11px; }
.points { display: flex; gap: 9px; align-items: center; margin-top: 10px; border: 1px solid var(--line); border-radius: 14px; padding: 9px; }
.coin { width: 30px; height: 30px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; font-weight: 800; color: #1a1200; flex: none; }
.points b { font-size: 15px; }
.bar { height: 6px; background: #ece6e4; border-radius: 9px; overflow: hidden; margin: 4px 0 3px; }
.bar i { display: block; height: 100%; width: 62%; background: var(--red); border-radius: 9px; transition: width 1s cubic-bezier(0.2, 0.7, 0.2, 1); }
.points small { color: var(--muted); font-size: 9px; }
/* Screen 2: scanned */
.scanned { text-align: center; padding-top: 22px; }
.scanned .prod { width: 86px; height: 120px; margin: 0 auto 10px; object-fit: contain; }
.tick { width: 46px; height: 46px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-size: 24px; font-weight: 800; margin: 0 auto 10px; }
.scanned h4 { margin: 0 0 4px; font-size: 15px; }
.scanned .earn { display: inline-block; background: var(--gold); border-radius: 99px; padding: 5px 12px; font-weight: 800; margin: 8px 0 12px; font-size: 12px; }
.incentive { border: 1.5px dashed var(--red); background: var(--red-soft); border-radius: 14px; padding: 10px; font-weight: 800; }
.incentive span { display: block; color: var(--muted); font-weight: 600; font-size: 9.5px; margin-top: 2px; }
/* Screen 3: Help Card */
.helpcard { margin-top: 16px; border-radius: 18px; overflow: hidden; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12); }
.helpcard .top { background: linear-gradient(135deg, var(--red), var(--red-deep)); color: #fff; padding: 12px; }
.helpcard .top b { font-size: 14px; display: block; }
.helpcard .stars { color: var(--gold); letter-spacing: 2px; font-size: 13px; }
.helpcard .body { padding: 11px 12px; font-size: 10.5px; }
.helpcard .who { display: flex; align-items: center; gap: 7px; margin-top: 8px; font-weight: 800; }
.helpcard .who .av { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, #f6c7a8, #b97a55); }
.wa { margin-top: 12px; background: #25d366; color: #fff; border-radius: 99px; padding: 9px; text-align: center; font-weight: 800; font-size: 11.5px; }
.tabbar { position: absolute; left: 0; right: 0; bottom: 0; height: 46px; border-top: 1px solid var(--line); background: #fff; display: flex; justify-content: space-around; align-items: center; font-size: 8.5px; font-weight: 800; color: var(--muted); }
.tabbar .on { color: var(--red); }
.dots { display: flex; gap: 6px; justify-content: center; margin-top: 16px; }
.dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: #d9d1cf; cursor: pointer; transition: width 0.3s, background 0.3s; }
.dots button.on { width: 24px; background: var(--red); }

@media (max-width: 860px) {
  section { padding: 68px 0; }
  .nav { height: 64px; }
  .nav .logo img { height: 28px; }
  .menu-btn { display: block; }
  .nav-links { position: fixed; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; padding: 8px 20px 24px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px rgba(0, 0, 0, 0.08); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: transform 0.2s, opacity 0.2s; }
  .menu-open .nav-links { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav-links .btn { margin-top: 16px; border: 0; }
  .nav .get-top { margin-left: auto; }
  .menu-btn { margin-left: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
