/* =====================================================================
   Sellhub — Payhip-style digital products platform template
   Standalone HTML/CSS/JS. No build step, no external deps besides fonts.
   ===================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --brand: #5c6ac4;
  --brand-600: #4d5ab2;
  --brand-700: #3f4c99;
  --brand-soft: #ebedf8;
  --brand-tint: #f5f6fb;
  --accent: #ff7a59;
  --accent-soft: #fff0eb;
  --green: #16b981;
  --green-soft: #e6f8f1;
  --yellow: #ffce4d;

  --ink: #1b1e51;
  --ink-2: #3f3f3f;
  --muted: #888888;
  --muted-2: #9b98ac;
  --line: #ececf3;
  --line-2: #e2e0ec;
  --bg: #ffffff;
  --bg-soft: #faf9ff;
  --bg-alt: #f5f4fb;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 1px 2px rgba(20, 18, 43, .06), 0 1px 3px rgba(20, 18, 43, .05);
  --shadow: 0 10px 30px -12px rgba(20, 18, 43, .18);
  --shadow-lg: 0 30px 60px -20px rgba(64, 74, 150, .28);
  --shadow-brand: 0 14px 30px -10px rgba(92, 106, 196, .45);

  --maxw: 1160px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "proxima-nova", "Mulish", "Montserrat", system-ui, -apple-system, "Segoe UI", Arial, Helvetica, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { line-height: 1.2; letter-spacing: normal; font-weight: 600; color: #1b1e51; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.center { text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--brand-600); background: var(--brand-soft);
  padding: 7px 14px; border-radius: 999px;
}
.section-head { max-width: 640px; margin: 0 auto 52px; }
.section-head.left { margin-inline: 0; }
.section-head h2 { font-size: 40px; font-weight: 600; margin: 18px 0 14px; }
.section-head p { font-size: 18px; color: var(--muted); }
.lead { font-size: 19px; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 700; font-size: 15px; padding: 13px 22px;
  border-radius: 12px; transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-brand); }
.btn-primary:hover { background: var(--brand-600); transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #241f45; transform: translateY(-2px); }
.btn-ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line-2); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-600); }
.btn-soft { background: var(--brand-soft); color: var(--brand-700); }
.btn-soft:hover { background: #dfe3f4; }
.btn-outline { background: #fff; color: #5c6ac4; border: 1.5px solid #5c6ac4; font-size: 14px; font-weight: 600; }
.btn-outline:hover { background: #5c6ac4; color: #fff; transform: translateY(-1px); }
.btn-lg { padding: 16px 30px; font-size: 16px; border-radius: 14px; }
.btn-block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.nav.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(20, 18, 43, .4); }
.nav-inner { display: flex; align-items: center; gap: 18px; height: 62px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 18px; letter-spacing: -.03em; }
.brand-mark {
  display: grid; place-items: center; color: var(--brand);
}
.brand-mark svg { width: 28px; height: 34px; display: block; }
.nav-links { display: flex; align-items: center; gap: 20px; flex: 1; justify-content: center; }
.nav-links a { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: 14px; color: #3f3f3f; transition: color .15s; }
.nav-links a:hover { color: var(--brand-600); }
.nav-links a .caret { width: 13px; height: 13px; opacity: .6; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .login { font-weight: 600; font-size: 14px; color: #3f3f3f; }
.nav-cta .login:hover { color: var(--brand-600); }
.nav-cta .or { color: var(--muted-2); font-style: italic; font-size: 14px; }
.nav-cta .btn { padding: 8px 16px; font-size: 13px; border-radius: 8px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; place-items: center; margin-left: auto; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: .2s;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

/* ---------- Hero (centered, Payhip-style) ---------- */
.hero { position: relative; background: linear-gradient(180deg, #ffffff 0%, #f6f5fd 100%); padding: 96px 0 100px; text-align: center; }
.hero-center { max-width: 920px; margin-inline: auto; }
.hero h1 { font-size: 42px; line-height: 1.19; letter-spacing: normal; color: #1b1e51; font-weight: 600; }
.hero .lead { font-size: 20px; color: #525f7f; max-width: 720px; margin: 24px auto 34px; line-height: 1.6; }
.hero-form { display: flex; gap: 12px; max-width: 600px; margin: 0 auto; }
.hero-form input { flex: 1; min-width: 0; padding: 16px 20px; font: inherit; font-size: 16px; border: 1.6px solid var(--line-2); border-radius: 14px; background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.hero-form input::placeholder { color: var(--muted-2); }
.hero-form input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.hero-form .btn { padding: 16px 26px; border-radius: 14px; font-size: 16px; }
.hero-microcopy { margin-top: 18px; color: var(--muted); font-size: 15px; font-weight: 500; }

/* ---------- Trust bar ---------- */
.trust { padding: 26px 0 8px; }
.trust p { text-align: center; color: var(--muted-2); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 22px; }
.trust-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 44px; opacity: .72; }
.trust-logos span { font-weight: 800; font-size: 20px; letter-spacing: -.02em; color: var(--ink-2); display: inline-flex; align-items: center; gap: 8px; }
.trust-logos span svg { width: 22px; height: 22px; color: var(--muted); }

/* ---------- Feature rows ---------- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.feature-row + .feature-row { margin-top: 96px; }
.feature-row.rev .feature-media { order: -1; }
.feature-copy h3 { font-size: clamp(26px, 3vw, 36px); margin: 16px 0 14px; }
.feature-copy p { font-size: 17px; color: var(--muted); }
.feature-list { margin-top: 22px; display: grid; gap: 12px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--ink-2); }
.feature-list .tick { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; }
.feature-list .tick svg { width: 13px; height: 13px; }
.chip { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; }

.feature-media { position: relative; }
.media-card { border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow); border: 1px solid var(--line); background: var(--bg-soft); }
.media-card.g1 { background: linear-gradient(150deg, #f2efff, #fff); }
.media-card.g2 { background: linear-gradient(150deg, #fff2ec, #fff); }
.media-card.g3 { background: linear-gradient(150deg, #e9f9f2, #fff); }

/* small in-media UI bits */
.ui-list { display: grid; gap: 12px; }
.ui-item { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; box-shadow: var(--shadow-sm); }
.ui-item .thumb { width: 46px; height: 46px; border-radius: 10px; flex: none; }
.ui-item .thumb.a { background: linear-gradient(135deg, #5c6ac4, #9aa5e4); }
.ui-item .thumb.b { background: linear-gradient(135deg, #ff9a6c, #ffce4d); }
.ui-item .thumb.c { background: linear-gradient(135deg, #16b981, #7ee0bb); }
.ui-item .g { flex: 1; }
.ui-item .g .l1 { height: 9px; width: 70%; background: var(--line-2); border-radius: 5px; }
.ui-item .g .l2 { height: 8px; width: 45%; background: #eef; border-radius: 5px; margin-top: 8px; }
.ui-item .price { font-weight: 800; color: var(--brand-700); }
.ui-toggle { width: 42px; height: 24px; border-radius: 999px; background: var(--brand); position: relative; flex: none; }
.ui-toggle::after { content: ""; position: absolute; top: 3px; right: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; }

/* ---------- Bento tools grid ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bento-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s;
}
.bento-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.bento-ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; }
.bento-ic svg { width: 24px; height: 24px; }
.bento-card h4 { font-size: 19px; margin-bottom: 8px; }
.bento-card p { color: var(--muted); font-size: 15px; }
.ic-violet { background: var(--brand-soft); color: var(--brand); }
.ic-orange { background: var(--accent-soft); color: var(--accent); }
.ic-green { background: var(--green-soft); color: var(--green); }
.ic-yellow { background: #fff7e0; color: #d99a00; }
.ic-pink { background: #ffe9f1; color: #ff5c93; }
.ic-blue { background: #e6f0ff; color: #3b82f6; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step .num {
  width: 46px; height: 46px; border-radius: 14px; background: var(--ink); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 18px; margin-bottom: 18px;
}
.step h4 { font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--muted); }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan {
  background: #fff; border: 1.5px solid var(--line-2); border-radius: var(--radius-lg);
  padding: 30px; display: flex; flex-direction: column; position: relative;
}
.plan.pop { border-color: var(--brand); box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.plan .tag-pop {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--brand); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .04em;
  padding: 6px 14px; border-radius: 999px; text-transform: uppercase;
}
.plan h3 { font-size: 20px; }
.plan .desc { color: var(--muted); font-size: 14px; margin: 6px 0 20px; min-height: 40px; }
.plan .price { display: flex; align-items: baseline; gap: 4px; }
.plan .price .amt { font-size: 46px; font-weight: 800; letter-spacing: -.03em; }
.plan .price .per { color: var(--muted); font-weight: 600; }
.plan .fee { margin: 6px 0 22px; font-size: 14px; font-weight: 700; color: var(--brand-700); background: var(--brand-tint); display: inline-block; padding: 5px 12px; border-radius: 999px; align-self: flex-start; }
.plan ul.perks { display: grid; gap: 12px; margin: 4px 0 26px; }
.plan ul.perks li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; color: var(--ink-2); font-weight: 500; }
.plan ul.perks .tick { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; }
.plan ul.perks .tick svg { width: 12px; height: 12px; }
.plan .btn { margin-top: auto; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.quote .stars { color: var(--yellow); display: flex; gap: 3px; margin-bottom: 14px; }
.quote .stars svg { width: 18px; height: 18px; }
.quote p { font-size: 16px; color: var(--ink-2); font-weight: 500; }
.quote .who { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.quote .who .av { width: 44px; height: 44px; border-radius: 50%; flex: none; }
.quote .who .n { font-weight: 800; font-size: 15px; }
.quote .who .r { color: var(--muted); font-size: 13px; }

/* ---------- Stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; }
.stat .big { font-size: clamp(34px, 4vw, 48px); font-weight: 800; letter-spacing: -.03em; color: #fff; }
.stat .lbl { color: rgba(255, 255, 255, .72); font-weight: 600; margin-top: 4px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--brand), #6b78cf 60%, #8b97dd);
  border-radius: var(--radius-xl); padding: 60px; text-align: center; color: #fff;
  position: relative; overflow: hidden;
}
.cta-band::before { content: ""; position: absolute; inset: auto -10% -60% -10%; height: 300px; background: radial-gradient(50% 50% at 50% 50%, rgba(255,255,255,.25), transparent 70%); }
.cta-band h2 { font-size: clamp(30px, 4vw, 44px); position: relative; }
.cta-band p { font-size: 18px; color: rgba(255, 255, 255, .9); margin: 14px auto 28px; max-width: 520px; position: relative; }
.cta-band .btn-primary { background: #fff; color: var(--brand-700); box-shadow: 0 14px 30px -10px rgba(0,0,0,.35); }
.cta-band .btn-primary:hover { background: #f3f1ff; }

/* dark band variant */
.band-dark { background: var(--ink); border-radius: var(--radius-xl); padding: 60px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #c9c6dd; padding: 72px 0 34px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; }
.footer .brand { color: #fff; margin-bottom: 16px; }
.footer .about { font-size: 14px; color: #9d9ab8; max-width: 280px; }
.footer h5 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 16px; }
.footer li { margin-bottom: 10px; }
.footer li a { font-size: 14px; color: #b6b3ca; transition: color .15s; }
.footer li a:hover { color: #fff; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.08); display: grid; place-items: center; transition: background .15s; }
.footer-social a:hover { background: var(--brand); }
.footer-social svg { width: 18px; height: 18px; color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 52px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.09); font-size: 13px; color: #8d8aa8; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line-2); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; text-align: left; padding: 22px 4px; font-weight: 700; font-size: 17px; }
.faq-q .pm { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--bg-alt); display: grid; place-items: center; transition: .2s; }
.faq-q .pm svg { width: 14px; height: 14px; transition: transform .2s; }
.faq-item.open .faq-q .pm { background: var(--brand); color: #fff; }
.faq-item.open .faq-q .pm svg { transform: rotate(45deg); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height .3s var(--ease); }
.faq-a p { padding: 0 4px 22px; color: var(--muted); font-size: 16px; }

/* ---------- Page hero (interior) ---------- */
.page-hero { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 64px 0 52px; text-align: center; }
.page-hero h1 { font-size: 42px; font-weight: 600; }
.page-hero p { font-size: 19px; color: var(--muted); margin-top: 16px; max-width: 560px; margin-inline: auto; }

/* ---------- Billing toggle ---------- */
.billing { display: inline-flex; align-items: center; gap: 14px; margin-top: 26px; font-weight: 700; }
.billing .switch { width: 54px; height: 30px; border-radius: 999px; background: var(--brand); position: relative; transition: background .2s; }
.billing .switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform .2s var(--ease); box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.billing.year .switch::after { transform: translateX(24px); }
.billing .save { color: var(--green); background: var(--green-soft); font-size: 13px; padding: 4px 10px; border-radius: 999px; }
.billing .opt { color: var(--muted); }
.billing .opt.on { color: var(--ink); }

/* ---------- Compare table ---------- */
.compare { width: 100%; border-collapse: collapse; margin-top: 8px; }
.compare th, .compare td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: 15px; }
.compare thead th { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.compare tbody th { font-weight: 700; color: var(--ink-2); }
.compare td { text-align: center; }
.compare td.yes { color: var(--green); }
.compare td.no { color: var(--muted-2); }
.compare svg { width: 18px; height: 18px; display: inline; }
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }

/* ---------- Storefront ---------- */
.store-cover { height: 220px; background: linear-gradient(135deg, #5c6ac4, #8f9be0 55%, #ff9a6c); }
.store-head { display: flex; align-items: flex-end; gap: 24px; margin-top: -60px; margin-bottom: 34px; }
.store-avatar { width: 128px; height: 128px; border-radius: 28px; border: 5px solid #fff; box-shadow: var(--shadow); background: linear-gradient(135deg, #ff7a59, #ffce4d); flex: none; }
.store-info { padding-bottom: 8px; flex: 1; }
.store-info h1 { font-size: 32px; display: flex; align-items: center; gap: 10px; }
.store-info .verified { color: var(--brand); width: 24px; height: 24px; }
.store-info .bio { color: var(--muted); margin-top: 6px; max-width: 560px; }
.store-info .meta { display: flex; gap: 20px; margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.store-info .meta span { display: inline-flex; align-items: center; gap: 6px; }
.store-info .meta svg { width: 16px; height: 16px; color: var(--muted); }
.store-actions { display: flex; gap: 10px; padding-bottom: 10px; }

.store-tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 30px; }
.store-tabs a { padding: 14px 18px; font-weight: 700; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.store-tabs a.on { color: var(--brand-700); border-color: var(--brand); }

.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.filters button { padding: 9px 16px; border-radius: 999px; background: var(--bg-alt); font-weight: 700; font-size: 14px; color: var(--ink-2); transition: .15s; }
.filters button.on, .filters button:hover { background: var(--brand); color: #fff; }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .2s var(--ease), box-shadow .2s; }
.pcard:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.pcard .thumb { aspect-ratio: 4 / 3; position: relative; display: grid; place-items: center; }
.pcard .thumb .badge { position: absolute; top: 12px; left: 12px; background: #fff; color: var(--ink); font-size: 12px; font-weight: 800; padding: 5px 11px; border-radius: 999px; box-shadow: var(--shadow-sm); }
.pcard .thumb .type { position: absolute; bottom: 12px; right: 12px; background: rgba(20,18,43,.7); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 8px; backdrop-filter: blur(4px); }
.pcard .thumb .glyph { color: rgba(255,255,255,.9); width: 54px; height: 54px; }
.pcard .body { padding: 18px; }
.pcard .body h3 { font-size: 17px; letter-spacing: -.01em; }
.pcard .body .rating { display: flex; align-items: center; gap: 5px; margin: 8px 0 12px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.pcard .body .rating svg { width: 14px; height: 14px; color: var(--yellow); }
.pcard .body .rating .c { color: var(--muted); font-weight: 600; }
.pcard .foot { display: flex; align-items: center; justify-content: space-between; }
.pcard .foot .price { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.pcard .foot .price .old { font-size: 14px; color: var(--muted-2); text-decoration: line-through; margin-left: 6px; font-weight: 600; }
.pcard .foot .buy { width: 42px; height: 42px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-700); display: grid; place-items: center; transition: .15s; }
.pcard .foot .buy:hover { background: var(--brand); color: #fff; }
.pcard .foot .buy svg { width: 19px; height: 19px; }

.g-violet { background: linear-gradient(135deg, #5c6ac4, #9aa5e4); }
.g-orange { background: linear-gradient(135deg, #ff9a6c, #ffce4d); }
.g-green { background: linear-gradient(135deg, #16b981, #7ee0bb); }
.g-pink { background: linear-gradient(135deg, #ff6b9d, #ffb3c9); }
.g-blue { background: linear-gradient(135deg, #4f8bff, #8ec5ff); }
.g-dark { background: linear-gradient(135deg, #2b2550, #514a86); }

/* ---------- Product page ---------- */
.pdp { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: start; }
.gallery .main { aspect-ratio: 4 / 3; border-radius: var(--radius-lg); display: grid; place-items: center; overflow: hidden; }
.gallery .main .glyph { width: 88px; height: 88px; color: rgba(255,255,255,.9); }
.gallery .thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.gallery .thumbs .t { aspect-ratio: 1; border-radius: 12px; cursor: pointer; border: 2px solid transparent; }
.gallery .thumbs .t.on { border-color: var(--brand); }

.buybox { position: sticky; top: 92px; }
.buybox .cat { font-size: 13px; font-weight: 700; color: var(--brand-600); text-transform: uppercase; letter-spacing: .04em; }
.buybox h1 { font-size: 30px; margin: 10px 0 12px; }
.buybox .by { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-size: 14px; }
.buybox .by .av { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, #ff7a59, #ffce4d); }
.buybox .by b { font-weight: 700; }
.buybox .rating-row { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; }
.buybox .rating-row .stars { color: var(--yellow); display: flex; gap: 2px; }
.buybox .rating-row .stars svg { width: 17px; height: 17px; }
.buybox .rating-row .c { color: var(--muted); font-size: 14px; font-weight: 600; }
.price-box { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.price-box .p { display: flex; align-items: baseline; gap: 10px; }
.price-box .p .amt { font-size: 40px; font-weight: 800; letter-spacing: -.03em; }
.price-box .p .old { font-size: 20px; color: var(--muted-2); text-decoration: line-through; font-weight: 600; }
.price-box .p .off { background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 800; padding: 4px 10px; border-radius: 999px; }
.price-box .btn { margin-top: 18px; }
.price-box .secure { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-size: 13px; color: var(--muted); font-weight: 600; }
.price-box .secure svg { width: 15px; height: 15px; }
.pay-row { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.pay-row span { font-size: 11px; font-weight: 800; letter-spacing: .03em; color: var(--muted); border: 1px solid var(--line-2); border-radius: 6px; padding: 4px 8px; }
.incl { margin-top: 22px; display: grid; gap: 10px; }
.incl li { display: flex; gap: 10px; align-items: center; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.incl svg { width: 18px; height: 18px; color: var(--brand); flex: none; }

.pdp-body { margin-top: 64px; display: grid; grid-template-columns: 1fr; gap: 40px; max-width: 760px; }
.prose h2 { font-size: 26px; margin: 8px 0 16px; }
.prose h3 { font-size: 19px; margin: 24px 0 10px; }
.prose p { color: var(--ink-2); margin-bottom: 14px; }
.prose ul { display: grid; gap: 10px; margin: 12px 0; }
.prose ul li { display: flex; gap: 10px; color: var(--ink-2); }
.prose ul li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); margin-top: 9px; }

.review { display: flex; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.review .av { width: 46px; height: 46px; border-radius: 50%; flex: none; }
.review .rhead { display: flex; align-items: center; gap: 10px; }
.review .rhead b { font-weight: 800; }
.review .stars { color: var(--yellow); display: flex; gap: 2px; }
.review .stars svg { width: 15px; height: 15px; }
.review .date { color: var(--muted-2); font-size: 13px; margin-left: auto; }
.review p { color: var(--ink-2); margin-top: 8px; }

/* ---------- Utility ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mt-s { margin-top: 14px; }
.hide-mobile { }
.bg-soft { background: var(--bg-soft); }
.bg-alt { background: var(--bg-alt); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Mobile nav panel ---------- */
.mobile-panel {
  position: fixed; inset: 62px 0 auto 0; background: #fff; border-bottom: 1px solid var(--line);
  padding: 16px 24px 24px; display: none; z-index: 49; box-shadow: var(--shadow); animation: drop .2s var(--ease);
}
.mobile-panel.open { display: block; }
.mobile-panel a { display: block; padding: 14px 4px; font-weight: 700; font-size: 17px; border-bottom: 1px solid var(--line); }
.mobile-panel .btn { margin-top: 16px; }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 980px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: grid; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 460px; margin-inline: auto; }
  .feature-row, .feature-row.rev { grid-template-columns: 1fr; gap: 34px; }
  .feature-row.rev .feature-media { order: 0; }
  .bento { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; gap: 20px; }
  .pricing { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .plan.pop { transform: none; }
  .quotes { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .pdp { grid-template-columns: 1fr; gap: 32px; }
  .buybox { position: static; }
  .stats { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 620px) {
  .section { padding: 60px 0; }
  .wrap { padding-inline: 18px; }
  .hero { padding: 60px 0 64px; }
  .hero-form { flex-direction: column; }
  .hero-form .btn { width: 100%; }
  .hero h1 { font-size: 30px; line-height: 1.25; }
  .sec-head-c h2, .split-copy h2, .section-head h2, .signup-dark h2, .page-hero h1 { font-size: 28px; }
  .bento { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band, .band-dark { padding: 40px 24px; }
  .store-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .store-actions { padding-bottom: 0; }
  .compare { min-width: 560px; }
  .hero-cta .btn { flex: 1; }
}

/* =====================================================================
   Payhip-matched landing sections
   ===================================================================== */
.section-grey { background: #f6f6f9; }
.sec-head-c { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.sec-head-c h2 { font-size: 40px; font-weight: 600; line-height: 1.25; }
.sec-head-c p { font-size: 20px; color: var(--muted); margin-top: 14px; }
.sec-border-top { border-top: 1px solid var(--line); }
.sec-border-bottom { border-bottom: 1px solid var(--line); }

/* ---- Browser mock (Safari-style) ---- */
.browser { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; background: #f2f1f7; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 12px; height: 12px; border-radius: 50%; background: #d7d5e2; }
.browser-bar i:nth-child(1) { background: #ff6058; }
.browser-bar i:nth-child(2) { background: #ffbe2f; }
.browser-bar i:nth-child(3) { background: #2bca42; }
.browser-body { min-height: 360px; padding: 26px; background: #fbfbfe; }

/* ---- Key features tabs ---- */
.kf-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: center; }
.kf-tabs { display: grid; gap: 10px; }
.kf-tab { display: block; padding: 22px 24px; border-radius: 16px; border: 1.5px solid transparent; transition: background .2s, border-color .2s, box-shadow .2s; cursor: pointer; }
.kf-tab h4 { font-size: 19px; margin-bottom: 6px; }
.kf-tab p { color: var(--muted); font-size: 15px; }
.kf-tab.active { background: #fff; border-color: var(--line); box-shadow: var(--shadow); }
.kf-tab.active h4 { color: var(--brand-700); }
.kf-visual { position: relative; }
.kf-panel { display: none; }
.kf-panel.on { display: block; }

/* checkout mock inside browser */
.co-mock { display: grid; gap: 14px; max-width: 420px; margin: 0 auto; }
.co-line { height: 44px; border: 1.5px solid var(--line-2); border-radius: 10px; background: #fff; }
.co-line.sm { width: 60%; }
.co-pay { height: 50px; border-radius: 12px; background: var(--brand); box-shadow: var(--shadow-brand); }
.co-title { height: 12px; width: 45%; background: var(--line-2); border-radius: 6px; margin-bottom: 6px; }

/* sale notifications (animated) */
.sale-list { display: grid; gap: 14px; max-width: 440px; margin: 0 auto; }
.sale-item { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; box-shadow: var(--shadow-sm); }
.sale-item .av { width: 44px; height: 44px; border-radius: 50%; flex: none; }
.sale-item .m { flex: 1; }
.sale-item .m b { display: block; font-size: 15px; }
.sale-item .m span { font-size: 13px; color: var(--muted); }
.sale-item .tick { width: 30px; height: 30px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; flex: none; }
.sale-item .tick svg { width: 15px; height: 15px; }

/* ---- Split section (image + copy) ---- */
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-grid.rev .split-media { order: -1; }
.split-copy h2 { font-size: 40px; font-weight: 600; line-height: 1.25; }
.split-copy p { font-size: 20px; color: var(--muted); margin-top: 16px; }
.check-list { display: grid; gap: 14px; margin-top: 26px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); font-weight: 500; }
.check-list .tick { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; }
.check-list .tick svg { width: 13px; height: 13px; }
.pay-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; align-items: center; }
.pay-badges span { font-size: 12px; font-weight: 800; letter-spacing: .03em; color: #5a5f7a; background: #fff; border: 1px solid var(--line-2); border-radius: 8px; padding: 8px 12px; }
.split-illus { border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.split-illus.a { background: linear-gradient(150deg, #eef0ff, #fff); }
.split-illus.b { background: linear-gradient(150deg, #e9f9f2, #fff); }

/* ---- Supercharge feature columns ---- */
.feat-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 44px 64px; max-width: 940px; margin: 0 auto; }
.feat-item { display: flex; gap: 18px; }
.feat-ic { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; }
.feat-ic svg { width: 24px; height: 24px; }
.feat-item h4 { font-size: 18px; font-weight: 700; line-height: 1.55; margin-bottom: 6px; }
.feat-item p { color: var(--muted); font-size: 16px; line-height: 1.56; }

/* ---- Safe & secure list ---- */
.secure-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.secure-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.secure-item .star { width: 42px; height: 42px; border-radius: 12px; background: #fff7e0; color: #e0a400; display: grid; place-items: center; margin-bottom: 16px; }
.secure-item .star svg { width: 22px; height: 22px; }
.secure-item h4 { font-size: 18px; margin-bottom: 8px; }
.secure-item p { color: var(--muted); font-size: 15px; }

/* ---- FAQ two-column ---- */
.qa-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 56px; max-width: 960px; margin: 0 auto; }
.qa h3 { font-size: 18px; margin: 22px 0 8px; }
.qa h3:first-child { margin-top: 0; }
.qa p { color: var(--muted); font-size: 15px; }
.qa a { color: var(--brand-600); font-weight: 600; }

/* ---- Secondary feature cards ---- */
.feature-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.fcard { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s; }
.fcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.fcard h3 { font-size: 22px; font-weight: 600; color: #5c6ac4; margin-bottom: 10px; }
.fcard p { color: var(--muted); font-size: 16px; margin-bottom: 16px; }
.fcard .more { color: var(--brand-600); font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; gap: 6px; }
.fcard:hover .more { gap: 10px; }

/* ---- Dark signup band ---- */
.signup-dark { position: relative; overflow: hidden; background: #0a0b2e url("signup-bg.svg") center/cover no-repeat; text-align: center; padding: 88px 0; }
.signup-dark > .wrap { position: relative; z-index: 1; }
.signup-dark h2 { color: #fff; font-size: 40px; font-weight: 600; }
.signup-dark p { color: rgba(255,255,255,.62); font-size: 20px; margin: 14px auto 34px; max-width: 560px; }
.signup-dark .hero-form { max-width: 600px; }
.signup-dark .hero-form input { border-color: transparent; }
.signup-dark .hero-form .btn { background: var(--accent); box-shadow: 0 12px 26px -10px rgba(255,122,89,.6); }
.signup-dark .hero-form .btn:hover { background: #ff6a44; }
.signup-dark .hero-microcopy { color: rgba(255,255,255,.5); }

/* ---- Testimonial ---- */
.tm-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; }
.tm-photo { border-radius: var(--radius-lg); aspect-ratio: 1; background: linear-gradient(135deg, #ffd3a5, #fd6585); box-shadow: var(--shadow); }
.tm-quote { width: 40px; height: 40px; color: var(--brand); margin-bottom: 12px; }
.tm-text { font-size: 22px; line-height: 1.5; color: #1b1e51; font-weight: 600; }
.tm-author { margin-top: 22px; font-weight: 700; }
.tm-author span { color: var(--muted); font-weight: 500; }

/* ---- Big footer (Payhip-style) ---- */
.site-footer { background: var(--ink); color: #b6b3ca; padding: 72px 0 34px; }
.site-footer .footer-top { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr 1fr; gap: 36px; }
.site-footer .f-logo .brand { color: #fff; }
.site-footer .footer-label { color: #fff; font-weight: 700; font-size: 15px; margin-bottom: 16px; }
.site-footer ul li { margin-bottom: 11px; }
.site-footer ul li a { font-size: 14px; color: #b6b3ca; transition: color .15s; }
.site-footer ul li a:hover { color: #fff; }
.site-footer .footer-bottom2 { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 52px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.09); font-size: 13px; color: #8d8aa8; }
.site-footer .footer-bottom2 .heart { color: #ff6b81; }
.site-footer .socials { display: flex; gap: 10px; }
.site-footer .socials a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.08); display: grid; place-items: center; transition: background .15s; }
.site-footer .socials a:hover { background: var(--brand); }
.site-footer .socials svg { width: 17px; height: 17px; color: #fff; }

@media (max-width: 980px) {
  .kf-grid { grid-template-columns: 1fr; gap: 32px; }
  .split-grid, .split-grid.rev { grid-template-columns: 1fr; gap: 32px; }
  .split-grid.rev .split-media { order: 0; }
  .feat-cols { grid-template-columns: 1fr; gap: 30px; }
  .secure-list { grid-template-columns: 1fr; }
  .qa-cols { grid-template-columns: 1fr; gap: 8px; }
  .feature-cards { grid-template-columns: 1fr 1fr; }
  .tm-grid { grid-template-columns: 1fr; gap: 28px; }
  .tm-photo { max-width: 320px; }
  .site-footer .footer-top { grid-template-columns: 1fr 1fr; gap: 30px 40px; }
  .site-footer .f-logo { grid-column: 1 / -1; margin-bottom: 4px; }
}
@media (max-width: 620px) {
  .feature-cards { grid-template-columns: 1fr; }
  .pay-badges { gap: 8px; }
}

/* =====================================================================
   Home page (Payhip homepage match)
   ===================================================================== */
.hero-home h1 { font-size: 54px; line-height: 1.15; }
.hero-home h2 { font-size: 20px; font-weight: 400; color: #525f7f; margin: 12px auto 0; max-width: 620px; }
.hero-home .hero-form { margin-top: 30px; }
.u { position: relative; white-space: nowrap; }
.u svg { position: absolute; left: 0; right: 0; bottom: -3px; width: 100%; height: 7px; }
.fullstop { color: var(--brand); }

/* All-in-one platform */
.aio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.aio-copy h2 { font-size: 40px; font-weight: 600; }
.aio-copy > p { font-size: 20px; color: var(--muted); margin-top: 12px; }
.ptypes { display: grid; gap: 22px; margin-top: 30px; }
.ptype h3 { font-size: 20px; font-weight: 600; color: #1b1e51; margin-bottom: 5px; }
.ptype p { color: var(--muted); font-size: 15px; margin-bottom: 4px; }
.link-arrow { color: var(--brand-600); font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 5px; }
.link-arrow::after { content: "→"; transition: transform .15s; }
.link-arrow:hover::after { transform: translateX(3px); }

.home-hero-img { position: relative; padding: 10px 26px 26px 10px; }
.home-hero-img .photo { aspect-ratio: 4/5; border-radius: var(--radius-lg); background: linear-gradient(to top, rgba(20,20,45,.5), rgba(20,20,45,0) 42%), url('crystal.webp') center top/cover no-repeat; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.home-hero-img .cap { position: absolute; left: 22px; bottom: 20px; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.35); }
.home-hero-img .cap .t { font-weight: 800; font-size: 18px; display: block; }
.home-hero-img .cap .s { font-size: 13px; opacity: .92; }
.home-hero-img .hcard { position: absolute; right: 0; bottom: 60px; background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 12px 14px; display: flex; align-items: center; gap: 10px; width: 210px; }
.home-hero-img .hcard .ic { width: 38px; height: 38px; border-radius: 9px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex: none; }
.home-hero-img .hcard .ic svg { width: 20px; height: 20px; }
.home-hero-img .hcard .t { font-weight: 700; font-size: 13px; line-height: 1.3; }
.home-hero-img .hcard .s { font-size: 12px; color: var(--muted); }

/* Your store, your way subheads */
.split-copy h3 { font-size: 20px; font-weight: 600; color: #1b1e51; margin-top: 22px; margin-bottom: 6px; }
.split-copy h3:first-of-type { margin-top: 24px; }
.split-copy .sub { color: var(--muted); font-size: 15px; }
.safari-illus { border-radius: var(--radius-lg); overflow: hidden; }
.safari-illus .browser-body { min-height: 0; padding: 0; background: #fff; display: block; }
.safari-illus .browser-body img { width: 100%; display: block; }
.shop-illus { width: 82%; }
.shop-illus .bar { height: 14px; border-radius: 6px; background: #d8dcf0; margin: 0 auto 10px; }
.shop-illus .grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin-top: 16px; }
.shop-illus .tile { aspect-ratio: 1; border-radius: 10px; }

/* Testimonials (homepage) */
.quote .quote-icon { width: 26px; height: 26px; fill: var(--brand); margin-bottom: 12px; display: block; }

/* Featured products */
.showcase-tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 34px; }
.showcase-tabs button { padding: 10px 18px; border-radius: 999px; background: var(--bg-alt); font-weight: 600; font-size: 14px; color: var(--ink-2); transition: .15s; }
.showcase-tabs button.on, .showcase-tabs button:hover { background: var(--brand); color: #fff; }
.showcase-pane { display: none; }
.showcase-pane.on { display: block; }
.showcase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sbox { display: block; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; transition: transform .2s var(--ease), box-shadow .2s; }
.sbox:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.sbox .img { aspect-ratio: 1/1; display: grid; place-items: center; overflow: hidden; }
.sbox .img svg { width: 46px; height: 46px; color: rgba(255,255,255,.9); }
.sbox .img img { width: 100%; height: 100%; object-fit: cover; }
.sbox .b { padding: 16px; }
.sbox h3 { font-size: 16px; font-weight: 600; color: #1b1e51; }
.sbox .price { color: var(--brand-700); font-weight: 800; font-size: 15px; margin-top: 6px; }

@media (max-width: 980px) {
  .aio-grid { grid-template-columns: 1fr; gap: 36px; }
  .home-hero-img { max-width: 420px; margin-inline: auto; }
  .showcase-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .hero-home h1 { font-size: 40px; line-height: 1.18; }
  .hero-home .u { white-space: normal; }
  .hero-home .u svg, .hero-home .fullstop { display: none; }
  .hero-home .hero-microcopy { font-size: 13px; }
  .showcase-grid { grid-template-columns: 1fr; }
}

/* =====================================================================
   Themes page
   ===================================================================== */
.themes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.theme-frame { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; transition: transform .2s var(--ease), box-shadow .2s; }
.theme-frame:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.theme-bar { display: flex; gap: 6px; padding: 10px 13px; background: #f2f1f7; border-bottom: 1px solid var(--line); }
.theme-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d7d5e2; }
.theme-bar i:nth-child(1){ background:#ff6058; } .theme-bar i:nth-child(2){ background:#ffbe2f; } .theme-bar i:nth-child(3){ background:#2bca42; }
.theme-shot { position: relative; aspect-ratio: 1/1; overflow: hidden; }
.theme-shot img { width: 100%; display: block; }
.theme-overlay { position: absolute; inset: 0; background: rgba(27,30,81,.42); display: grid; place-items: center; opacity: 0; transition: opacity .2s; }
.theme-frame:hover .theme-overlay { opacity: 1; }
.theme-name { margin-top: 15px; font-size: 18px; font-weight: 600; color: #1b1e51; text-align: center; }
@media (max-width: 980px){ .themes-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px){ .themes-grid { grid-template-columns: 1fr; } }

/* =====================================================================
   Customers page
   ===================================================================== */
.customer-promo { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s; }
.customer-promo:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.customer-promo + .customer-promo { margin-top: 30px; }
.customer-promo .img { height: 280px; background-size: cover; background-position: center; }
.customer-promo .text { padding: 32px; text-align: center; }
.customer-promo .text h4 { font-size: 24px; font-weight: 600; color: #1b1e51; }
.customer-promo .text .line { width: 48px; height: 3px; background: var(--brand); border-radius: 3px; margin: 14px auto; }
.customer-promo .text p { color: var(--muted); font-size: 16px; max-width: 640px; margin: 0 auto 20px; }
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 30px; }
.mini-customer-promo { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s; }
.mini-customer-promo:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.mini-customer-promo .img { height: 190px; background-size: cover; background-position: center; }
.mini-customer-promo .text { padding: 16px 20px; font-weight: 600; color: #1b1e51; }

.cust-testimonials { max-width: 980px; margin: 0 auto; }
.qrow { display: grid; grid-template-columns: 150px 1fr; gap: 36px; align-items: center; padding: 34px 0; border-bottom: 1px solid var(--line); }
.qrow.right { grid-template-columns: 1fr 150px; }
.qrow.right .qperson { order: 2; }
.qperson { text-align: center; }
.qperson img { width: 118px; height: 118px; border-radius: 50%; object-fit: cover; margin: 0 auto; box-shadow: var(--shadow-sm); }
.qperson .qname { font-weight: 700; margin-top: 12px; color: #1b1e51; }
.qperson .qdesc { color: var(--muted); font-size: 13px; }
.qbody { text-align: center; }
.qbody .qi { width: 26px; height: 26px; fill: var(--brand); margin: 0 auto 10px; }
.qbody p { color: var(--ink-2); font-size: 16px; line-height: 1.7; }
@media (max-width: 780px){
  .mini-grid { grid-template-columns: 1fr; }
  .qrow, .qrow.right { grid-template-columns: 1fr; gap: 16px; text-align: center; }
  .qrow.right .qperson { order: 0; }
  .customer-promo .img { height: 200px; }
}

/* =====================================================================
   Pricing page (Payhip-matched)
   ===================================================================== */
.price-hero { text-align: center; padding: 64px 0 20px; }
.price-hero h1 { font-size: 42px; font-weight: 600; }
.price-hero .sub { font-size: 25px; color: #999999; font-weight: 400; margin-top: 8px; }
.price-hero .signup-cta { margin-top: 26px; }
.price-boxes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 940px; margin: 46px auto 0; align-items: stretch; }
.pbox { background: #fff; border: 1.5px solid var(--line-2); border-radius: var(--radius-lg); padding: 38px 30px; text-align: center; display: flex; flex-direction: column; }
.pbox.recommended { border-color: var(--brand); box-shadow: var(--shadow-lg); position: relative; }
.pbox .tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .04em; padding: 6px 14px; border-radius: 999px; text-transform: uppercase; }
.pbox h3 { font-size: 22px; font-weight: 600; }
.pbox .price { margin: 18px 0 4px; display: flex; align-items: flex-start; justify-content: center; gap: 2px; }
.pbox .price .cur { font-size: 26px; font-weight: 600; color: #1b1e51; margin-top: 8px; }
.pbox .price .val { font-size: 56px; font-weight: 700; line-height: 1; letter-spacing: -.03em; color: #1b1e51; }
.pbox .price .per { align-self: flex-end; color: var(--muted); font-weight: 600; margin-bottom: 8px; }
.pbox .fee { color: var(--muted); font-size: 14px; font-weight: 500; margin-bottom: 26px; }
.pbox ul { display: grid; gap: 12px; margin-top: auto; }
.pbox ul li { color: var(--ink-2); font-weight: 500; padding-top: 12px; border-top: 1px solid var(--line); }
.pbox ul li:first-child { border-top: 0; padding-top: 0; }
@media (max-width: 820px){ .price-boxes { grid-template-columns: 1fr; max-width: 420px; } .pbox.recommended { order: -1; } }

/* =====================================================================
   Marketplace page
   ===================================================================== */
.mp-hero { text-align: center; padding: 60px 0 8px; }
.mp-hero h1 { font-size: 42px; font-weight: 600; }
.mp-hero p { font-size: 19px; color: var(--muted); margin-top: 12px; max-width: 620px; margin-inline: auto; }
.mp-search { max-width: 600px; margin: 28px auto 0; position: relative; }
.mp-search input { width: 100%; padding: 15px 18px 15px 48px; font: inherit; font-size: 16px; border: 1.6px solid var(--line-2); border-radius: 14px; background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.mp-search input::placeholder { color: var(--muted-2); }
.mp-search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.mp-search .ic { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted-2); }
.mp-cats { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 30px auto 0; max-width: 900px; }
.mp-cats a { padding: 9px 16px; border-radius: 999px; background: var(--bg-alt); font-weight: 600; font-size: 14px; color: var(--ink-2); transition: .15s; }
.mp-cats a.on, .mp-cats a:hover { background: var(--brand); color: #fff; }
.mp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.mp-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .2s var(--ease), box-shadow .2s; }
.mp-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.mp-card .img { aspect-ratio: 1/1; overflow: hidden; background: var(--bg-alt); }
.mp-card .img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mp-card .b { padding: 14px 16px 16px; }
.mp-card h3 { font-size: 15px; font-weight: 600; color: #1b1e51; line-height: 1.35; }
.mp-card .seller { font-size: 13px; color: var(--muted); margin-top: 4px; }
.mp-card .row { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.mp-card .price { font-weight: 800; font-size: 16px; color: #1b1e51; }
.mp-card .rating { font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 4px; font-weight: 600; }
.mp-card .rating svg { width: 14px; height: 14px; color: var(--yellow); }
@media (max-width: 980px){ .mp-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px){ .mp-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px){ .mp-grid { grid-template-columns: 1fr; } }

/* =====================================================================
   Feature page — real Payhip imagery
   ===================================================================== */
.kf-panel > img { width: 100%; display: block; }
.sale-item img.av { object-fit: cover; }
.split-shot { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); display: block; }
.pay-badges { align-items: center; gap: 14px; }
.pay-badges img { height: 30px; width: auto; display: block; }
.feat-ic-img { background: transparent; }
.feat-ic-img img { width: 42px; height: 42px; display: block; }
img.tm-photo { object-fit: cover; }

/* =====================================================================
   Blog page
   ===================================================================== */
.blog-hero { text-align: center; padding: 60px 0 8px; }
.blog-hero h1 { font-size: 42px; font-weight: 600; }
.blog-hero p { font-size: 19px; color: var(--muted); margin-top: 12px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .2s var(--ease), box-shadow .2s; }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.blog-card .thumb { aspect-ratio: 1100 / 490; overflow: hidden; background: var(--bg-alt); }
.blog-card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-card .b { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.blog-card .cat { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--brand-600); background: var(--brand-soft); padding: 5px 11px; border-radius: 999px; }
.blog-card h3 { font-size: 19px; font-weight: 600; line-height: 1.3; margin: 14px 0 10px; }
.blog-card h3 a { color: #1b1e51; }
.blog-card h3 a:hover { color: var(--brand-600); }
.blog-card p { color: var(--muted); font-size: 15px; flex: 1; }
.blog-card .meta { display: flex; align-items: center; gap: 9px; margin-top: 18px; font-size: 13px; color: var(--muted); }
.blog-card .meta .av { width: 28px; height: 28px; border-radius: 50%; flex: none; }
.blog-card .meta b { color: var(--ink-2); font-weight: 700; }
.blog-card .meta .dot { opacity: .5; }
.blog-card .more { margin-top: 16px; color: var(--brand-600); font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 5px; }
.blog-card .more::after { content: "→"; transition: transform .15s; }
.blog-card:hover .more::after { transform: translateX(3px); }
@media (max-width: 980px){ .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px){ .blog-grid { grid-template-columns: 1fr; } }
