:root {
  --bg: #030305;
  --bg-2: #07070c;
  --panel: rgba(12, 14, 23, .72);
  --panel-strong: rgba(16, 18, 30, .92);
  --text: #f8fbff;
  --muted: #a3a8b9;
  --soft: #6f768e;
  --line: rgba(255,255,255,.105);
  --line-strong: rgba(255,255,255,.18);
  --blue: #05b8ff;
  --cyan: #43e6ff;
  --violet: #8b5cf6;
  --magenta: #ff2fa8;
  --orange: #ff8a00;
  --red: #ff3b52;
  --green: #4ade80;
  --shadow: 0 30px 120px rgba(0,0,0,.65);
  --radius: 28px;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { min-height: 100%; background: var(--bg); }
body {
  min-height: 100%;
  margin: 0;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, sans-serif;
  background:
    radial-gradient(circle at 16% 18%, rgba(0, 144, 255, .22), transparent 28%),
    radial-gradient(circle at 82% 20%, rgba(255, 117, 0, .18), transparent 32%),
    radial-gradient(circle at 50% 0%, rgba(255, 47, 168, .14), transparent 32%),
    linear-gradient(180deg, #030305 0%, #080810 42%, #020204 100%);
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 42%, rgba(255,255,255,.05) 44%, transparent 46%),
    radial-gradient(circle at 50% 50%, transparent 0, rgba(0,0,0,.64) 100%);
  opacity: .58;
  z-index: -3;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
.bg-noise {
  position: fixed; inset: 0; z-index: -1; opacity: .11; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}
.orb { position: fixed; border-radius: 999px; filter: blur(54px); opacity: .5; pointer-events: none; z-index: -2; }
.orb-blue { width: 400px; height: 400px; left: -140px; top: 230px; background: rgba(0, 148, 255, .45); }
.orb-fire { width: 440px; height: 440px; right: -160px; top: 150px; background: rgba(255, 100, 0, .36); }
.site-header {
  position: sticky; top: 0; z-index: 50;
  width: min(var(--max), calc(100% - 34px));
  margin: 16px auto 0;
  min-height: 74px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  background: rgba(4, 5, 10, .70);
  backdrop-filter: blur(22px) saturate(145%);
  box-shadow: 0 18px 70px rgba(0,0,0,.44), inset 0 1px 0 rgba(255,255,255,.08);
}
.brand { display: flex; align-items: center; min-width: 0; }
.brand-logo {
  width: 112px; height: 50px; object-fit: contain; object-position: left center;
  filter: drop-shadow(0 0 18px rgba(0, 183, 255, .34)) drop-shadow(0 0 22px rgba(255, 113, 0, .24));
  border-radius: 999px;
}
.nav {
  display: flex; align-items: center; gap: 4px;
  padding: 6px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.035);
  border-radius: 999px;
}
.nav a, .header-action {
  color: rgba(248,251,255,.78);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -.01em;
  padding: 11px 14px;
  border-radius: 999px;
  transition: transform .18s ease, color .18s ease, background .18s ease, border-color .18s ease;
}
.nav a:hover, .nav a.active { color: white; background: rgba(255,255,255,.08); }
.header-action {
  justify-self: end;
  border: 1px solid rgba(255,255,255,.13);
  background: linear-gradient(90deg, rgba(5,184,255,.16), rgba(255,47,168,.12), rgba(255,138,0,.14));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10);
}
.header-action:hover { transform: translateY(-1px); border-color: rgba(255,255,255,.24); }
.mobile-menu { display: none; justify-self: end; border: 1px solid var(--line); background: rgba(255,255,255,.06); color: white; border-radius: 999px; padding: 10px 14px; }
.app-shell { width: min(var(--max), calc(100% - 34px)); margin: 0 auto; padding: 78px 0 50px; }
.hero {
  min-height: calc(100vh - 160px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, .88fr);
  gap: 44px;
  align-items: center;
  padding: 26px 0 64px;
}
.eyebrow, .section-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  width: max-content;
  max-width: 100%;
  padding: 9px 13px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 999px;
  color: rgba(255,255,255,.80);
  background: rgba(255,255,255,.045);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .13em;
}
.eyebrow::before, .section-kicker::before {
  content: ""; width: 8px; height: 8px; border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan), var(--magenta), var(--orange));
  box-shadow: 0 0 20px rgba(255,47,168,.75);
}
h1, h2, h3, p { margin-top: 0; }
.hero h1, .page-title h1 {
  margin: 22px 0 22px;
  font-size: clamp(54px, 8.5vw, 108px);
  line-height: .86;
  letter-spacing: -.085em;
  max-width: 820px;
}
.gradient-text {
  background: linear-gradient(110deg, #ffffff 0%, #7dd3fc 22%, #a78bfa 48%, #ff4db8 66%, #ff9f1a 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 48px rgba(255,47,168,.20);
}
.hero-copy, .lead, .page-title p, .promise {
  color: var(--muted);
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.65;
  max-width: 690px;
}
.hero-actions, .inline-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  background: rgba(255,255,255,.055);
  color: white;
  font-weight: 900;
  font-size: 14px;
  letter-spacing: -.01em;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.09); }
