/* =========================================================================
   Launcher Software Showcase — global stylesheet
   Minimal, modern, international SaaS aesthetic.
   ========================================================================= */

:root {
  --bg: #ffffff;
  --bg-soft: #f6f7f9;
  --surface: #ffffff;
  --surface-2: #fafbfc;
  --text: #0f172a;
  --text-soft: #475569;
  --text-muted: #94a3b8;
  --border: #e5e7eb;
  --border-soft: #eef1f4;
  --primary: #2563eb;
  --primary-ink: #1d4ed8;
  --primary-soft: #eef2ff;
  --accent: #7c3aed;
  --danger: #dc2626;
  --success: #16a34a;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.06), 0 1px 3px rgba(15,23,42,.05);
  --shadow-md: 0 6px 18px rgba(15,23,42,.08);
  --shadow-lg: 0 24px 60px rgba(15,23,42,.12);
  --radius: 14px;
  --radius-sm: 9px;
  --maxw: 1180px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

::selection { background: var(--primary); color: #fff; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border-soft);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.12rem; letter-spacing: -.02em; }
.brand-logo { height: 38px; width: auto; display: block; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px; flex: none;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  box-shadow: 0 4px 12px rgba(37,99,235,.35);
  position: relative;
}
.brand-mark::after {
  content: ""; position: absolute; inset: 10px 7px;
  border-left: 2.5px solid #fff; border-bottom: 2.5px solid transparent;
  transform: rotate(45deg);
}
.nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav a {
  padding: 8px 12px; border-radius: 8px; color: var(--text-soft);
  font-size: .92rem; font-weight: 500; transition: .18s;
}
.nav a:hover { color: var(--text); background: var(--surface-2); }
.nav a.active { color: var(--primary-ink); background: var(--primary-soft); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.search-form { display: flex; align-items: center; background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px; padding: 4px 5px 4px 16px; }
.search-form input { border: 0; background: transparent; outline: 0; font-size: .9rem; width: 190px; color: var(--text); }
.search-form input::placeholder { color: var(--text-muted); }
.search-form button {
  border: 0; background: var(--primary); color: #fff; border-radius: 999px;
  padding: 7px 16px; font-size: .82rem; font-weight: 600; transition: .18s;
}
.search-form button:hover { background: var(--primary-ink); }
.nav-toggle { display: none; border: 0; background: transparent; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid transparent; border-radius: var(--radius-sm);
  padding: 11px 20px; font-size: .92rem; font-weight: 600; transition: .18s;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 20px rgba(37,99,235,.28); }
.btn-primary:hover { background: var(--primary-ink); transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary-ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 88px 0 76px;
  background:
    radial-gradient(800px 420px at 12% -8%, rgba(37,99,235,.14), transparent 60%),
    radial-gradient(700px 420px at 92% 10%, rgba(124,58,237,.12), transparent 55%),
    linear-gradient(180deg, #ffffff, #fbfcfe);
  border-bottom: 1px solid var(--border-soft);
}
.hero-inner { max-width: 780px; margin: 0 auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary-soft); color: var(--primary-ink);
  padding: 6px 14px; border-radius: 999px; font-size: .8rem; font-weight: 600;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--primary); }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.08; letter-spacing: -.03em; margin: 22px 0 18px; font-weight: 800; }
.hero p.lead { font-size: 1.18rem; color: var(--text-soft); max-width: 620px; margin: 0 auto; }
.hero-search { margin: 34px auto 0; max-width: 520px; }
.hero-search .search-form { padding: 8px 8px 8px 22px; background: #fff; border-color: var(--border); box-shadow: var(--shadow-md); }
.hero-search .search-form input { width: 100%; font-size: 1rem; }
.hero-stats { display: flex; gap: 40px; justify-content: center; margin-top: 44px; flex-wrap: wrap; }
.hero-stats .stat { text-align: center; }
.hero-stats .stat b { display: block; font-size: 1.9rem; font-weight: 800; letter-spacing: -.02em; color: var(--text); }
.hero-stats .stat span { color: var(--text-muted); font-size: .86rem; }
.hero-stats .stat b em { font-style: normal; color: var(--primary); }

/* ---------- Section headings ---------- */
.section { padding: 72px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.section-head h2 { font-size: 1.8rem; letter-spacing: -.02em; margin: 0 0 6px; font-weight: 700; }
.section-head p { color: var(--text-soft); margin: 0; }
.section-head .more { color: var(--primary-ink); font-weight: 600; white-space: nowrap; }
.section-head .more:hover { text-decoration: underline; }

/* ---------- Category chips ---------- */
.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  padding: 9px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--border);
  font-size: .9rem; font-weight: 500; color: var(--text-soft); transition: .18s;
}
.chip:hover { border-color: var(--primary); color: var(--primary-ink); }
.chip.active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ---------- Product grid ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.product-card {
  background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius);
  overflow: hidden; transition: .22s; display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--border); }
