/* =========================================================
   Suppliable — Landing page
   Colours: solid purple + orange accent, no gradients.
   ========================================================= */

:root {
  --purple:        #4B22D6;
  --purple-dark:   #35179C;
  --purple-deep:   #2A1180;
  --orange:        #F26A1B;
  --orange-dark:   #D9560C;
  --ink:           #14122B;
  --paper:         #FFFFFF;
  --mist:          #F4F3F9;
  --line:          #E5E3F0;
  --muted:         #6B6880;

  --radius:        18px;
  --radius-sm:     12px;
  --shadow-hard:   6px 6px 0 var(--ink);
  --maxw:          1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Logo wordmark ---------- */
.logo {
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: -0.03em;
  color: var(--purple);
}
.logo-i { position: relative; }
.logo-i::after {
  content: "";
  position: absolute;
  top: -0.06em; left: 50%;
  transform: translateX(-50%);
  width: 0.26em; height: 0.26em;
  background: var(--orange);
  border-radius: 50%;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 999px;
  border: 2px solid var(--ink);
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .15s ease;
  white-space: nowrap;
}
.btn-sm  { padding: 8px 18px;  font-size: .92rem; }
.btn-lg  { padding: 15px 32px; font-size: 1.05rem; }
.btn-block { width: 100%; padding: 15px 24px; }

.btn-orange {
  background: var(--orange);
  color: #fff;
  box-shadow: var(--shadow-hard);
}
.btn-orange:hover { transform: translate(-2px,-2px); box-shadow: 8px 8px 0 var(--ink); background: var(--orange-dark); }
.btn-orange:active { transform: translate(2px,2px); box-shadow: 3px 3px 0 var(--ink); }

.btn-ghost-light {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.btn-ghost-light:hover { background: #fff; color: var(--purple); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 2px solid var(--line);
  transition: box-shadow .2s ease;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(20,18,43,.08); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav { display: flex; gap: 32px; }
.nav a {
  font-weight: 600;
  font-size: .98rem;
  color: var(--ink);
  transition: color .15s ease;
}
.nav a:hover { color: var(--purple); }
.header-actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px; height: 42px;
  border: 2px solid var(--ink);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  width: 20px; height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}

/* ---------- Hero ---------- */
.hero {
  background: var(--purple);
  color: #fff;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
  padding: 72px 24px 88px;
}
.pill {
  display: inline-block;
  background: var(--purple-dark);
  border: 1.5px solid rgba(255,255,255,.25);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 600;
  margin-bottom: 22px;
}
.hero-copy h1 {
  font-size: clamp(2.7rem, 6vw, 4.6rem);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -0.035em;
}
.hero-copy h1 .hl { color: var(--orange); }
.hero-sub {
  margin: 22px 0 30px;
  font-size: 1.12rem;
  max-width: 30em;
  color: rgba(255,255,255,.85);
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.stats {
  list-style: none;
  display: flex;
  gap: 14px;
  margin-top: 40px;
}
.stats li {
  background: var(--purple-dark);
  border: 1.5px solid rgba(255,255,255,.18);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  flex: 1;
  min-width: 0;
}
.stat-num {
  display: block;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.7);
  font-weight: 600;
}

/* ---------- Hero phone (live interactive demo) ---------- */
.hero-phones {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 660px;
}
.phone-ghost {
  position: absolute;
  width: 300px;
  height: 600px;
  background: var(--purple-dark);
  border: 3px solid var(--ink);
  border-radius: 40px;
  box-shadow: var(--shadow-hard);
  transform: rotate(8deg) translate(56px, 22px);
}
.phone-live { position: relative; z-index: 2; }
.hero-device { transform: rotate(-3deg); }
.live-tag {
  position: absolute;
  top: -15px; left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  z-index: 3;
  background: var(--orange);
  color: #fff;
  border: 2px solid var(--ink);
  font-weight: 800;
  font-size: .8rem;
  padding: 6px 15px;
  border-radius: 999px;
  white-space: nowrap;
}

/* ---------- Generic section ---------- */
.section { padding: 88px 0; }
.section-mist { background: var(--mist); }
.section-head {
  text-align: center;
  max-width: 36em;
  margin: 0 auto 52px;
}
.eyebrow {
  display: inline-block;
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--orange);
  margin-bottom: 12px;
}
.eyebrow-light { color: var(--orange); }
.section-head h2,
h2 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

/* ---------- How it works ---------- */
.section-lead {
  margin-top: 14px;
  font-size: 1.05rem;
  color: var(--muted);
}
.how-inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: center;
}
.how-steps {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.step {
  position: relative;
  display: block;
  width: 100%;
  text-align: left;
  font: inherit;
  cursor: pointer;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 28px 24px;
  transition: border-color .14s ease, transform .14s ease, box-shadow .14s ease;
}
.step:hover { border-color: var(--ink); }
.step.is-active {
  border-color: var(--ink);
  box-shadow: var(--shadow-hard);
  transform: translate(-2px, -2px);
}
.step-time {
  position: absolute;
  top: -15px; left: 26px;
  background: var(--orange);
  color: #fff;
  font-weight: 800;
  font-size: .82rem;
  padding: 5px 13px;
  border-radius: 999px;
  border: 2px solid var(--ink);
}
.step-no {
  font-size: 2rem;
  font-weight: 800;
  color: var(--line);
  letter-spacing: -0.04em;
  display: block;
  line-height: 1;
}
.step.is-active .step-no { color: var(--purple); }
.step h3 { font-size: 1.22rem; font-weight: 800; margin: 2px 0 6px; }
.step p { color: var(--muted); font-size: .96rem; }

/* embedded interactive app demo */
.how-phone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.phone-device {
  width: 348px;
  background: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 40px;
  padding: 12px;
  box-shadow: var(--shadow-hard);
}
.phone-device iframe {
  display: block;
  width: 100%;
  height: 686px;
  border: 0;
  border-radius: 28px;
  background: #fff;
}
.phone-cap {
  background: var(--purple);
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  padding: 9px 18px;
  border-radius: 999px;
}

/* ---------- Categories ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.cat-card {
  background: #fff;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
  transition: transform .14s ease, border-color .14s ease, box-shadow .14s ease;
}
.cat-card:hover {
  transform: translateY(-6px);
  border-color: var(--orange);
  box-shadow: 0 12px 26px rgba(242,106,27,.18);
}
.cat-emoji { font-size: 2rem; display: block; margin-bottom: 12px; }
.cat-card h3 { font-size: 1.08rem; font-weight: 800; margin-bottom: 4px; }
.cat-card p { font-size: .85rem; color: var(--muted); font-weight: 600; }

/* "see all" call-to-action card */
.cat-cta { background: var(--purple); border-color: var(--purple); }
.cat-cta h3 { color: #fff; }
.cat-cta p { color: rgba(255,255,255,.82); }
.cat-cta:hover {
  border-color: var(--ink);
  box-shadow: 0 12px 26px rgba(75,34,214,.32);
}

/* ---------- Brands marquee ---------- */
.brands {
  background: var(--purple);
  color: #fff;
  padding: 56px 0;
  text-align: center;
}
.marquee {
  margin-top: 26px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: scroll-x 38s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.brand-chip {
  flex: none;
  background: var(--purple-dark);
  border: 1.5px solid rgba(255,255,255,.2);
  border-radius: 999px;
  padding: 13px 26px;
  font-weight: 700;
  font-size: 1.05rem;
  white-space: nowrap;
}
@keyframes scroll-x {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Bulk orders ---------- */
.section-bulk { background: var(--purple-deep); color: #fff; }
.bulk-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.bulk-copy h2 { line-height: 1.08; }
.bulk-sub { margin: 18px 0 28px; color: rgba(255,255,255,.82); font-size: 1.05rem; }
.perks { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.perks li { display: flex; gap: 14px; align-items: flex-start; }
.perk-icon {
  flex: none;
  width: 46px; height: 46px;
  background: var(--purple);
  border-radius: 12px;
  display: grid; place-items: center;
  font-size: 1.3rem;
}
.perks strong { display: block; font-size: 1.05rem; font-weight: 800; }
.perks span { color: rgba(255,255,255,.72); font-size: .94rem; }

/* form */
.bulk-form-wrap { }
.bulk-form {
  background: #fff;
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-hard);
}
.bulk-form h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 20px; }
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-weight: 700;
  font-size: .9rem;
  margin-bottom: 6px;
}
.field input,
.field textarea {
  width: 100%;
  font: inherit;
  padding: 12px 14px;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--mist);
  transition: border-color .15s ease, background .15s ease;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--purple);
  background: #fff;
}
.field textarea { resize: vertical; }
.field.invalid input,
.field.invalid textarea { border-color: #E0322F; background: #FEF1F1; }
.error {
  display: none;
  color: #E0322F;
  font-size: .82rem;
  font-weight: 600;
  margin-top: 5px;
}
.field.invalid .error { display: block; }
.form-success {
  margin-top: 14px;
  background: #E9F8EE;
  border: 2px solid #2EA45A;
  color: #1B6E3B;
  font-weight: 700;
  font-size: .92rem;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
}

/* ---------- Download CTA ---------- */
.download {
  background: var(--purple);
  color: #fff;
  text-align: center;
  padding: 84px 0;
}
.download-inner { max-width: 40em; margin: 0 auto; }
.download h2 { margin-bottom: 14px; }
.download > .container > p,
.download-inner > p { color: rgba(255,255,255,.85); font-size: 1.1rem; }
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  color: #fff;
  border: 2px solid var(--ink);
  border-radius: 14px;
  padding: 12px 26px;
  margin: 26px 0 14px;
  box-shadow: var(--shadow-hard);
  transition: transform .12s ease, box-shadow .12s ease;
}
.store-btn:hover { transform: translate(-2px,-2px); box-shadow: 8px 8px 0 rgba(0,0,0,.35); }
.store-btn-text { text-align: left; line-height: 1.15; }
.store-btn-text small { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.store-btn-text strong { font-size: 1.25rem; font-weight: 800; display: block; }
.download-note { font-size: .9rem; color: rgba(255,255,255,.7); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.72);
  padding: 64px 0 28px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 36px;
}
.logo-footer { color: #fff; }
.logo-footer .logo-i::after { background: var(--orange); }
.footer-brand p { margin-top: 12px; font-size: .94rem; max-width: 22em; }
.footer-col h4 {
  color: #fff;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 14px;
}
.footer-col a,
.footer-col address {
  display: block;
  font-size: .94rem;
  font-style: normal;
  margin-bottom: 9px;
  transition: color .15s ease;
}
.footer-col a:hover { color: var(--orange); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: .86rem;
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .5s ease, transform .5s ease;
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1000px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-phones { order: 2; min-height: 0; }
  .how-inner { grid-template-columns: 1fr; gap: 44px; }
  .how-steps { max-width: 560px; margin: 0 auto; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav {
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    border-bottom: 2px solid var(--line);
    box-shadow: 0 10px 24px rgba(20,18,43,.1);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 16px 24px; border-top: 1px solid var(--line); }
  .nav-toggle { display: flex; }
  .header-actions .btn-sm { display: none; }

  .section { padding: 64px 0; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .bulk-inner { grid-template-columns: 1fr; gap: 36px; }
  .stats { flex-wrap: wrap; }
  .stats li { min-width: calc(50% - 7px); }
  .phone-ghost { display: none; }
  .hero-device { transform: none; }
  .live-tag { transform: translateX(-50%); }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .hero-inner { padding: 48px 24px 64px; }
}

@media (max-width: 420px) {
  .cat-grid { grid-template-columns: 1fr; }
  .btn-lg { width: 100%; }
  .hero-cta { flex-direction: column; }
  .phone-device { width: 100%; max-width: 320px; border-radius: 34px; }
  .phone-device iframe { height: 620px; border-radius: 24px; }
}