.btn.primary {
  background: linear-gradient(100deg, #04b9ff 0%, #8b5cf6 42%, #ff2fa8 68%, #ff8a00 100%);
  border-color: rgba(255,255,255,.25);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(255,255,255,.09) inset, 0 18px 62px rgba(255, 47, 168, .22), 0 10px 45px rgba(0, 180, 255, .18);
}
.btn.small { min-height: 38px; padding: 0 13px; font-size: 12px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.hero-panel {
  position: relative;
  min-height: 530px;
  border-radius: 42px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.13);
  background: radial-gradient(circle at 20% 30%, rgba(0,184,255,.24), transparent 35%), radial-gradient(circle at 86% 36%, rgba(255,122,0,.26), transparent 36%), rgba(3,3,5,.68);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.10);
}
.hero-panel::before {
  content: ""; position: absolute; inset: -2px;
  background-image: url('/assets/pbi-logo.png');
  background-size: 112%;
  background-position: 50% 47%;
  background-repeat: no-repeat;
  filter: saturate(1.1) contrast(1.04) drop-shadow(0 0 60px rgba(255,84,0,.38));
  transform: scale(1.02);
}
.hero-panel::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 0 54%, rgba(0,0,0,.78) 100%);
}
.hero-product {
  position: absolute; left: 22px; right: 22px; bottom: 22px; z-index: 2;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 26px;
  background: rgba(4,5,9,.68);
  backdrop-filter: blur(20px);
  padding: 20px;
  box-shadow: 0 22px 70px rgba(0,0,0,.50);
}
.hero-product .meta { display: flex; justify-content: space-between; gap: 18px; color: var(--muted); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }
.hero-product h3 { margin: 14px 0 7px; font-size: 25px; letter-spacing: -.04em; }
.hero-product p { color: var(--muted); line-height: 1.5; margin: 0 0 16px; }
.price-pill { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 16px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.13); font-weight: 950; }
.section { padding: 48px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.section-head h2 { margin: 14px 0 8px; font-size: clamp(34px, 5vw, 60px); line-height: .94; letter-spacing: -.07em; max-width: 680px; }
.lead { font-size: 16px; margin: 0; }
.showcase {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(320px, .62fr);
  gap: 18px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 36px;
  padding: 18px;
  background: linear-gradient(135deg, rgba(255,255,255,.055), rgba(255,255,255,.02));
  box-shadow: 0 25px 90px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.08);
}
.showcase-visual {
  min-height: 330px;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  background: #050507;
  border: 1px solid rgba(255,255,255,.08);
}
.showcase-visual::before { content: ""; position: absolute; inset: 0; background-image: url('/assets/pbi-logo.png'); background-size: 104%; background-position: center; background-repeat: no-repeat; filter: saturate(1.08) contrast(1.04); }
.showcase-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.05), rgba(0,0,0,.70)); }
.showcase-copy { padding: 28px 22px; align-self: center; }
.showcase-copy h3 { margin: 14px 0 10px; font-size: clamp(30px, 4vw, 50px); line-height: .96; letter-spacing: -.065em; }
.showcase-copy p { color: var(--muted); line-height: 1.65; }
.compact-list { display: grid; gap: 9px; margin: 18px 0 24px; }
.compact-row { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.84); }
.check { color: white; width: 24px; height: 24px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--blue), var(--magenta), var(--orange)); font-size: 12px; box-shadow: 0 0 22px rgba(255,47,168,.24); }
.category-tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.category-tabs button, .filter-button {
  border: 1px solid rgba(255,255,255,.11);
  background: rgba(255,255,255,.045);
  color: rgba(255,255,255,.74);
  border-radius: 999px;
  padding: 11px 14px;
  font-weight: 900;
}
.category-tabs button.active, .filter-button.active { color: white; background: linear-gradient(100deg, rgba(5,184,255,.32), rgba(255,47,168,.28), rgba(255,138,0,.22)); border-color: rgba(255,255,255,.23); }
.product-flow { display: grid; gap: 12px; }
.product-row {
  position: relative;
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  min-height: 104px;
  padding: 17px;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.105);
  background: rgba(255,255,255,.04);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
  overflow: hidden;
}
.product-row::before { content: ""; position: absolute; inset: 0; opacity: 0; background: linear-gradient(90deg, rgba(0,184,255,.12), rgba(255,47,168,.09), rgba(255,138,0,.10)); transition: opacity .18s ease; }
.product-row:hover::before { opacity: 1; }
.product-row > * { position: relative; z-index: 1; }
.product-row:hover { border-color: rgba(255,255,255,.20); }
.product-icon {
  width: 66px; height: 66px; border-radius: 20px;
  display: grid; place-items: center;
  font-size: 16px; font-weight: 950;
  letter-spacing: -.07em;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.42), transparent 28%), linear-gradient(135deg, #05b8ff, #7939ff 43%, #ff2fa8 68%, #ff8a00);
  box-shadow: 0 16px 40px rgba(0,184,255,.16), 0 0 28px rgba(255,47,168,.18);
}
.product-main h3 { margin: 0 0 5px; font-size: 20px; letter-spacing: -.04em; }
.product-main p { margin: 0 0 10px; color: var(--muted); line-height: 1.45; }
.badges { display: flex; flex-wrap: wrap; gap: 7px; }
.badge {
  display: inline-flex; align-items: center; min-height: 25px; padding: 0 9px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.052);
  color: rgba(255,255,255,.72);
  font-size: 11px;
  font-weight: 900;
}
.row-side { display: flex; align-items: center; justify-content: end; gap: 10px; }
.row-price, .buy-price { font-weight: 950; letter-spacing: -.06em; }
.row-price { font-size: 24px; }
.page-title { padding: 74px 0 34px; }
.page-title h1 { font-size: clamp(54px, 8vw, 96px); }
.collection-layout { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 20px; align-items: start; }
.sidebar { position: sticky; top: 112px; display: grid; gap: 8px; padding: 10px; border: 1px solid rgba(255,255,255,.10); border-radius: 26px; background: rgba(255,255,255,.035); }
.filter-button { width: 100%; text-align: left; }
.product-grid { display: grid; gap: 13px; }
.product-card {
  display: grid;
  grid-template-columns: 240px 1fr auto;
  gap: 18px;
  align-items: center;
  min-height: 190px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  border-radius: 32px;
  padding: 14px 18px 14px 14px;
  overflow: hidden;
}
.product-card > a { display: contents; }
.card-art {
  height: 160px;
  border-radius: 24px;
  display: flex; align-items: end; padding: 16px;
  position: relative; overflow: hidden;
  background: #050509;
  border: 1px solid rgba(255,255,255,.08);
}
.card-art::before { content: ""; position: absolute; inset: -20px; background: radial-gradient(circle at 20% 55%, rgba(0,184,255,.45), transparent 30%), radial-gradient(circle at 80% 42%, rgba(255,138,0,.36), transparent 32%), radial-gradient(circle at 50% 50%, rgba(255,47,168,.30), transparent 34%); filter: blur(4px); }
.card-art span { position: relative; z-index: 1; color: white; font-weight: 950; font-size: 13px; text-transform: uppercase; letter-spacing: .11em; }
.card-body h3 { margin: 0 0 7px; font-size: 27px; letter-spacing: -.055em; }
.card-body p { color: var(--muted); line-height: 1.55; margin: 0 0 12px; }
.card-foot { display: flex; align-items: center; gap: 12px; }
.product-detail { display: grid; grid-template-columns: minmax(360px, .84fr) minmax(0, .96fr); gap: 36px; align-items: start; padding: 70px 0; }
.detail-visual {
  position: sticky; top: 112px;
  min-height: 580px;
  border-radius: 42px;
  border: 1px solid rgba(255,255,255,.13);
  background: #030305;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.detail-visual::before { content: ""; position: absolute; inset: 0; background-image: url('/assets/pbi-logo.png'); background-size: 128%; background-position: center 44%; background-repeat: no-repeat; filter: saturate(1.06) contrast(1.04); }
.detail-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 0 48%, rgba(0,0,0,.82)); }
.detail-visual-inner { position: absolute; left: 24px; right: 24px; bottom: 24px; z-index: 1; font-size: 58px; font-weight: 950; letter-spacing: -.11em; opacity: .92; }
.detail-copy h1 { font-size: clamp(44px, 6vw, 76px); line-height: .91; letter-spacing: -.08em; margin: 18px 0 16px; }
.buy-box, .info-panel, .form-card, .library-card, .admin-panel, .faq-item, .empty-state, .step {
  border: 1px solid rgba(255,255,255,.105);
  background: rgba(255,255,255,.045);
  border-radius: 28px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.buy-box { padding: 18px; margin: 24px 0; }
.buy-top { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 16px; }
.buy-price { font-size: 44px; }
.helper { color: var(--muted); font-size: 13px; line-height: 1.5; }
.info-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.info-panel { padding: 20px; }
.info-panel h3 { margin: 0 0 12px; font-size: 19px; letter-spacing: -.04em; }
ul { margin: 0; padding-left: 20px; color: rgba(255,255,255,.78); line-height: 1.75; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.step { padding: 20px; }
.step-number { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; font-weight: 950; background: linear-gradient(135deg, var(--blue), var(--magenta), var(--orange)); margin-bottom: 18px; }
.step h3 { margin: 0 0 8px; letter-spacing: -.04em; }
.step p { color: var(--muted); line-height: 1.5; margin: 0; }
.library-shell, .admin-shell { padding: 54px 0; }
.library-grid { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 18px; align-items: start; }
.form-card { padding: 22px; }
.field { display: grid; gap: 8px; margin-bottom: 14px; }
.field label { color: rgba(255,255,255,.72); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; }
.input, textarea, select {
  width: 100%; min-height: 48px; padding: 0 14px;
  color: white;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.30);
  outline: none;
}
textarea.input { padding: 12px 14px; min-height: 108px; resize: vertical; }
.input:focus, textarea:focus, select:focus { border-color: rgba(5,184,255,.52); box-shadow: 0 0 0 4px rgba(5,184,255,.12); }
.library-card { min-height: 360px; padding: 18px; }
.download-item { display: grid; grid-template-columns: 66px 1fr auto; gap: 16px; align-items: center; padding: 15px; border: 1px solid rgba(255,255,255,.09); border-radius: 24px; background: rgba(0,0,0,.18); margin-bottom: 12px; }
.download-item h3 { margin: 0 0 6px; letter-spacing: -.045em; }
.download-item p { margin: 0; color: var(--muted); }
.license-key { display: inline-flex; width: max-content; max-width: 100%; border: 1px solid rgba(255,255,255,.13); background: rgba(0,0,0,.28); color: white; border-radius: 14px; padding: 8px 10px; font-size: 12px; font-weight: 900; letter-spacing: .05em; overflow-wrap: anywhere; }
.admin-top { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.admin-tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.admin-panel { padding: 18px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 720px; }
th, td { text-align: left; padding: 14px 12px; border-bottom: 1px solid rgba(255,255,255,.08); vertical-align: middle; }
th { color: rgba(255,255,255,.55); font-size: 12px; text-transform: uppercase; letter-spacing: .11em; }
.status-dot { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 900; color: var(--green); }
.status-dot::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: currentColor; box-shadow: 0 0 16px currentColor; }
.status-dot.draft { color: var(--orange); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .wide { grid-column: 1 / -1; }
.empty-state { padding: 34px; text-align: center; }
.empty-state h3 { margin-bottom: 8px; letter-spacing: -.045em; }
.empty-state p { color: var(--muted); margin-bottom: 0; }
.faq-list { display: grid; gap: 12px; max-width: 860px; }
.faq-item { padding: 22px; }
.faq-item h3 { margin: 0 0 8px; letter-spacing: -.04em; }
.faq-item p { color: var(--muted); line-height: 1.65; margin: 0; }
.footer {
  width: min(var(--max), calc(100% - 34px)); margin: 30px auto 34px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px 0 0;
  color: var(--muted);
  border-top: 1px solid rgba(255,255,255,.09);
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { width: 72px; height: 40px; object-fit: contain; }
.footer-brand p { margin: 0; }
.footer-links { display: flex; gap: 16px; }
.footer-links a:hover { color: white; }
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px);
  opacity: 0; pointer-events: none; z-index: 100;
  min-width: min(92vw, 420px);
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(5,6,12,.88);
  backdrop-filter: blur(16px);
  border-radius: 18px;
  padding: 14px 16px;
  box-shadow: 0 22px 70px rgba(0,0,0,.48);
  transition: opacity .18s ease, transform .18s ease;
  text-align: center;
  font-weight: 800;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto auto; }
  .nav { display: none; position: absolute; left: 12px; right: 12px; top: 78px; padding: 10px; border-radius: 24px; background: rgba(4,5,10,.92); backdrop-filter: blur(20px); }
  .menu-open .nav { display: grid; }
  .nav a { width: 100%; }
  .mobile-menu { display: inline-flex; }
  .header-action { display: none; }
  .hero, .showcase, .product-detail, .library-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 20px; }
  .hero-panel, .detail-visual { position: relative; top: auto; min-height: 420px; }
  .collection-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; display: flex; overflow-x: auto; }
  .filter-button { width: max-content; white-space: nowrap; }
  .steps { grid-template-columns: 1fr 1fr; }
  .product-card { grid-template-columns: 170px 1fr; }
  .card-foot { grid-column: 1 / -1; justify-content: space-between; }
}
@media (max-width: 640px) {
  .app-shell { width: min(100% - 24px, var(--max)); padding-top: 44px; }
  .site-header { width: min(100% - 20px, var(--max)); min-height: 64px; }
  .brand-logo { width: 92px; height: 42px; }
  .hero h1, .page-title h1 { font-size: 54px; }
  .hero-panel, .detail-visual { min-height: 330px; border-radius: 30px; }
  .showcase, .buy-box, .info-panel, .form-card, .library-card, .admin-panel, .faq-item { border-radius: 22px; }
  .product-row { grid-template-columns: 54px 1fr; }
  .product-row .row-side { grid-column: 1 / -1; justify-content: space-between; }
  .product-icon { width: 54px; height: 54px; border-radius: 16px; }
  .product-grid { display: grid; gap: 12px; }
  .product-card { grid-template-columns: 1fr; padding: 12px; }
  .card-art { height: 150px; }
  .download-item { grid-template-columns: 54px 1fr; }
  .download-item .row-side { grid-column: 1 / -1; justify-content: start; flex-wrap: wrap; }
  .info-panels, .steps, .form-grid { grid-template-columns: 1fr; }
  .admin-top, .section-head, .footer { align-items: start; flex-direction: column; }
  .category-tabs { justify-content: start; }
}

