/* ============================================================
   Wazbuy — Components
   ============================================================ */

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.nav__inner {
  display: flex; align-items: center; gap: 28px;
  height: 76px;
}
.nav.scrolled { background: rgba(241,244,236,0.82); backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand__logo { height: 38px; width: auto; display: block; }
.brand__logo--sm { height: 30px; }
@media (max-width: 480px) { .brand__logo { height: 34px; } }
.brand__mark {
  width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center;
  position: relative; overflow: hidden;
}
.brand__mark img { width: 100%; height: 100%; display: block; }
.nav__links { display: flex; gap: 4px; margin-left: 8px; }
.nav__links a {
  padding: 9px 14px; border-radius: var(--r-pill);
  font-size: 15px; font-weight: 600; color: var(--muted);
  transition: color .2s, background .2s; white-space: nowrap;
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--text); background: rgba(8,25,16,0.05); }
.nav__links a[aria-current="page"] { color: var(--brand-700); }
.nav__cta { margin-left: auto; display: flex; align-items: center; gap: 12px; }

/* burger + mobile sheet */
.nav__burger {
  display: none; margin-left: auto;
  width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center;
  box-shadow: inset 0 0 0 1.5px var(--line); color: var(--text);
}
.nav__burger svg { width: 22px; height: 22px; }
.nav__burger .x-ico { display: none; }
.nav[data-menu="open"] .nav__burger .x-ico { display: block; }
.nav[data-menu="open"] .nav__burger .m-ico { display: none; }
.nav__mobile {
  display: none;
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--paper-2); border-top: 1px solid var(--line); box-shadow: var(--sh-2);
  padding: 14px clamp(20px, 5vw, 56px) 22px;
}
.nav[data-menu="open"] .nav__mobile { display: block; animation: sheetIn .26s cubic-bezier(.2,.8,.2,1); }
@keyframes sheetIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.nav__mobile a.m-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 6px; font-size: 17px; font-weight: 600; border-bottom: 1px solid var(--line-2);
}
.nav__mobile a.m-link svg { width: 18px; height: 18px; color: var(--muted-2); }
.nav__mobile .m-cta { display: grid; gap: 10px; margin-top: 18px; }

@media (max-width: 940px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__burger { display: inline-flex; }
}

/* ---------- Section heads ---------- */
.sec-head { max-width: 720px; }
.sec-head.center { margin-inline: auto; }
.sec-head h2 { margin: 16px 0 0; }
.sec-head .lede { margin-top: 18px; }

