/* ==========================================================================
   SPOTBOT funnel page — components on top of the shared Dink Agri styles
   ========================================================================== */

/* --- nav partner tag ------------------------------------------------------ */
.nav__brand { display: inline-flex; align-items: baseline; gap: 0.55rem; }
.nav__x { color: var(--muted); font-size: 0.9rem; }
.nav__partner {
  font-family: var(--display);
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  color: var(--orange);
}

/* --- home icon (always visible, also above the open mobile menu) ----------- */
.nav__home {
  position: relative;
  z-index: 110;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(242, 241, 237, 0.22);
  color: var(--muted);
  transition: border-color .25s, color .25s, transform .25s ease;
}
.nav__home:hover {
  border-color: var(--blue-bright);
  color: var(--blue-bright);
  transform: translateY(-1px);
}
.nav__home svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --- hero detection overlay ------------------------------------------------ */
.hero--sb { background:
  radial-gradient(1100px 600px at 72% 18%, rgba(245, 133, 73, 0.07), transparent 60%),
  radial-gradient(900px 700px at 12% 90%, rgba(64, 110, 142, 0.14), transparent 60%),
  linear-gradient(180deg, var(--ink-0), var(--ink-1) 55%, #191b1d);
}
.hero__detect {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* the phone-style notification that pops in when the hero detection fires */
.sbnotif {
  position: absolute;
  z-index: 3;
  top: 5.4rem;
  right: var(--pad);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(23, 24, 26, 0.92);
  border: 1px solid rgba(111, 163, 199, 0.35);
  border-radius: 14px;
  padding: 0.65rem 1rem 0.65rem 0.65rem;
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.8);
  transform: translateY(-18px);
  opacity: 0;
  transition: transform .45s cubic-bezier(0.16, 1, 0.3, 1), opacity .45s;
  pointer-events: none;
  max-width: min(320px, 78vw);
}
.sbnotif.show { transform: translateY(0); opacity: 1; }
.sbnotif canvas {
  width: 66px;
  height: 50px;
  border-radius: 8px;
  background: #101214;
  border: 1px solid rgba(245, 133, 73, 0.5);
  flex: none;
}
.sbnotif__txt { display: flex; flex-direction: column; line-height: 1.3; }
.sbnotif__txt strong { font-size: 0.8rem; color: var(--blue-bright); letter-spacing: 0.04em; }
.sbnotif__txt span { font-size: 0.85rem; font-weight: 600; }
.sbnotif__txt em { font-style: normal; font-size: 0.7rem; color: var(--muted); }

/* --- problem cards ---------------------------------------------------------- */
.sbproblem { background: linear-gradient(180deg, #191b1d, var(--ink-1)); }
.probgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin: 2.6rem 0 4rem;
}
.prob {
  position: relative;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem;
  overflow: hidden;
  transition: transform .3s ease, border-color .3s;
}
.prob:hover { transform: translateY(-4px); border-color: rgba(245, 133, 73, 0.45); }
.prob__i {
  font-family: var(--display);
  font-size: 1.6rem;
  color: var(--orange);
  display: block;
  margin-bottom: 0.7rem;
}
.prob h3 {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: 1.15rem;
  letter-spacing: 0.03em;
  margin-bottom: 0.5rem;
}
.prob p { color: var(--muted); font-size: 0.95rem; line-height: 1.55; }

/* --- full-bleed photo band ----------------------------------------------------
   The source photo is dark on the left with the phone on the right, so the
   text sits vertically centred in that empty left half — split-poster style. */
.photoband {
  position: relative;
  overflow: hidden;
  background: #0d0f11;
}
.photoband img {
  display: block;
  width: 100%;
  min-height: 460px;
  max-height: 620px;
  object-fit: cover;
  object-position: 70% center; /* keep the phone in frame */
}
.photoband__cap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  background: linear-gradient(90deg,
    rgba(13, 15, 17, 0.95) 0%,
    rgba(13, 15, 17, 0.72) 38%,
    rgba(13, 15, 17, 0.15) 62%,
    transparent 75%);
}
.photoband__line {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(2rem, 4.6vw, 3.5rem);
  line-height: 1.05;
  max-width: 13ch;
}
.photoband__sub {
  color: var(--muted);
  font-size: 0.98rem;
  margin-top: 1rem;
  max-width: 24rem;
}
@media (max-width: 640px) {
  .photoband img { min-height: 430px; object-position: 74% center; }
  .photoband__cap {
    background: linear-gradient(90deg,
      rgba(13, 15, 17, 0.95) 0%,
      rgba(13, 15, 17, 0.82) 48%,
      rgba(13, 15, 17, 0.3) 80%);
  }
}

/* --- setup diagram card -------------------------------------------------------- */
.setupcard {
  margin: 3.5rem auto 0;
  max-width: 760px;
  background: #f4f4f2;
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  box-shadow: 0 40px 90px -50px rgba(0, 0, 0, 0.8);
}
.setupcard img { display: block; width: 100%; }
.setupcard figcaption {
  padding: 1.1rem 1.5rem 1.3rem;
  background: var(--ink-2);
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
  border-top: 3px solid var(--blue);
}

/* --- app showcase (benefits) ---------------------------------------------------- */
.appshow {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.6rem, 4vw, 3.5rem);
  align-items: center;
  margin-top: 3.2rem;
}
.appshow__img {
  width: 100%;
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid var(--line);
}
.appshow .sbpull { margin-top: 0; }
.appshow__note { margin-top: 1.4rem; color: var(--muted); font-size: 0.98rem; line-height: 1.6; }

