/* Mintadeal website. Toyota red and muted yellow, like the apps. */
:root {
  --red: #eb0a1e;
  --red-deep: #b8000f;
  --red-dark: #8e0010;
  --red-soft: #ffe8ea;
  --yellow: #f2cd5c;
  --yellow-soft: #fff5d6;
  --cream: #fff8f0;
  --ink: #1f1f1f;
  --muted: #5b5b66;
  --line: #ececf1;
  --bg: #ffffff;
  --card: #ffffff;
  --radius: 20px;
  --shadow: 0 18px 50px -20px rgba(142, 0, 16, 0.35);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* clip, not hidden: hidden would stop the header from sticking. */
  overflow-x: clip;
}
html { overflow-x: clip; }
.marquee-wrap { overflow: hidden; padding: 6px 0; margin-top: -32px; position: relative; z-index: 3; }
img { max-width: 100%; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }

/* ---------- Header ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 248, 240, 0.82);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.nav.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(0,0,0,.35); }
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 72px; }
.nav .logo img { height: 40px; width: auto; }
.nav ul { display: flex; gap: 26px; list-style: none; margin: 0 0 0 auto; padding: 0; }
.nav ul a { color: var(--ink); font-weight: 600; font-size: 15px; position: relative; }
.nav ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 3px; border-radius: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav ul a:hover { text-decoration: none; }
.nav ul a:hover::after, .nav ul a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { margin-left: 8px; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2.5px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .3s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; font-weight: 800; font-size: 16px;
  border: 2px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 12px 30px -12px rgba(235, 10, 30, .7); }
.btn-red:hover { background: var(--red-deep); box-shadow: 0 16px 34px -12px rgba(235, 10, 30, .8); }
.btn-yellow { background: var(--yellow); color: var(--ink); box-shadow: 0 12px 30px -14px rgba(180, 130, 0, .7); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--red); color: var(--red); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--cream); overflow: hidden; padding: 64px 0 96px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; position: relative; z-index: 2; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800;
  letter-spacing: .18em; color: var(--red); text-transform: uppercase;
}
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: pulse 1.8s infinite; }
h1, h2, h3 { line-height: 1.1; margin: 0; letter-spacing: -0.02em; }
.hero h1 { font-size: clamp(40px, 6vw, 72px); font-weight: 800; margin: 18px 0 20px; }
.rotator { display: inline-grid; color: var(--red); }
.rotator span {
  grid-area: 1 / 1; opacity: 0; transform: translateY(40%);
  transition: opacity .5s, transform .5s cubic-bezier(.2,.8,.2,1);
}
.rotator span.on { opacity: 1; transform: none; }
.rotator span.off { opacity: 0; transform: translateY(-40%); }
.highlight { position: relative; white-space: nowrap; }
.highlight::after {
  content: ""; position: absolute; left: -4px; right: -4px; bottom: 6px; height: 16px; z-index: -1;
  background: var(--yellow); border-radius: 6px; transform: scaleX(0); transform-origin: left;
  animation: grow 1s .6s cubic-bezier(.2,.8,.2,1) forwards;
}
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 560px; margin: 0 0 30px; }
.hero .ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .trust { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 34px; color: var(--muted); font-size: 14px; font-weight: 600; }
.hero .trust b { color: var(--ink); }
.hero .trust span { display: inline-flex; align-items: center; gap: 8px; }

/* Soft moving blobs behind the hero */
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; z-index: 1; animation: drift 18s ease-in-out infinite alternate; }
.blob.b1 { width: 520px; height: 520px; background: #ffd27a; top: -160px; right: -120px; }
.blob.b2 { width: 420px; height: 420px; background: #ff9aa3; bottom: -200px; left: -120px; animation-delay: -6s; }
.blob.b3 { width: 300px; height: 300px; background: #ffe7b0; top: 40%; left: 45%; animation-delay: -11s; }

/* Phone with the real app screen, and floating deal cards */
.stage { position: relative; height: 620px; display: grid; place-items: center; }
.phone {
  position: relative; width: 300px; aspect-ratio: 390 / 844; border-radius: 46px; padding: 12px;
  background: linear-gradient(145deg, #2b2b2b, #0f0f0f);
  box-shadow: 0 50px 80px -30px rgba(80, 0, 10, .55), inset 0 0 0 2px #3a3a3a;
  animation: float 7s ease-in-out infinite;
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 36px; }
.phone::before {
  content: ""; position: absolute; top: 4px; left: 50%; width: 6px; height: 6px; transform: translateX(-50%);
  background: #3a3a3a; border-radius: 50%; z-index: 2;
}
.chip-card {
  position: absolute; z-index: 3; background: #fff; border-radius: 16px; padding: 12px 14px;
  display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow); font-size: 14px; font-weight: 700;
  animation: float 6s ease-in-out infinite;
}
.chip-card small { display: block; font-weight: 600; color: var(--muted); font-size: 12px; }
.chip-card .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; flex: none; }
.chip-card.c1 { top: 70px; left: -10px; animation-delay: -1s; }
.chip-card.c2 { top: 300px; right: -20px; animation-delay: -3s; }
.chip-card.c3 { bottom: 70px; left: 0; animation-delay: -4.5s; }
.badge-off { background: var(--red); color: #fff; padding: 4px 10px; border-radius: 8px; font-size: 13px; font-weight: 800; }
.ring { position: absolute; border: 2px dashed rgba(235, 10, 30, .25); border-radius: 50%; animation: spin 40s linear infinite; }
.ring.r1 { width: 520px; height: 520px; }
.ring.r2 { width: 380px; height: 380px; animation-direction: reverse; animation-duration: 30s; border-color: rgba(242, 205, 92, .7); }

/* ---------- Category marquee ---------- */
.marquee { background: var(--red); color: #fff; overflow: hidden; padding: 18px 0; transform: rotate(-1.5deg); margin: 0 -10px; }
.marquee .track { display: flex; gap: 46px; width: max-content; animation: marquee 32s linear infinite; }
.marquee span { font-weight: 800; font-size: 20px; display: inline-flex; align-items: center; gap: 46px; white-space: nowrap; }
.marquee span::after { content: "✦"; color: var(--yellow); }

/* ---------- Sections ---------- */
section { padding: 110px 0; position: relative; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.section-head h2 { font-size: clamp(32px, 4.4vw, 50px); font-weight: 800; margin: 14px 0 16px; }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; }
.step {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 28px;
  position: relative; transition: transform .3s, box-shadow .3s, border-color .3s; counter-increment: step;
}
.step:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.step::before {
  content: "0" counter(step); position: absolute; top: 22px; right: 26px;
  font-size: 54px; font-weight: 800; color: var(--red-soft); line-height: 1;
}
.icon-tile {
  width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; font-size: 30px;
  background: var(--yellow-soft); margin-bottom: 20px; transition: transform .3s;
}
.step:hover .icon-tile, .way:hover .icon-tile { transform: rotate(-8deg) scale(1.08); }
.step h3, .way h3 { font-size: 22px; margin-bottom: 10px; }
.step p, .way p { color: var(--muted); margin: 0; }

.ways { background: linear-gradient(180deg, #fff 0%, var(--cream) 100%); }
.ways-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.way {
  border-radius: var(--radius); padding: 30px 24px; background: #fff; border: 1px solid var(--line);
  transition: transform .3s, box-shadow .3s;
}
.way:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.way .icon-tile { background: var(--red-soft); }

/* Nearby vs city-wide split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; margin: 14px 0 18px; }
.split p { color: var(--muted); font-size: 18px; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 14px; align-items: flex-start; font-weight: 600; }
.ticks li::before {
  content: "✓"; flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--red); color: #fff; font-size: 14px; font-weight: 800; margin-top: 1px;
}
.shot-pair { position: relative; height: 560px; }
.shot-pair .phone { position: absolute; width: 250px; }
.shot-pair .phone:first-child { left: 4%; top: 40px; transform: rotate(-6deg); animation: none; }
.shot-pair .phone:last-child { right: 4%; top: 0; transform: rotate(5deg); animation: none; }

/* For shops band */
.shops-band { background: radial-gradient(1200px 500px at 85% -10%, #ff4a58 0%, transparent 60%), linear-gradient(135deg, var(--red-dark), var(--red)); color: #fff; overflow: hidden; }
.shops-band .kicker { color: var(--yellow); }
.shops-band .kicker .dot { background: var(--yellow); }
.shops-band .section-head p { color: rgba(255,255,255,.85); }
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.benefit {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius);
  padding: 28px; backdrop-filter: blur(6px); transition: transform .3s, background .3s;
}
.benefit:hover { transform: translateY(-6px); background: rgba(255,255,255,.14); }
.benefit h3 { font-size: 20px; margin: 14px 0 8px; }
.benefit p { margin: 0; color: rgba(255,255,255,.85); }
.benefit .emoji { font-size: 32px; }
.shops-cta { text-align: center; margin-top: 50px; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq details {
  border: 1px solid var(--line); border-radius: 16px; padding: 0 24px; background: #fff;
  transition: box-shadow .3s, border-color .3s;
}
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary {
  cursor: pointer; list-style: none; padding: 22px 0; font-weight: 700; font-size: 18px;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 26px; color: var(--red); transition: transform .3s; line-height: 1;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; color: var(--muted); }

/* Final call to action */
.cta-band {
  margin: 0 auto; border-radius: 32px; padding: 64px 48px; text-align: center; position: relative; overflow: hidden;
  background: var(--yellow); box-shadow: 0 40px 80px -40px rgba(160, 110, 0, .6);
}
.cta-band h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 800; margin-bottom: 14px; }
.cta-band p { font-size: 18px; margin: 0 auto 30px; max-width: 560px; }
.cta-band .ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-band::before, .cta-band::after {
  content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.35); animation: drift 14s ease-in-out infinite alternate;
}
.cta-band::before { width: 260px; height: 260px; top: -90px; left: -60px; }
.cta-band::after { width: 200px; height: 200px; bottom: -80px; right: -40px; animation-delay: -5s; }
.cta-band > * { position: relative; }

/* ---------- Footer ---------- */
footer { background: #141416; color: #c9c9d1; padding: 70px 0 30px; margin-top: 110px; }
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
footer .brand img { height: 42px; background: #fff; padding: 8px 12px; border-radius: 12px; }
footer h4 { color: #fff; margin: 0 0 16px; font-size: 15px; letter-spacing: .04em; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
footer a { color: #c9c9d1; }
footer a:hover { color: #fff; }
footer .fine { border-top: 1px solid #2a2a2e; margin-top: 50px; padding-top: 24px; font-size: 13px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* ---------- Inner pages (policies, contact, shops) ---------- */
.page-hero { background: var(--cream); padding: 70px 0 60px; position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 800; margin: 14px 0 12px; position: relative; z-index: 2; }
.page-hero p { color: var(--muted); font-size: 18px; margin: 0; position: relative; z-index: 2; max-width: 680px; }
.page-hero .kicker { position: relative; z-index: 2; }
.prose { max-width: 820px; margin: 0 auto; padding: 60px 0 0; }
.prose h2 { font-size: 26px; margin: 46px 0 14px; }
.prose h3 { font-size: 19px; margin: 28px 0 10px; }
.prose p, .prose li { color: #3a3a44; font-size: 17px; }
.prose ul { padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose .updated { color: var(--muted); font-size: 14px; }
.callout { background: var(--yellow-soft); border-left: 5px solid var(--yellow); border-radius: 12px; padding: 18px 22px; margin: 24px 0; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 50px; }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .3s, box-shadow .3s; background: #fff; }
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.contact-card h3 { font-size: 18px; margin: 14px 0 6px; }
.contact-card p { margin: 0; color: var(--muted); }
.contact-card .value { color: var(--ink); font-weight: 700; font-size: 17px; word-break: break-word; }
.todo { background: #fff3cd; color: #7a5a00; border-radius: 6px; padding: 0 6px; font-weight: 700; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; }

/* ---------- Animations ---------- */
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(60px, 40px) scale(1.15); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(235,10,30,.5); } 70% { box-shadow: 0 0 0 10px rgba(235,10,30,0); } 100% { box-shadow: 0 0 0 0 rgba(235,10,30,0); } }
@keyframes grow { to { transform: scaleX(1); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .rotator span { opacity: 0; } .rotator span.on { opacity: 1; transform: none; }
  .highlight::after { transform: none; }
}

/* ---------- Small screens ---------- */
@media (max-width: 980px) {
  .hero .wrap, .split { grid-template-columns: 1fr; }
  .stage { height: 560px; }
  .steps, .benefits { grid-template-columns: 1fr; }
  .ways-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  footer .cols { grid-template-columns: 1fr 1fr; }
  .shot-pair { height: 500px; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 32px); }
  .menu-toggle { display: block; }
  .nav ul {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0; background: var(--cream);
    padding: 10px 16px 20px; border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: transform .35s;
  }
  .nav ul li a { display: block; padding: 14px 4px; }
  .nav.open ul { transform: none; }
  .nav.open .menu-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav.open .menu-toggle span:nth-child(2) { opacity: 0; }
  .nav.open .menu-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .nav .wrap > .btn { display: none; }
  section { padding: 80px 0; }
  .hero { padding: 40px 0 80px; }
  .stage { height: 520px; }
  .phone { width: 250px; }
  .chip-card { font-size: 13px; padding: 10px 12px; }
  .chip-card.c1 { left: 0; top: 30px; } .chip-card.c2 { right: 0; } .chip-card.c3 { left: 4px; bottom: 30px; }
  .ring.r1 { width: 400px; height: 400px; } .ring.r2 { width: 300px; height: 300px; }
  .ways-grid { grid-template-columns: 1fr; }
  .shot-pair { height: 440px; } .shot-pair .phone { width: 190px; }
  .cta-band { padding: 48px 22px; border-radius: 24px; }
  footer .cols { grid-template-columns: 1fr; }
}