/* ---------- Floating badges (phone / media) ---------- */
.float-badge {
  position: absolute; background: var(--card); border-radius: 14px; padding: 11px 14px;
  box-shadow: var(--sh-2); display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600;
  border: 1px solid var(--line-2); z-index: 8;
}
.float-badge .fb-ico { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.float-badge .fb-ico svg { width: 17px; height: 17px; }
.float-badge small { display: block; font-weight: 500; color: var(--muted); font-size: 11px; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------- Feature / capability list ---------- */
.cap-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px,4vw,60px); align-items: center; }
.cap-list { display: grid; gap: 14px; }
.cap {
  display: flex; gap: 15px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-md);
  padding: 17px 19px; box-shadow: var(--sh-1);
  transition: transform .2s, box-shadow .2s;
}
.cap:hover { transform: translateX(4px); box-shadow: var(--sh-2); }
.cap .n { width: 38px; height: 38px; flex: none; border-radius: 11px; background: var(--accent-soft); color: var(--brand-600); display: grid; place-items: center; }
.cap .n svg { width: 19px; height: 19px; }
.cap b { font-weight: 700; font-size: 16px; }
.cap p { color: var(--muted); font-size: 14px; margin-top: 1px; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; }
.steps::before { content: ""; position: absolute; top: 30px; left: 7%; right: 7%; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px); z-index: 0; }
.step { position: relative; z-index: 1; text-align: center; }
.step__num {
  width: 60px; height: 60px; border-radius: 18px; margin: 0 auto 16px;
  background: var(--card); box-shadow: var(--sh-2); border: 1px solid var(--line-2);
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 24px;
  color: var(--brand-600); position: relative;
}
.step__num::after { content: ""; position: absolute; inset: -5px; border-radius: 22px; border: 2px solid var(--accent-soft); opacity: 0; transition: opacity .3s; }
.step:hover .step__num::after { opacity: 1; }
.step h4 { font-family: var(--font-display); font-weight: 700; font-size: 17px; margin-bottom: 6px; letter-spacing: -0.02em; }
.step p { font-size: 14px; color: var(--muted); }
.step .pays { display: flex; flex-wrap: wrap; gap: 5px; justify-content: center; margin-top: 9px; }
.step .pay-pill { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: var(--r-pill); background: var(--accent-soft); color: var(--brand-700); }
@media (max-width: 860px) {
  .steps { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .steps::before { display: none; }
}
@media (max-width: 460px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Feature / benefit grids ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 900px) { .cards-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .cards-3, .cards-2 { grid-template-columns: 1fr; } }

/* ---------- Fraud / dark section ---------- */
.dark { background: var(--ink); color: #EAF2EC; position: relative; overflow: hidden; }
.dark::before { content:""; position:absolute; inset:0; background: radial-gradient(900px 500px at 80% -10%, rgba(43,224,110,0.14), transparent 60%), radial-gradient(700px 500px at 0% 110%, rgba(18,146,63,0.12), transparent 55%); pointer-events:none; }
.dark .eyebrow { color: var(--lime); background: color-mix(in oklab, var(--lime) 12%, transparent); border-color: color-mix(in oklab, var(--lime) 26%, transparent); }
.dark .lede { color: rgba(234,242,236,0.72); }
.dark .muted { color: rgba(234,242,236,0.6); }
.dark .card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); box-shadow: none; }
.dark .card:hover { background: rgba(255,255,255,0.07); border-color: rgba(43,224,110,0.4); transform: translateY(-4px); }
.dark .card h4 { color: #fff; }
.dark .card p { color: rgba(234,242,236,0.62); }
.dark .card .ico { background: rgba(43,224,110,0.14); color: var(--lime); }

.fraud-hero { display: grid; grid-template-columns: 1fr 0.85fr; gap: clamp(28px,4vw,56px); align-items: center; }
@media (max-width: 900px) { .fraud-hero { grid-template-columns: 1fr; } }

/* fraud scanner card (payment screenshot is a CSS mock — see v2.css) */
.scan-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.09); border-radius: var(--r-xl);
  padding: 22px; position: relative; box-shadow: 0 30px 70px -30px rgba(0,0,0,0.6);
}
.scan-shot { border-radius: var(--r-md); overflow: hidden; position: relative; aspect-ratio: 4/3.2; background: #0c1610; }
.scan-line { position: absolute; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--lime), transparent); box-shadow: 0 0 18px 3px rgba(43,224,110,0.6); animation: scan 2.6s ease-in-out infinite; z-index: 3; }
@keyframes scan { 0%,100% { top: 6%; } 50% { top: 92%; } }
.scan-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(43,224,110,0.10) 1px, transparent 1px), linear-gradient(90deg, rgba(43,224,110,0.10) 1px, transparent 1px); background-size: 26px 26px; z-index: 2; mix-blend-mode: screen; }
.scan-tags { position: absolute; inset: 0; z-index: 4; }
.scan-tag { position: absolute; font-family: var(--font-mono); font-size: 10px; font-weight: 700; padding: 4px 8px; border-radius: 7px; backdrop-filter: blur(4px); display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.scan-tag.ok { background: rgba(43,224,110,0.2); color: #9ff5cb; border: 1px solid rgba(43,224,110,0.5); }
.scan-tag.warn { background: rgba(244,163,35,0.2); color: #ffd98a; border: 1px solid rgba(244,163,35,0.5); }
.scan-tag svg { width: 11px; height: 11px; }
.scan-result { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 16px; border-radius: var(--r-md); background: rgba(43,224,110,0.12); border: 1px solid rgba(43,224,110,0.4); }
.scan-result .lbl { display: flex; align-items: center; gap: 9px; font-weight: 700; white-space: nowrap; }
.scan-result .lbl svg { width: 20px; height: 20px; color: var(--verify); }
.scan-result .score { font-family: var(--font-mono); font-weight: 800; color: var(--lime); white-space: nowrap; }

.fraud-steps { display: grid; grid-template-columns: repeat(5,1fr); gap: 14px; }
.fstep { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--r-md); padding: 20px 18px; }
.fstep .fn { font-family: var(--font-mono); color: var(--lime); font-size: 13px; font-weight: 800; }
.fstep h4 { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: #fff; margin: 10px 0 6px; letter-spacing: -0.02em; line-height: 1.15; }
.fstep p { font-size: 13px; color: rgba(234,242,236,0.6); }
.fstep .checks { margin-top: 10px; display: grid; gap: 5px; }
.fstep .checks li { font-size: 12px; color: rgba(234,242,236,0.72); display: flex; gap: 7px; align-items: center; }
.fstep .checks li::before { content:""; width:5px; height:5px; border-radius:50%; background: var(--lime); flex:none; }
.fstep .verdict { display: flex; flex-direction: column; gap: 7px; margin-top: 10px; }
.verdict-pill { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; padding: 6px 11px; border-radius: var(--r-pill); width: fit-content; white-space: nowrap; }
.verdict-pill.ok { background: rgba(43,224,110,0.16); color: #9ff5cb; }
.verdict-pill.bad { background: rgba(239,83,80,0.16); color: #ffb3b1; }
.verdict-pill svg { width: 13px; height: 13px; }
@media (max-width: 900px) { .fraud-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .fraud-steps { grid-template-columns: 1fr; } }

/* quote */
.quote { text-align: center; max-width: 900px; margin-inline: auto; }
.quote blockquote { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 4.6vw, 52px); letter-spacing: -0.03em; line-height: 1.08; }
.quote .lime { color: var(--brand-600); }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding-block: 14px; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 14px; width: max-content; animation: marq 36s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marq { to { transform: translateX(-50%); } }
.seg {
  display: inline-flex; align-items: center; gap: 11px; padding: 16px 26px; border-radius: var(--r-pill);
  background: var(--card); box-shadow: var(--sh-1); border: 1px solid var(--line-2);
  font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -0.02em; white-space: nowrap;
  transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s;
}
.seg:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.seg .em { width: 34px; height: 34px; border-radius: 10px; background: var(--accent-soft); color: var(--brand-600); display: grid; place-items: center; }
.seg .em svg { width: 18px; height: 18px; }

/* ---------- Final CTA ---------- */
.cta-final { position: relative; }
.cta-box {
  background: linear-gradient(160deg, var(--ink-3), var(--ink)); color: #fff;
  border-radius: var(--r-xl); padding: clamp(40px,6vw,84px); text-align: center; position: relative; overflow: hidden;
  box-shadow: var(--sh-3);
}
.cta-box::before { content:""; position:absolute; inset:0; background: radial-gradient(600px 400px at 50% -20%, rgba(43,224,110,0.25), transparent 60%); }
.cta-box::after { content:""; position:absolute; right:-56px; bottom:-66px; width:340px; height:340px; background: url("brand/wazbuy-mark-white.svg") center/contain no-repeat; opacity:.06; pointer-events:none; }
.cta-box > * { position: relative; }
.cta-box h2 { color: #fff; }
.cta-box .lede { color: rgba(255,255,255,0.7); margin: 18px auto 0; max-width: 44ch; }
.waitlist { display: flex; gap: 10px; max-width: 480px; margin: 30px auto 0; }
.waitlist input {
  flex: 1; padding: 16px 20px; border-radius: var(--r-pill); border: none; font: inherit; font-size: 16px;
  background: rgba(255,255,255,0.1); color: #fff; outline: 2px solid rgba(255,255,255,0.14);
  transition: outline-color .2s, background .2s;
}
.waitlist input::placeholder { color: rgba(255,255,255,0.5); }
.waitlist input:focus { outline-color: var(--lime); background: rgba(255,255,255,0.16); }
.waitlist__ok { margin-top: 18px; color: var(--lime); font-weight: 600; display: none; align-items: center; justify-content: center; gap: 8px; }
.waitlist__ok.show { display: flex; }
.waitlist__ok svg { width: 18px; height: 18px; }
.cta-note { margin-top: 16px; font-size: 13.5px; color: rgba(255,255,255,0.5); }
@media (max-width: 520px) { .waitlist { flex-direction: column; } }

/* ---------- Footer ---------- */
.footer { background: var(--paper-2); border-top: 1px solid var(--line); padding-block: 60px 34px; }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.footer__brand .brand { margin-bottom: 14px; }
.footer__top p { color: var(--muted); font-size: 14.5px; max-width: 32ch; }
.footer__social { display: flex; gap: 10px; margin-top: 18px; }
.footer__social a {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: var(--card); box-shadow: var(--sh-1); border: 1px solid var(--line-2); color: var(--muted);
  transition: transform .2s, color .2s, border-color .2s;
}
.footer__social a:hover { transform: translateY(-3px); color: var(--brand-600); border-color: var(--brand); }
.footer__social svg { width: 19px; height: 19px; }
.footer h5 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted-2); font-family: var(--font-mono); font-weight: 700; margin-bottom: 14px; }
.footer ul { display: grid; gap: 10px; }
.footer ul a { color: var(--muted); font-size: 15px; transition: color .2s; }
.footer ul a:hover { color: var(--brand-600); }
.footer__bot { display: flex; justify-content: space-between; align-items: center; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: 13.5px; flex-wrap: wrap; gap: 12px 20px; }
.footer__bot .powered { display: inline-flex; align-items: center; gap: 7px; }
.footer__bot .powered .meta-mark { height: 18px; width: auto; display: inline-block; vertical-align: middle; }
.footer__bot .powered b { color: var(--text); font-weight: 700; }
@media (max-width: 860px) { .footer__top { grid-template-columns: 1fr 1fr; gap: 32px 24px; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer__top { grid-template-columns: 1fr; } }

/* ---------- Testimonials (quote-first, no photo dependency) ---------- */
.testis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi {
  background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-lg);
  padding: 26px 26px 24px; box-shadow: var(--sh-1); display: flex; flex-direction: column; gap: 14px;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, border-color .25s;
}
.testi:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: var(--line); }
.testi__stars { display: flex; gap: 2px; color: var(--brand); }
.testi__stars svg { width: 17px; height: 17px; }
.testi__claim { font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; line-height: 1.18; }
.testi__quote { color: var(--muted); font-size: 14.5px; line-height: 1.55; flex: 1; }
.testi__who { display: flex; align-items: center; gap: 12px; margin-top: 4px; padding-top: 16px; border-top: 1px solid var(--line-2); }
.testi__who > span { flex: 1; min-width: 0; }
.testi__who .nm { font-weight: 700; font-size: 14.5px; line-height: 1.15; }
.testi__who .rl { font-size: 12.5px; color: var(--muted); }
.avatar {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 16px;
  font-family: var(--font-display); background: var(--grad-brand); box-shadow: var(--sh-1);
}
.avatar--amber { background: linear-gradient(135deg, #ffce6b, #f4a323); }
.avatar--ink { background: linear-gradient(135deg, #2c5a44, #122a1e); }
.testi:hover .testi__claim { color: var(--brand-700); transition: color .2s; }
@media (max-width: 900px) { .testis { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

/* ---------- Comparison (selling by hand vs with Wazbuy) ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 980px; margin: clamp(32px, 3.6vw, 50px) auto 0; }
.compare__col { border-radius: var(--r-lg); padding: clamp(22px, 2.6vw, 30px); border: 1px solid var(--line-2); }
.compare__col--bad { background: var(--paper-2); }
.compare__col--good { background: var(--card); border-color: color-mix(in oklab, var(--brand) 30%, transparent); box-shadow: 0 20px 46px -22px rgba(22,162,76,0.30); }
.compare__head { font-family: var(--font-mono); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.compare__col--bad .compare__head { color: var(--muted); }
.compare__col--good .compare__head { color: var(--brand-700); }
.compare ul { display: grid; gap: 13px; }
.compare li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; line-height: 1.45; color: var(--text); }
.compare__col--bad li { color: var(--muted); }
.compare .mk { width: 21px; height: 21px; flex: none; border-radius: 50%; display: grid; place-items: center; margin-top: 1px; }
.compare .mk svg { width: 11px; height: 11px; }
.compare__col--bad .mk { background: rgba(192,69,59,0.12); color: #c0453b; }
.compare__col--good .mk { background: color-mix(in oklab, var(--brand) 15%, transparent); color: var(--brand-600); }
@media (max-width: 720px) { .compare { grid-template-columns: 1fr; } }

/* testi author block: keep avatar circular (beats .testi__who > span) and stack name/role */
.testi__who > .avatar { flex: 0 0 auto; }
.testi__who .nm, .testi__who .rl { display: block; }