.card-image { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product-card:hover .card-image img { transform: scale(1.05); }
.card-image-empty {
  display: block; width: 100%; height: 100%;
  background: linear-gradient(135deg,#eef2ff,#f5f3ff);
  position: relative;
}
.card-image-empty::after {
  content: "暂无图片"; position: absolute; inset: 0; display: grid; place-items: center;
  color: #a5b4fc; font-size: .85rem;
}
.badge {
  position: absolute; top: 12px; left: 12px; background: var(--primary); color: #fff;
  font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; letter-spacing: .03em;
}
.card-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.card-cat { font-size: .76rem; font-weight: 600; color: var(--primary-ink); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.card-title { font-size: 1.08rem; font-weight: 700; margin: 0 0 8px; letter-spacing: -.01em; }
.card-title a:hover { color: var(--primary-ink); }
.card-summary { color: var(--text-soft); font-size: .9rem; margin: 0 0 16px; flex: 1; }
.card-meta { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--border-soft); padding-top: 14px; }
.price { font-weight: 700; font-size: 1.05rem; color: var(--text); }
.card-arrow { font-size: .88rem; font-weight: 600; color: var(--primary-ink); }
.card-arrow:hover { text-decoration: underline; }

/* ---------- Empty state ---------- */
.empty { text-align: center; padding: 70px 0; color: var(--text-soft); }
.empty .empty-icon { font-size: 2.6rem; margin-bottom: 12px; }
.empty h3 { margin: 0 0 6px; color: var(--text); }

/* ---------- Product detail ---------- */
.detail-wrap { padding: 44px 0 72px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .86rem; color: var(--text-muted); margin-bottom: 30px; flex-wrap: wrap; }
.breadcrumb a { color: var(--text-soft); }
.breadcrumb a:hover { color: var(--primary-ink); }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.detail-layout > * { min-width: 0; }
.gallery { position: relative; min-width: 0; }
.gallery .main-img { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border-soft); background: var(--surface-2); aspect-ratio: 4 / 3; }
.gallery .main-img img { width: 100%; height: 100%; object-fit: cover; }
.thumbs-wrap { display: flex; align-items: center; gap: 8px; margin-top: 12px; min-width: 0; }
.gallery-thumbs { display: flex; gap: 10px; overflow-x: auto; scroll-behavior: smooth; flex: 1 1 0; min-width: 0; padding-bottom: 4px; scrollbar-width: none; -ms-overflow-style: none; }
.gallery-thumbs::-webkit-scrollbar { display: none; }
.gallery-thumbs img { flex: 0 0 84px; width: 84px; height: 84px; object-fit: cover; border-radius: 8px; border: 2px solid transparent; cursor: pointer; transition: .18s; }
.gallery-thumbs img.active, .gallery-thumbs img:hover { border-color: var(--primary); }
.thumbs-nav { display: none; flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border); background: #fff; color: var(--text); cursor: pointer; align-items: center; justify-content: center; font-size: 1rem; box-shadow: var(--shadow-sm); }
.thumbs-wrap.has-overflow .thumbs-nav { display: flex; }
.thumbs-nav:hover { border-color: var(--primary); color: var(--primary-ink); }
.detail-body h1 { font-size: 2rem; letter-spacing: -.02em; margin: 0 0 14px; font-weight: 800; }
.detail-meta { color: var(--text-muted); font-size: .9rem; display: flex; gap: 16px; flex-wrap: wrap; align-items: center; margin-bottom: 22px; }
.detail-cat { background: var(--primary-soft); color: var(--primary-ink); padding: 4px 12px; border-radius: 999px; font-size: .8rem; font-weight: 600; }
.price-box {
  display: flex; align-items: baseline; gap: 12px; margin: 20px 0;
  background: var(--surface-2); border: 1px solid var(--border-soft);
  padding: 18px 22px; border-radius: var(--radius);
}
.price-box .price-label { color: var(--text-soft); font-size: .86rem; }
.price-box .detail-price { font-size: 2.1rem; font-weight: 800; letter-spacing: -.03em; }
.price-box .price-note { color: var(--text-soft); font-size: .9rem; }
.detail-desc { color: var(--text-soft); }
.detail-desc h2, .detail-desc h3 { color: var(--text); }
.detail-desc img { border-radius: var(--radius-sm); margin: 16px 0; }
.detail-actions { display: flex; gap: 12px; margin-top: 26px; }

/* ---------- Detail introduction ---------- */
.detail-intro { margin-top: 56px; }
.detail-intro-body { background: var(--surface-2); border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 34px; color: var(--text-soft); line-height: 1.75; }
.detail-intro-body h1, .detail-intro-body h2, .detail-intro-body h3, .detail-intro-body h4 { color: var(--text); letter-spacing: -.01em; margin: 1.4em 0 .6em; }
.detail-intro-body h1 { font-size: 1.6rem; }
.detail-intro-body h2 { font-size: 1.4rem; }
.detail-intro-body h3 { font-size: 1.2rem; }
.detail-intro-body h2:first-child, .detail-intro-body h3:first-child { margin-top: 0; }
.detail-intro-body p { margin: 0 0 1em; }
.detail-intro-body img { max-width: 100%; height: auto; border-radius: var(--radius-sm); margin: 18px 0; border: 1px solid var(--border-soft); }
.detail-intro-body ul, .detail-intro-body ol { margin: 0 0 1em; padding-left: 1.4em; }
.detail-intro-body li { margin: .35em 0; }
.detail-intro-body blockquote { margin: 1em 0; padding: 4px 18px; border-left: 3px solid var(--primary); background: #fff; color: var(--text-soft); border-radius: 0 8px 8px 0; }
.detail-intro-body a { color: var(--primary-ink); text-decoration: underline; }
.detail-intro-body code { background: #fff; border: 1px solid var(--border-soft); padding: 2px 6px; border-radius: 5px; font-size: .88em; color: var(--primary-ink); }
.detail-intro-body pre { background: #0f172a; color: #e2e8f0; padding: 16px; border-radius: var(--radius-sm); overflow: auto; margin: 1em 0; }
.detail-intro-body pre code { background: transparent; border: 0; color: inherit; padding: 0; }
.detail-intro-body table { border-collapse: collapse; width: 100%; margin: 1em 0; }
.detail-intro-body th, .detail-intro-body td { border: 1px solid var(--border); padding: 8px 12px; text-align: left; }
.detail-intro-body th { background: #fff; color: var(--text); }

/* ---------- Feature strip ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 64px; }
.feature { background: var(--surface-2); border-radius: var(--radius); padding: 26px; }
.feature .feat-icon { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary-ink); font-size: 1.3rem; margin-bottom: 14px; }
.feature h4 { margin: 0 0 6px; font-size: 1.02rem; }
.feature p { margin: 0; color: var(--text-soft); font-size: .9rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--border-soft); margin-top: 40px; }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; padding: 44px 0 26px; flex-wrap: wrap; }
.footer-brand { font-weight: 700; margin: 0 0 6px; }
.footer-tag { color: var(--text-soft); margin: 0; font-size: .9rem; }
.footer-links { display: flex; gap: 22px; align-items: center; }
.footer-links a { color: var(--text-soft); font-size: .9rem; }
.footer-links a:hover { color: var(--primary-ink); }
.footer-bottom { display: flex; justify-content: space-between; border-top: 1px solid var(--border-soft); padding: 20px 0; color: var(--text-muted); font-size: .82rem; flex-wrap: wrap; gap: 8px; }

/* ---------- Pagination ---------- */
.pagination { display: flex; justify-content: center; margin-top: 48px; }
.pagination ul { display: flex; gap: 6px; list-style: none; padding: 0; margin: 0; align-items: center; }
.pagination a, .pagination span {
  min-width: 40px; height: 40px; display: grid; place-items: center; padding: 0 12px;
  border-radius: 8px; border: 1px solid var(--border); background: #fff; font-size: .9rem;
}
.pagination a:hover { border-color: var(--primary); color: var(--primary-ink); }
.pagination .active span { background: var(--primary); border-color: var(--primary); color: #fff; }
.pagination .is-disabled { opacity: .4; pointer-events: none; }
.pagination .gap { border: 0; background: transparent; }

/* ---------- Page head ---------- */
.page-head { padding: 46px 0 10px; }
.page-head h1 { font-size: 2rem; letter-spacing: -.02em; margin: 0 0 10px; font-weight: 800; }
.page-head p { color: var(--text-soft); margin: 0; max-width: 640px; }

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 26px 0; flex-wrap: wrap; }
.toolbar .results { color: var(--text-muted); font-size: .9rem; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .detail-layout { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .search-form input { width: 120px; }
  .nav { position: fixed; inset: 68px 0 auto 0; background: #fff; flex-direction: column; align-items: stretch; padding: 12px; gap: 4px; box-shadow: var(--shadow-lg); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .2s; border-bottom: 1px solid var(--border-soft); }
  .nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-toggle { display: flex; }
  .header-actions .search-form { display: none; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .hero { padding: 60px 0 54px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- Background layer (global site bg / per-product detail bg) ---------- */
body.has-bg { position: relative; }
/* Background scrolls with the page (not fixed) and covers the first viewport */
.page-bg { position: absolute; top: 0; left: 0; right: 0; height: 100vh; z-index: 0; overflow: hidden; pointer-events: none; }
.page-bg .page-bg-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
/* transparent at the top to reveal the background, fading to the page colour from ~2/3 down */
.page-bg .page-bg-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 66%, #ffffff 100%); }
body.has-bg .site-main, body.has-bg .site-footer { position: relative; z-index: 1; }
body.has-bg .hero { background-color: transparent; background-image: linear-gradient(180deg, rgba(255,255,255,.45), rgba(255,255,255,.20)); }
body.has-bg .site-footer { background: rgba(246,247,249,.82); }
/* Product detail with a background: hide breadcrumb and push content down to ~2/3 screen */
.detail-wrap.detail-has-bg { padding-top: calc(64vh - 68px); }
.detail-wrap.detail-has-bg .breadcrumb { display: none; }

/* ---------- Order / buy / query pages ---------- */
.order-page { padding: 44px 0 72px; }
.order-card { max-width: 640px; margin: 0 auto; background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); }
.order-card h1 { font-size: 1.5rem; margin: 0 0 18px; letter-spacing: -.02em; }
.order-product { background: var(--surface-2); border: 1px solid var(--border-soft); border-radius: var(--radius-sm); padding: 18px; margin-bottom: 20px; }
.op-title { font-weight: 700; font-size: 1.05rem; }
.op-sum { color: var(--text-soft); font-size: .9rem; margin-top: 4px; }
.op-price { color: var(--primary-ink); font-weight: 800; font-size: 1.5rem; margin-top: 10px; }
.order-form .field { margin-bottom: 16px; }
.order-form label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 6px; }
.order-form input { width: 100%; padding: 11px 12px; border: 1px solid var(--border); border-radius: 9px; font-size: .95rem; }
.order-form input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.captcha-row { display: flex; gap: 10px; align-items: center; }
.captcha-row input { flex: 1; }
.captcha-row img { height: 42px; width: 120px; border-radius: 8px; border: 1px solid var(--border); cursor: pointer; }
.btn-block { width: 100%; justify-content: center; }
.order-help { color: var(--text-muted); font-size: .84rem; margin-top: 14px; line-height: 1.6; }
.order-help a { color: var(--primary-ink); }
.order-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 20px; margin-bottom: 22px; }
.order-meta > div { display: flex; flex-direction: column; gap: 2px; }
.order-meta span { color: var(--text-muted); font-size: .78rem; }
.order-meta strong { font-size: .95rem; word-break: break-all; }
.pay-box, .delivery-box { text-align: center; padding: 18px; background: var(--surface-2); border: 1px solid var(--border-soft); border-radius: var(--radius); }
.delivery-box h2 { font-size: 1.1rem; margin: 0 0 12px; }
.pay-qr { width: 220px; height: 220px; margin: 0 auto 14px; display: block; border-radius: 10px; border: 1px solid var(--border); background: #fff; }
.delivery-text { white-space: pre-wrap; word-break: break-all; text-align: left; background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 14px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .86rem; }
.muted { color: var(--text-muted); }
.query-form { display: flex; gap: 10px; margin-bottom: 18px; }
.query-form input { flex: 1; padding: 11px 12px; border: 1px solid var(--border); border-radius: 9px; font-size: .95rem; }
.query-stats { background: var(--primary-soft); color: var(--primary-ink); border-radius: 8px; padding: 10px 14px; font-size: .88rem; margin-bottom: 16px; }
.order-table { width: 100%; }

/* Delivery / simulated / limit styles */
.delivery-link-wrap { margin: 0 0 8px; }
.delivery-link { color: var(--primary-ink); word-break: break-all; text-decoration: underline; font-size: .95rem; }
.sim-tag { display: inline-block; background: #fff7ed; color: #c2410c; border: 1px solid #fed7aa; border-radius: 999px; padding: 3px 12px; font-size: .78rem; margin: 0 0 10px; }
.limit-note { color: var(--text-muted); font-size: .84rem; margin-top: 10px; }
.btn.is-disabled { background: #cbd5e1; box-shadow: none; cursor: not-allowed; }

/* ---------- Animated fluid hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hero-blob { position: absolute; border-radius: 50%; filter: blur(64px); opacity: .55; will-change: transform; }
.hero-blob.b1 { width: 540px; height: 540px; left: -140px; top: -180px; background: radial-gradient(circle at 35% 35%, rgba(96,165,250,.95), rgba(96,165,250,0) 70%); animation: heroBlob1 20s ease-in-out infinite; }
.hero-blob.b2 { width: 480px; height: 480px; right: -120px; top: -150px; background: radial-gradient(circle at 35% 35%, rgba(167,139,250,.95), rgba(167,139,250,0) 70%); animation: heroBlob2 24s ease-in-out infinite; }
.hero-blob.b3 { width: 420px; height: 420px; left: 36%; bottom: -230px; background: radial-gradient(circle at 35% 35%, rgba(34,211,238,.8), rgba(34,211,238,0) 70%); animation: heroBlob3 22s ease-in-out infinite; }
@keyframes heroBlob1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(70px,50px) scale(1.12); } }
@keyframes heroBlob2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-60px,40px) scale(1.08); } }
@keyframes heroBlob3 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(40px,-40px) scale(1.1); } }
.hero-flow { position: absolute; left: 0; right: 0; bottom: -2px; width: 100%; height: 180px; display: block; }
.hero-flow .drift { transform-box: fill-box; }
.hero-flow .d1 { animation: heroDrift 18s linear infinite; }
.hero-flow .d2 { animation: heroDrift 26s linear infinite reverse; }
@keyframes heroDrift { from { transform: translateX(0); } to { transform: translateX(-33.3333%); } }
.hero-inner { position: relative; z-index: 1; }
body.has-bg .hero-bg { display: none; }
@media (prefers-reduced-motion: reduce) {
  .hero-blob, .hero-flow .drift { animation: none !important; }
}

/* Payment method tiles (buy page) */
.pay-methods { display: flex; flex-wrap: wrap; gap: 12px; }
.pay-method { position: relative; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border: 1.5px solid var(--border); border-radius: 12px; background: #fff; cursor: pointer; transition: .18s; min-width: 148px; }
.pay-method:hover { border-color: var(--primary); }
.pay-method input { position: absolute; opacity: 0; width: 0; height: 0; }
.pay-method .pm-logo { display: flex; align-items: center; }
.pay-method .pm-name { font-weight: 600; font-size: .92rem; }
.pay-method.selected, .pay-method:has(input:checked) { border-color: var(--primary); background: var(--primary-soft); box-shadow: 0 0 0 3px var(--primary-soft); }

/* Payment method tile: icon left, text right */
.pay-method { flex-direction: row; }
.pay-method .pm-logo { display: inline-flex; align-items: center; }
.pay-method .pm-icon { width: 26px; height: 26px; flex: 0 0 auto; }
.pay-method .pm-name { white-space: nowrap; }