/* --- how it works: steps + phone -------------------------------------------- */
.sbhow { background: var(--ink-1); }
.howgrid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  margin-top: 2.6rem;
}
.steps { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.step {
  display: flex;
  gap: 1.1rem;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  transition: border-color .3s, transform .3s ease;
}
.step:hover { transform: translateX(4px); border-color: rgba(111, 163, 199, 0.4); }
.step--hl {
  background: linear-gradient(135deg, rgba(64, 110, 142, 0.30), rgba(64, 110, 142, 0.10));
  border-color: rgba(111, 163, 199, 0.45);
}
.step__n {
  font-family: var(--display);
  font-size: 1.9rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(111, 163, 199, 0.6);
  flex: none;
  margin-top: 0.15rem;
}
.step h3 {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: 1.1rem;
  letter-spacing: 0.03em;
  margin-bottom: 0.35rem;
}
.step p { color: var(--muted); font-size: 0.93rem; line-height: 1.55; }
.step--hl p { color: rgba(242, 241, 237, 0.8); }

/* phone mockup */
.phone {
  position: relative;
  width: min(290px, 100%);
  aspect-ratio: 9 / 18;
  margin-inline: auto;
  border-radius: 38px;
  border: 2px solid rgba(242, 241, 237, 0.18);
  background:
    radial-gradient(400px 240px at 50% 0%, rgba(64, 110, 142, 0.25), transparent 70%),
    linear-gradient(180deg, #17181a, #101214);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9);
  overflow: hidden;
  padding: 3.4rem 0.9rem 1rem;
}
.phone__notch {
  position: absolute;
  top: 0.7rem;
  left: 50%;
  transform: translateX(-50%);
  width: 38%;
  height: 1.25rem;
  border-radius: 999px;
  background: #000;
  border: 1px solid rgba(242, 241, 237, 0.08);
}
.phone__time {
  position: absolute;
  top: 2.6rem;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--display);
  font-size: 2.6rem;
  color: rgba(242, 241, 237, 0.85);
  letter-spacing: 0.05em;
}
.phone__cards {
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  top: 7.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.pcardn {
  position: relative;
  background: rgba(35, 38, 41, 0.95);
  border: 1px solid rgba(111, 163, 199, 0.3);
  border-radius: 14px;
  padding: 0.75rem 0.9rem;
  padding-right: 3.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  opacity: 0;
  transform: translateY(-14px);
  transition: opacity .6s ease, transform .6s cubic-bezier(0.16, 1, 0.3, 1);
}
.pcardn.on { opacity: 1; transform: none; }
.pcardn__app {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-bright);
}
.pcardn__body { font-size: 0.84rem; font-weight: 500; line-height: 1.4; }
.pcardn__snap {
  position: absolute;
  right: 0.7rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2.3rem;
  height: 1.8rem;
  border-radius: 6px;
  border: 1px solid rgba(245, 133, 73, 0.55);
  background:
    linear-gradient(160deg, transparent 40%, rgba(245, 133, 73, 0.25)),
    #0f1113;
}
.pcardn__snap::after {
  content: '';
  position: absolute;
  left: 55%;
  top: 28%;
  width: 22%;
  height: 58%;
  border-radius: 40% 40% 20% 20%;
  background: rgba(245, 133, 73, 0.8);
}

/* --- benefits --------------------------------------------------------------- */
.sbbenefits { background: linear-gradient(180deg, var(--ink-1), #1a1c1e); }
.sbbenefits .topics { margin-top: 2.6rem; }
.sbpull { margin-top: 3rem; max-width: 46rem; }

/* --- videos ------------------------------------------------------------------ */
.sbvideos { background: #1a1c1e; }
.vidgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-top: 2.6rem;
}
.vid {
  position: relative;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 0;
}
.vid video,
.vid__frame iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0f1113;
  border: 0;
}
.vid__empty {
  position: absolute;
  inset: 0 0 2.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: repeating-linear-gradient(45deg, #17181a, #17181a 12px, #191b1d 12px, #191b1d 24px);
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.vid__empty .bang { font-family: var(--display); font-size: 1.8rem; }
.vid figcaption {
  padding: 0.8rem 1.1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

/* --- buy card ----------------------------------------------------------------- */
.sbbuy { background: linear-gradient(180deg, #1a1c1e, var(--ink-1) 40%); }
.buygrid { display: flex; justify-content: center; margin-top: 2.8rem; }
.buycard {
  width: min(560px, 100%);
  background:
    radial-gradient(500px 260px at 50% 0%, rgba(64, 110, 142, 0.30), transparent 70%),
    var(--ink-2);
  border: 1px solid rgba(111, 163, 199, 0.4);
  border-radius: calc(var(--radius) + 8px);
  padding: clamp(2rem, 4vw, 3rem);
  text-align: center;
  box-shadow: 0 60px 120px -60px rgba(64, 110, 142, 0.45);
}
.buycard__img {
  width: min(340px, 100%);
  margin: 0 auto 1.6rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  display: block;
}
.buycard__name {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--sage);
}
.buycard__price {
  font-family: var(--display);
  font-size: clamp(3.4rem, 9vw, 5.2rem);
  line-height: 1;
  margin-top: 0.8rem;
}
.buycard__price span { color: var(--blue-bright); font-size: 0.5em; vertical-align: super; }
.buycard__once { color: var(--muted); font-size: 0.95rem; margin-top: 0.4rem; }
.buycard__list {
  list-style: none;
  margin: 1.8rem 0;
  text-align: left;
  display: inline-block;
}
.buycard__list li {
  position: relative;
  padding: 0.5rem 0 0.5rem 1.8rem;
  font-size: 0.98rem;
  font-weight: 500;
}
.buycard__list li::before {
  content: '!';
  position: absolute;
  left: 0.2rem;
  font-family: var(--display);
  color: var(--blue-bright);
}
.buycard__pay {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
}
.btn--pf { background: var(--sage); box-shadow: 0 8px 24px -8px rgba(112, 162, 136, 0.5); }
.btn--pf:hover { background: #85b89c; box-shadow: 0 14px 32px -8px rgba(112, 162, 136, 0.45); }
.buycard__status { min-height: 1.3em; margin-top: 0.9rem; font-size: 0.92rem; color: var(--sage); }
.buycard__status.err { color: var(--orange); }
.buycard__status a { color: var(--blue-bright); font-weight: 700; text-decoration: underline; }

/* order form inside the buy card */
.orderform {
  text-align: left;
  margin-top: 0.6rem;
  border-top: 1px solid var(--line);
  padding-top: 1.6rem;
}
.orderform__lead {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 1.2rem;
  text-align: center;
}
.orderform .btn { width: 100%; margin-top: 0.4rem; }
.orderform .btn[disabled] { opacity: 0.55; pointer-events: none; }
.paychoice { margin-top: 0.8rem; }
.paychoice__lead { font-weight: 600; color: var(--paper); margin-bottom: 1rem; }
.buycard__wa {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--blue-bright);
  font-weight: 600;
  font-size: 0.95rem;
}
.buycard__wa:hover { text-decoration: underline; }
.buycard__fine {
  margin-top: 1.4rem;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
}

/* --- faq ------------------------------------------------------------------------ */
.sbfaq { background: var(--ink-1); }
.faq { margin-top: 2.4rem; max-width: 52rem; }
.faq__item {
  border-bottom: 1px solid var(--line);
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0.2rem;
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(1rem, 2vw, 1.25rem);
  letter-spacing: 0.03em;
  transition: color .25s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--blue-bright); }
.faq__item summary .bang {
  font-family: var(--display);
  transition: transform .3s ease;
  font-style: normal;
}
.faq__item[open] summary { color: var(--blue-bright); }
.faq__item[open] summary .bang { transform: rotate(180deg); color: var(--orange); }
.faq__item p {
  padding: 0 0.2rem 1.3rem;
  color: var(--muted);
  max-width: 44rem;
  line-height: 1.6;
}

/* --- responsive ------------------------------------------------------------------ */
@media (max-width: 980px) {
  .howgrid { grid-template-columns: 1fr; }
  .phone { margin-top: 1rem; }
  .vidgrid { grid-template-columns: 1fr; }
  .appshow { grid-template-columns: 1fr; }
  .appshow__img { max-width: 440px; margin-inline: auto; }
}
@media (max-width: 560px) {
  .sbnotif { top: auto; bottom: 7.5rem; }
  .buycard__pay .btn { width: 100%; }
}
@media (max-width: 480px) {
  .nav__x, .nav__partner { display: none; } /* keep the bar from crowding on small phones */
}

@media (prefers-reduced-motion: reduce) {
  .sbnotif { transition: none; }
  .pcardn { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   KOEKIE-TOESTEMMING — pinned bottom bar; gates the Meta Pixel.
   Hidden by default so it never flashes for visitors who already answered.
   ========================================================================== */
.cookiebar {
  position: fixed;
  left: 1rem; right: 1rem; bottom: 1rem;
  z-index: 120;
  margin-inline: auto;
  max-width: 46rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .9rem 1.2rem;
  padding: 1rem 1.2rem;
  background: var(--ink-2);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: .7rem;
  box-shadow: 0 .6rem 2rem rgba(0,0,0,.45);
}
.cookiebar[hidden] { display: none; }

.cookiebar__txt {
  flex: 1 1 18rem;
  margin: 0;
  font-size: .9rem;
  line-height: 1.5;
  color: var(--muted);
}
.cookiebar__btns {
  display: flex;
  gap: .5rem;
  margin-left: auto;
}

@media (max-width: 34rem) {
  .cookiebar__btns { width: 100%; margin-left: 0; }
  .cookiebar__btns .btn { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .cookiebar { transition: none; }
}

/* The privacy-policy link inside the consent bar has to look like a link —
   at the muted body colour it reads as plain text and nobody clicks it. */
.cookiebar__txt a {
  color: var(--blue-bright);
  text-decoration: underline;
  text-underline-offset: .15em;
}
.cookiebar__txt a:hover { color: var(--paper); }

/* Decline sits on a dark bar: keep its label clearly legible rather than
   letting it fade into the background. Consent has to be a real choice. */
.cookiebar .btn--ghost {
  border-color: rgba(242, 241, 237, .45);
  color: var(--paper);
}
.cookiebar .btn--ghost:hover {
  border-color: var(--blue-bright);
  color: var(--blue-bright);
}