/* PBI cinematic redesign overrides */
.site-header { background: rgba(0,0,0,.72); border-color: rgba(255,255,255,.13); }
.brand-logo { width: 156px; height: 58px; border-radius: 0; filter: drop-shadow(0 0 22px rgba(0,170,255,.45)) drop-shadow(0 0 30px rgba(255,100,0,.25)); }
.header-action[href="/admin"] { display: none !important; }
.hero-cinematic {
  position: relative;
  min-height: calc(100vh - 130px);
  grid-template-columns: minmax(0, .94fr) minmax(390px, .78fr);
  padding-top: 12px;
}
.hero-cinematic::before {
  content: "";
  position: absolute;
  inset: -120px -10vw auto -10vw;
  height: 520px;
  pointer-events: none;
  background: radial-gradient(ellipse at 26% 55%, rgba(0,172,255,.28), transparent 34%), radial-gradient(ellipse at 67% 55%, rgba(255,36,160,.22), transparent 35%), radial-gradient(ellipse at 86% 55%, rgba(255,126,0,.25), transparent 33%);
  filter: blur(18px);
  z-index: -1;
}
.hero-wordmark {
  position: absolute;
  inset: 2% auto auto 50%;
  width: min(880px, 88vw);
  transform: translateX(-50%);
  opacity: .12;
  pointer-events: none;
  mix-blend-mode: screen;
}
.hero-wordmark img { width: 100%; display: block; filter: saturate(1.2) contrast(1.15) blur(.1px); }
.hero-content { position: relative; z-index: 1; }
.hero h1, .page-title h1 {
  text-transform: none;
  text-wrap: balance;
  text-shadow: 0 0 65px rgba(0, 180, 255, .16), 0 0 75px rgba(255, 75, 0, .10);
}
.logo-stage { min-height: 600px; border-radius: 46px; background: #010103; }
.logo-stage::before {
  background-size: 135%;
  background-position: center 43%;
  opacity: 1;
  filter: saturate(1.08) contrast(1.08) drop-shadow(0 0 70px rgba(0,174,255,.30)) drop-shadow(0 0 80px rgba(255,102,0,.22));
}
.logo-stage::after { background: radial-gradient(circle at 50% 48%, transparent 0 42%, rgba(0,0,0,.35) 60%, rgba(0,0,0,.92) 100%), linear-gradient(180deg, transparent 0 54%, rgba(0,0,0,.88) 100%); }
.no-top-pad { padding-top: 0; }
.category-runway {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 28px;
  overflow: hidden;
  background: rgba(255,255,255,.035);
  box-shadow: 0 25px 80px rgba(0,0,0,.36), inset 0 1px 0 rgba(255,255,255,.08);
}
.category-runway a {
  min-height: 108px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  border-right: 1px solid rgba(255,255,255,.08);
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 950;
  letter-spacing: -.06em;
  background: linear-gradient(135deg, rgba(0,184,255,.10), rgba(255,47,168,.07), rgba(255,138,0,.08));
  transition: transform .18s ease, background .18s ease;
}
.category-runway a:last-child { border-right: 0; }
.category-runway a:hover { background: linear-gradient(135deg, rgba(0,184,255,.22), rgba(255,47,168,.16), rgba(255,138,0,.16)); }
.category-runway span { color: rgba(255,255,255,.38); font-size: 12px; letter-spacing: .16em; }
.showcase-cinematic { background: linear-gradient(135deg, rgba(0,184,255,.09), rgba(255,47,168,.06), rgba(255,138,0,.08)), rgba(255,255,255,.025); }
.product-row, .product-card, .detail-visual, .buy-box, .info-panel, .library-card, .admin-card {
  background: linear-gradient(135deg, rgba(0,184,255,.07), rgba(255,47,168,.045), rgba(255,138,0,.055)), rgba(5,6,11,.72) !important;
}
.card-art, .detail-visual, .showcase-visual {
  background-color: #010103 !important;
  background-image: radial-gradient(circle at 22% 50%, rgba(0,178,255,.18), transparent 34%), radial-gradient(circle at 78% 50%, rgba(255,113,0,.18), transparent 32%) !important;
}
.card-art::after, .detail-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('/assets/pbi-logo.png');
  background-repeat: no-repeat;
  background-size: 115%;
  background-position: center;
  opacity: .42;
  filter: saturate(1.12) contrast(1.05);
}
.card-art span, .detail-visual-inner { position: relative; z-index: 2; text-shadow: 0 0 28px rgba(255,255,255,.25); }
.product-icon { background: url('/assets/pbi-logo.png') center/190% no-repeat, #050507 !important; color: transparent !important; border: 1px solid rgba(255,255,255,.14); box-shadow: inset 0 0 30px rgba(0,184,255,.12), 0 0 35px rgba(255,97,0,.08); }
.footer img { width: 140px; height: auto; object-fit: contain; border-radius: 0; }

@media (max-width: 900px) {
  .hero-cinematic { grid-template-columns: 1fr; }
  .logo-stage { min-height: 440px; }
  .category-runway { grid-template-columns: 1fr 1fr; }
  .brand-logo { width: 120px; }
}
@media (max-width: 560px) {
  .category-runway { grid-template-columns: 1fr; }
  .category-runway a { min-height: 82px; }
}

/* PBI refined storefront v3: less AI, more premium software shop */
:root {
  --bg: #050509;
  --bg-2: #090a10;
  --panel: rgba(14, 15, 21, .78);
  --panel-strong: rgba(17, 18, 26, .94);
  --text: #f5f7fb;
  --muted: #a7adba;
  --soft: #707789;
  --line: rgba(255,255,255,.10);
  --line-strong: rgba(255,255,255,.16);
  --blue: #23a8ff;
  --cyan: #35d5e6;
  --violet: #7c5cff;
  --magenta: #e843b5;
  --orange: #ff9b2f;
  --shadow: 0 28px 80px rgba(0,0,0,.36);
}
html, body { background: var(--bg) !important; }
body {
  background:
    radial-gradient(circle at 8% 0%, rgba(124,92,255,.14), transparent 32%),
    radial-gradient(circle at 100% 10%, rgba(35,168,255,.10), transparent 31%),
    linear-gradient(180deg, #050509 0%, #080912 56%, #050509 100%) !important;
  color: var(--text);
}
body::before { opacity: .22; background: radial-gradient(circle at 50% 18%, rgba(255,255,255,.04), transparent 40%) !important; }
.bg-noise { opacity: .045 !important; }
.orb, .hero-wordmark { display: none !important; }
.site-header {
  width: min(1120px, calc(100% - 32px)) !important;
  min-height: 64px !important;
  margin-top: 18px !important;
  padding: 9px 12px !important;
  border-radius: 22px !important;
  background: rgba(8, 9, 14, .82) !important;
  border-color: rgba(255,255,255,.10) !important;
  box-shadow: 0 12px 40px rgba(0,0,0,.26), inset 0 1px 0 rgba(255,255,255,.055) !important;
}
.brand-logo {
  width: 120px !important;
  height: 42px !important;
  object-fit: contain !important;
  object-position: left center !important;
  filter: none !important;
}
.nav { background: rgba(255,255,255,.025) !important; border-color: rgba(255,255,255,.075) !important; padding: 4px !important; }
.nav a, .header-action { font-size: 12px !important; font-weight: 750 !important; color: rgba(245,247,251,.72) !important; padding: 10px 12px !important; }
.nav a:hover, .nav a.active { background: rgba(255,255,255,.065) !important; color: #fff !important; }
.header-action { background: transparent !important; border-color: rgba(255,255,255,.105) !important; }
.app-shell { width: min(1120px, calc(100% - 32px)) !important; padding-top: 68px !important; }
.hero, .hero-cinematic {
  min-height: auto !important;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, .78fr) !important;
  gap: 52px !important;
  padding: 62px 0 54px !important;
}
.hero-cinematic::before { display: none !important; }
.eyebrow, .section-kicker {
  padding: 8px 11px !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.035) !important;
  border-color: rgba(255,255,255,.095) !important;
  color: rgba(245,247,251,.70) !important;
  font-size: 11px !important;
  letter-spacing: .11em !important;
}
.eyebrow::before, .section-kicker::before { background: #57d6ff !important; box-shadow: none !important; }
.hero h1, .page-title h1 {
  font-size: clamp(50px, 7.4vw, 92px) !important;
  line-height: .91 !important;
  letter-spacing: -.075em !important;
  text-shadow: none !important;
  color: var(--text) !important;
  max-width: 760px !important;
}
.gradient-text { color: inherit !important; background: none !important; text-shadow: none !important; }
.hero-copy, .lead, .page-title p, .promise {
  color: rgba(220,226,237,.68) !important;
  font-size: clamp(16px, 1.5vw, 19px) !important;
  line-height: 1.65 !important;
}
.btn {
  min-height: 46px !important;
  padding: 0 17px !important;
  border-radius: 14px !important;
  border-color: rgba(255,255,255,.11) !important;
  background: rgba(255,255,255,.04) !important;
  box-shadow: none !important;
  font-weight: 760 !important;
}
.btn:hover { transform: translateY(-1px) !important; background: rgba(255,255,255,.07) !important; }
.btn.primary {
  background: linear-gradient(135deg, #2aa8ff 0%, #7c5cff 46%, #e843b5 100%) !important;
  border-color: rgba(255,255,255,.18) !important;
  box-shadow: 0 14px 34px rgba(124,92,255,.21) !important;
}
.hero-panel, .logo-stage {
  min-height: 470px !important;
  border-radius: 30px !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.018)),
    #080910 !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  box-shadow: 0 22px 70px rgba(0,0,0,.33), inset 0 1px 0 rgba(255,255,255,.06) !important;
}
.logo-stage::before, .hero-panel::before {
  content: "" !important;
  position: absolute !important;
  inset: 28px 28px 132px 28px !important;
  border-radius: 26px !important;
  background:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px),
    radial-gradient(circle at 30% 30%, rgba(35,168,255,.18), transparent 35%),
    radial-gradient(circle at 72% 38%, rgba(232,67,181,.13), transparent 35%),
    #0b0c14 !important;
  background-size: 42px 42px, 42px 42px, auto, auto, auto !important;
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
  border: 1px solid rgba(255,255,255,.075) !important;
}
.logo-stage::after, .hero-panel::after {
  content: "PBI" !important;
  position: absolute !important;
  inset: 28px 28px 132px 28px !important;
  display: grid !important;
  place-items: center !important;
  background: none !important;
  color: rgba(245,247,251,.86) !important;
  font-size: clamp(48px, 8vw, 92px) !important;
  font-weight: 900 !important;
  letter-spacing: -.12em !important;
}
.hero-product {
  left: 28px !important;
  right: 28px !important;
  bottom: 28px !important;
  padding: 18px !important;
  border-radius: 22px !important;
  background: rgba(10, 11, 17, .86) !important;
  border-color: rgba(255,255,255,.10) !important;
  backdrop-filter: blur(14px) !important;
  box-shadow: none !important;
}
.hero-product h3 { font-size: 22px !important; }
.category-runway {
  border-radius: 22px !important;
  background: rgba(255,255,255,.025) !important;
  border-color: rgba(255,255,255,.09) !important;
  box-shadow: none !important;
}
.category-runway a {
  min-height: 92px !important;
  padding: 20px !important;
  background: transparent !important;
  font-size: clamp(18px, 2vw, 24px) !important;
  letter-spacing: -.045em !important;
}
.category-runway a:hover { background: rgba(255,255,255,.045) !important; }
.section { padding: 42px 0 !important; }
.section-head h2 { font-size: clamp(34px, 4.5vw, 54px) !important; letter-spacing: -.065em !important; }
.showcase, .showcase-cinematic, .product-row, .product-card, .detail-visual, .buy-box, .info-panel, .form-card, .library-card, .admin-panel, .faq-item, .empty-state, .step {
  background: rgba(255,255,255,.035) !important;
  border-color: rgba(255,255,255,.09) !important;
  box-shadow: none !important;
}
.showcase { border-radius: 26px !important; padding: 14px !important; }
.showcase-visual, .card-art, .detail-visual {
  background:
    linear-gradient(135deg, rgba(35,168,255,.10), rgba(124,92,255,.08) 48%, rgba(232,67,181,.08)),
    #0a0b12 !important;
  border-color: rgba(255,255,255,.08) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04) !important;
}
.showcase-visual::before, .showcase-visual::after, .card-art::before, .card-art::after, .detail-visual::before, .detail-visual::after { display: none !important; }
.showcase-visual::before {
  display: block !important;
  content: "" !important;
  position: absolute !important;
  inset: 26px !important;
  border-radius: 22px !important;
  background: url('/assets/pbi-logo.webp') center/82% no-repeat !important;
  opacity: .78 !important;
  filter: none !important;
}
.product-row { border-radius: 22px !important; min-height: 96px !important; }
.product-row::before { background: rgba(255,255,255,.025) !important; }
.product-icon {
  color: #fff !important;
  background: linear-gradient(135deg, rgba(35,168,255,.92), rgba(124,92,255,.90) 58%, rgba(232,67,181,.86)) !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  box-shadow: none !important;
}
.product-card { border-radius: 24px !important; }
.card-art { border-radius: 18px !important; }
.card-art span {
  color: rgba(245,247,251,.78) !important;
  text-shadow: none !important;
  font-size: 12px !important;
}
.detail-visual { min-height: 500px !important; border-radius: 28px !important; }
.detail-visual-inner {
  position: absolute !important;
  inset: 0 !important;
  display: grid !important;
  place-items: center !important;
  font-size: clamp(56px, 9vw, 120px) !important;
  color: rgba(245,247,251,.88) !important;
  text-shadow: none !important;
}
.badge { background: rgba(255,255,255,.035) !important; border-color: rgba(255,255,255,.085) !important; color: rgba(245,247,251,.70) !important; font-weight: 720 !important; }
.category-tabs button, .filter-button { background: rgba(255,255,255,.035) !important; border-color: rgba(255,255,255,.09) !important; font-weight: 750 !important; }
.category-tabs button.active, .filter-button.active { background: rgba(255,255,255,.09) !important; border-color: rgba(255,255,255,.16) !important; }
.check, .step-number { background: #f5f7fb !important; color: #090a10 !important; box-shadow: none !important; }
.input, textarea, select { background: rgba(0,0,0,.22) !important; border-color: rgba(255,255,255,.10) !important; border-radius: 13px !important; }
.footer { width: min(1120px, calc(100% - 32px)) !important; border-color: rgba(255,255,255,.075) !important; }
.footer-brand img { width: 112px !important; filter: none !important; }
.toast { background: rgba(12,13,18,.94) !important; border-color: rgba(255,255,255,.11) !important; box-shadow: none !important; }
@media (max-width: 900px) {
  .hero, .hero-cinematic { grid-template-columns: 1fr !important; padding-top: 28px !important; }
  .hero-panel, .logo-stage { min-height: 380px !important; }
}
@media (max-width: 640px) {
  .brand-logo { width: 104px !important; height: 36px !important; }
  .site-header { border-radius: 18px !important; }
  .hero h1, .page-title h1 { font-size: 48px !important; }
  .hero-panel, .logo-stage { min-height: 330px !important; }
}
