/* FLUX store — same palette as the FLUX Protection desktop app */
:root {
  --bg: #0A0911; --bar: #0D0B16; --panel: #110F1C; --panel-2: #151227; --bd: #28223E;
  --field: #191628; --field-bd: #36305A; --acc: #8B5CF6; --acc2: #C026D3; --acc-hi: #C7ACFF;
  --text: #ECEAF4; --dim: #9690AC; --muted: #645E7C;
  --green: #34D399; --red: #F43F5E; --orange: #FB923C; --yellow: #FACC15; --cyan: #22D3EE;
  --radius: 14px; --glow: 0 0 0 1px rgba(139, 92, 246, .35), 0 10px 40px -12px rgba(139, 92, 246, .45);
  --grad: linear-gradient(135deg, var(--acc) 0%, var(--acc2) 100%);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; --display: 'Space Grotesk', 'Inter', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.6 var(--font); min-height: 100vh; overflow-x: hidden; }
body.lang-ar { font-family: 'Cairo', var(--font); }
body.lang-ar h1, body.lang-ar h2, body.lang-ar h3, body.lang-ar .brand span { font-family: 'Cairo', var(--display); }
a { color: var(--acc-hi); text-decoration: none; }
a:hover { color: #fff; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(28px, 4vw, 40px); } h2 { font-size: clamp(22px, 3vw, 28px); } h3 { font-size: 18px; }
p { margin: 0 0 1em; }
code, .mono { font-family: 'Cascadia Mono', Consolas, ui-monospace, monospace; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 640px; }
.center { text-align: center; } .muted { color: var(--dim); } .small { font-size: 13px; } .mt { margin-top: 20px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.big { font-size: 96px; margin: 0; }

.bg-glow { position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background: radial-gradient(800px 500px at 15% -10%, rgba(139, 92, 246, .16), transparent 70%),
              radial-gradient(700px 500px at 100% 110%, rgba(192, 38, 211, .12), transparent 70%); }

/* announcement + nav */
.announce { background: linear-gradient(90deg, rgba(139,92,246,.18), rgba(192,38,211,.18)); border-bottom: 1px solid var(--bd);
  text-align: center; font-size: 13px; padding: 7px 16px; color: var(--acc-hi); }
.announce-dot, .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: currentColor; margin-inline-end: 8px; box-shadow: 0 0 10px currentColor; animation: pulse 2s infinite; vertical-align: middle; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
.nav { position: sticky; top: 0; z-index: 50; background: rgba(13, 11, 22, .82); backdrop-filter: blur(14px); border-bottom: 1px solid var(--bd); }
.nav::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--acc), var(--acc2), transparent); opacity: .7; }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font: 700 20px var(--display); letter-spacing: .04em; }
.brand img { height: 38px; width: auto; filter: drop-shadow(0 0 12px rgba(192, 38, 211, .55)); }
.nav-links { display: flex; gap: 4px; flex: 1; }
.nav-links a { color: var(--dim); padding: 8px 12px; border-radius: 9px; font-weight: 500; font-size: 14px; transition: .2s; }
.nav-links a:hover { color: var(--text); background: rgba(139, 92, 246, .1); }
.nav-links a.active { color: var(--text); background: rgba(139, 92, 246, .16); box-shadow: inset 0 0 0 1px rgba(139, 92, 246, .4); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 9px; color: var(--dim);
  border: 1px solid var(--bd); background: var(--panel); font-size: 13px; font-weight: 600; transition: .2s; }
.icon-btn:hover { color: #fff; border-color: var(--acc); box-shadow: 0 0 18px -4px var(--acc); }
.icon-btn.discord:hover { border-color: #5865F2; box-shadow: 0 0 18px -4px #5865F2; }
.cart-btn { position: relative; display: grid; place-items: center; width: 40px; height: 36px; border-radius: 9px; background: var(--grad); color: #fff; box-shadow: 0 6px 20px -6px var(--acc2); }
.cart-count { position: absolute; top: -6px; inset-inline-end: -6px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: #fff; color: #1a1030; font: 700 11px/19px var(--font); text-align: center; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; margin: 4px 0; background: var(--text); border-radius: 2px; }

/* buttons + inputs */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 22px; border-radius: 11px; border: 0;
  font: 600 14.5px var(--font); cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s; color: #fff; white-space: nowrap; }
body.lang-ar .btn { font-family: 'Cairo', var(--font); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-primary { background: var(--grad); box-shadow: 0 8px 26px -10px var(--acc2); }
.btn-primary:hover:not(:disabled) { box-shadow: 0 10px 34px -8px var(--acc2), 0 0 0 1px rgba(199, 172, 255, .4); color: #fff; }
.btn-ghost { background: rgba(139, 92, 246, .08); color: var(--acc-hi); box-shadow: inset 0 0 0 1px rgba(139, 92, 246, .4); }
.btn-ghost:hover { background: rgba(139, 92, 246, .18); color: #fff; }
.btn-sm { height: 32px; padding: 0 14px; font-size: 13px; border-radius: 8px; background: rgba(139, 92, 246, .14); color: var(--acc-hi); box-shadow: inset 0 0 0 1px rgba(139, 92, 246, .4); }
.btn.full { width: 100%; } .btn.grow { flex: 1; }
.input { width: 100%; height: 44px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--field-bd); background: var(--field); color: var(--text); font: 14.5px var(--font); outline: none; transition: .2s; }
textarea.input { height: auto; padding: 12px 14px; resize: vertical; }
select.input { cursor: pointer; }
.input:focus { border-color: var(--acc); box-shadow: 0 0 0 3px rgba(139, 92, 246, .22); }
.form { display: flex; flex-direction: column; gap: 14px; }
.form label, .label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--dim); }
.form label.check { flex-direction: row; align-items: center; gap: 10px; font-weight: 500; }
.check input { width: 17px; height: 17px; accent-color: var(--acc); }
.form-msg { min-height: 1em; margin: 0; font-size: 13px; color: var(--red); }
.form-msg.ok { color: var(--green); }
.hint { background: rgba(139, 92, 246, .08); border: 1px solid rgba(139, 92, 246, .3); border-radius: 10px; padding: 12px 14px; font-size: 13.5px; color: var(--dim); }

/* cards + layout */
.card { background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--bd); border-radius: var(--radius); padding: 22px; position: relative; }
.card::before { content: ''; position: absolute; top: -1px; left: 18px; right: 18px; height: 1px; background: linear-gradient(90deg, transparent, var(--acc), transparent); opacity: .8; }
.section { margin-top: 72px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.section-head h2 { position: relative; padding-inline-start: 14px; margin: 0; }
.section-head h2::before { content: ''; position: absolute; inset-inline-start: 0; top: 4px; bottom: 4px; width: 4px; border-radius: 4px; background: var(--grad); box-shadow: 0 0 12px var(--acc2); }
.link { font-weight: 600; font-size: 14px; }
.page-head { padding-top: 40px; margin-bottom: 22px; }
.page-head-inline { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.page-title { margin: 40px 0 24px; }

/* hero */
.hero { padding: 64px 0 20px; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; padding: 6px 14px; border-radius: 30px; background: rgba(52, 211, 153, .1); color: var(--green); font-size: 13px; font-weight: 600; box-shadow: inset 0 0 0 1px rgba(52, 211, 153, .35); margin-bottom: 18px; }
.hero h1 { font-size: clamp(38px, 6vw, 64px); margin-bottom: 16px; }
.lead { font-size: 17px; color: var(--dim); max-width: 560px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 36px; }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: 560px; }
.hero-stats div { background: var(--panel); border: 1px solid var(--bd); border-radius: 12px; padding: 12px 14px; }
.hero-stats b { display: block; font: 700 22px var(--display); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stats span { font-size: 12px; color: var(--muted); }
.hero-art { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.hero-art img { width: 78%; position: relative; z-index: 2; filter: drop-shadow(0 0 40px rgba(192, 38, 211, .55)); animation: float 6s ease-in-out infinite; }
.ring { position: absolute; border-radius: 50%; border: 1px solid rgba(139, 92, 246, .35); animation: spin 18s linear infinite; }
.ring.r1 { inset: 6%; border-top-color: var(--acc2); }
.ring.r2 { inset: 16%; border-color: rgba(192, 38, 211, .25); border-bottom-color: var(--acc); animation-duration: 12s; animation-direction: reverse; }
.ring.r3 { inset: 0; border-style: dashed; opacity: .4; animation-duration: 40s; }
.hero-art::before { content: ''; position: absolute; inset: 18%; border-radius: 50%; background: radial-gradient(circle, rgba(139, 92, 246, .35), transparent 70%); filter: blur(30px); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* product cards */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.pcard { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--bd); border-radius: var(--radius); overflow: hidden; color: var(--text); transition: transform .25s, box-shadow .25s, border-color .25s; }
.pcard:hover { transform: translateY(-4px); border-color: rgba(139, 92, 246, .6); box-shadow: var(--glow); color: var(--text); }
.pcard-img { position: relative; aspect-ratio: 16 / 10; background: radial-gradient(circle at 50% 40%, rgba(139, 92, 246, .25), var(--bar) 70%); display: grid; place-items: center; }
.pcard-img img { max-height: 78%; max-width: 80%; object-fit: contain; filter: drop-shadow(0 0 20px rgba(192, 38, 211, .4)); transition: transform .4s; }
.pcard:hover .pcard-img img { transform: scale(1.06); }
.pcard-img .badge { position: absolute; top: 12px; inset-inline-start: 12px; }
.pcard-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.pcard-body h3 { margin-bottom: 6px; }
.pcard-body p { color: var(--dim); font-size: 13.5px; flex: 1; }
.pcard-foot { display: flex; align-items: center; gap: 10px; justify-content: space-between; }
.price { font: 700 20px var(--display); }
.price small { font: 500 12px var(--font); color: var(--muted); }
.stars { color: #FBBF24; font-size: 14px; } .stars small { color: var(--muted); } .stars .off { color: #3a3450; }
.oos { color: var(--red); font-size: 12px; font-weight: 600; }

.badge { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 20px; font-size: 11.5px; font-weight: 700; letter-spacing: .02em; backdrop-filter: blur(6px); }
.badge .dot { width: 6px; height: 6px; margin-inline-end: 6px; }
.st-operational { color: var(--green); background: rgba(52, 211, 153, .12); box-shadow: inset 0 0 0 1px rgba(52, 211, 153, .35); }
.st-updating { color: var(--cyan); background: rgba(34, 211, 238, .12); box-shadow: inset 0 0 0 1px rgba(34, 211, 238, .35); }
.st-maintenance { color: var(--yellow); background: rgba(250, 204, 21, .12); box-shadow: inset 0 0 0 1px rgba(250, 204, 21, .35); }
.st-offline { color: var(--red); background: rgba(244, 63, 94, .12); box-shadow: inset 0 0 0 1px rgba(244, 63, 94, .35); }

/* features / steps / reviews */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature { background: var(--panel); border: 1px solid var(--bd); border-radius: var(--radius); padding: 22px; transition: .25s; }
.feature:hover { border-color: rgba(139, 92, 246, .55); box-shadow: var(--glow); }
.feature-ic { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: rgba(139, 92, 246, .14); box-shadow: inset 0 0 0 1px rgba(139, 92, 246, .4); font-size: 22px; margin-bottom: 14px; }
.feature p { color: var(--dim); font-size: 14px; margin: 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.step { display: flex; align-items: center; gap: 14px; background: var(--panel); border: 1px solid var(--bd); border-radius: var(--radius); padding: 20px; }
.step h3 { margin: 0; }
.step-n { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); font: 700 17px var(--display); box-shadow: 0 0 20px -4px var(--acc2); }
.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.review { background: var(--panel); border: 1px solid var(--bd); border-radius: var(--radius); padding: 18px; }
.review p { color: var(--text); margin: 8px 0 12px; }
.review-meta { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--muted); }
.review-meta b { color: var(--dim); }
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 34px; border-radius: 18px;
  background: linear-gradient(120deg, rgba(139, 92, 246, .22), rgba(192, 38, 211, .18)); border: 1px solid rgba(139, 92, 246, .45); box-shadow: var(--glow); }
.cta-band p { color: var(--dim); margin: 0; }

/* shop */
.shop-tools { display: flex; gap: 10px; margin-top: 12px; max-width: 640px; }
.shop-tools select { max-width: 220px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.chip { padding: 7px 16px; border-radius: 30px; background: var(--panel); border: 1px solid var(--bd); color: var(--dim); font-size: 13.5px; font-weight: 600; transition: .2s; }
.chip:hover { color: var(--text); border-color: var(--acc); }
.chip.on { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 6px 18px -6px var(--acc2); }
.empty { padding: 60px; text-align: center; color: var(--dim); }

/* product page */
.product { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; padding-top: 40px; align-items: start; }
.gallery-main { aspect-ratio: 4 / 3; border-radius: 18px; background: radial-gradient(circle at 50% 45%, rgba(139, 92, 246, .3), var(--bar) 72%); border: 1px solid var(--bd); display: grid; place-items: center; overflow: hidden; }
.gallery-main img { max-width: 80%; max-height: 80%; object-fit: contain; filter: drop-shadow(0 0 34px rgba(192, 38, 211, .5)); }
.thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumb { width: 72px; height: 56px; border-radius: 10px; background: var(--panel); border: 1px solid var(--bd); padding: 6px; cursor: pointer; }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.thumb.on { border-color: var(--acc); box-shadow: 0 0 14px -4px var(--acc); }
.buybox { position: sticky; top: 90px; }
.buybox h1 { margin: 12px 0 6px; }
.buybox h4 { margin: 22px 0 10px; color: var(--dim); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.plans { display: grid; gap: 10px; }
.plan { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: 'r n p' 'r s p'; align-items: center; column-gap: 12px; padding: 14px 16px; border-radius: 12px; background: var(--panel); border: 1px solid var(--bd); cursor: pointer; transition: .2s; }
.plan input { grid-area: r; width: 18px; height: 18px; accent-color: var(--acc); }
.plan-name { grid-area: n; font-weight: 700; }
.plan-stock { grid-area: s; font-size: 12px; color: var(--muted); }
.plan-price { grid-area: p; font: 700 18px var(--display); text-align: end; }
.plan-price s { display: block; font: 500 12px var(--font); color: var(--muted); }
.plan:has(input:checked) { border-color: var(--acc); background: rgba(139, 92, 246, .1); box-shadow: var(--glow); }
.plan.disabled { opacity: .45; cursor: not-allowed; }
.buy-row { display: flex; gap: 10px; margin: 18px 0 10px; }
.qty { display: flex; align-items: center; border: 1px solid var(--field-bd); background: var(--field); border-radius: 11px; overflow: hidden; }
.qty button { width: 38px; height: 44px; background: none; border: 0; color: var(--text); font-size: 18px; cursor: pointer; }
.qty button:hover { background: rgba(139, 92, 246, .16); }
.qty input { width: 44px; height: 44px; text-align: center; background: none; border: 0; color: var(--text); font: 600 15px var(--font); -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.feature-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 8px; }
.feature-list li { display: flex; gap: 10px; color: var(--dim); }
.tick { color: var(--green); font-weight: 700; }
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--bd); margin-bottom: 20px; }
.tab { background: none; border: 0; color: var(--dim); padding: 12px 16px; font: 600 14.5px var(--font); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tab.on { color: var(--text); border-color: var(--acc); }
.prose { color: var(--dim); } .prose h2, .prose h3, .prose h4 { color: var(--text); margin-top: 1.2em; }
.prose strong { color: var(--text); } .prose ul { padding-inline-start: 20px; } .prose li { margin: 6px 0; }
.prose code { background: var(--field); padding: 2px 6px; border-radius: 5px; color: var(--acc-hi); }

/* cart / checkout / order */
.cart-layout, .order-layout { display: grid; grid-template-columns: 1fr 360px; gap: 22px; align-items: start; }
.summary { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 12px; }
.sum-line { display: flex; justify-content: space-between; gap: 12px; color: var(--dim); font-size: 14px; }
.sum-line b { color: var(--text); text-align: end; }
.sum-line.total { border-top: 1px solid var(--bd); padding-top: 12px; font-size: 17px; }
.sum-line.total b { font: 700 22px var(--display); }
.sum-line.discount b { color: var(--green); }
.coupon-row { display: flex; gap: 8px; }
.cart-line { display: grid; grid-template-columns: 64px 1fr auto auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--bd); }
.cart-line:last-child { border-bottom: 0; }
.cart-line img { width: 64px; height: 50px; object-fit: contain; border-radius: 9px; background: var(--bar); padding: 4px; }
.cart-line .meta b { display: block; } .cart-line .meta span { color: var(--muted); font-size: 13px; }
.line-price { font: 700 16px var(--display); min-width: 80px; text-align: end; }
.rm { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 18px; } .rm:hover { color: var(--red); }
.co-line { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; color: var(--dim); padding-bottom: 8px; }
.pay-options { display: grid; gap: 8px; }
.pay-opt { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 11px; background: var(--field); border: 1px solid var(--field-bd); cursor: pointer; color: var(--text); font-weight: 600; }
.pay-opt input { accent-color: var(--acc); width: 17px; height: 17px; }
.pay-opt:has(input:checked) { border-color: var(--acc); box-shadow: var(--glow); }
.skeleton { height: 120px; border-radius: 10px; background: linear-gradient(90deg, var(--field), var(--panel-2), var(--field)); background-size: 200% 100%; animation: sk 1.2s infinite; }
@keyframes sk { to { background-position: -200% 0; } }

.timeline { display: flex; justify-content: space-between; position: relative; margin: 6px 0 26px; }
.timeline::before { content: ''; position: absolute; top: 9px; left: 10px; right: 10px; height: 2px; background: var(--bd); }
.tl-step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); flex: 1; text-align: center; }
.tl-dot { width: 20px; height: 20px; border-radius: 50%; background: var(--field); border: 2px solid var(--field-bd); z-index: 1; }
.tl-step.done { color: var(--text); } .tl-step.done .tl-dot { background: var(--grad); border-color: transparent; box-shadow: 0 0 14px var(--acc2); }
.tl-step.current .tl-dot { animation: pulse 1.6s infinite; }
.pay-box { background: rgba(139, 92, 246, .08); border: 1px solid rgba(139, 92, 246, .35); border-radius: 12px; padding: 18px; margin-bottom: 20px; }
.pay-box p { color: var(--dim); }
.pay-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.order-item { border: 1px solid var(--bd); border-radius: 12px; padding: 14px; margin-top: 12px; background: var(--bar); }
.oi-head { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; margin-bottom: 8px; }
.oi-price { margin-inline-start: auto; font-weight: 700; }
.key-row { display: flex; align-items: center; gap: 10px; background: var(--field); border: 1px dashed var(--field-bd); border-radius: 9px; padding: 8px 10px; margin-top: 8px; }
.key-row code { flex: 1; word-break: break-all; color: var(--green); font-size: 14px; }
.review-form { margin-top: 12px; } .review-form summary { cursor: pointer; color: var(--acc-hi); font-weight: 600; font-size: 14px; }
.review-form form { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.rating-input button { background: none; border: 0; font-size: 24px; color: #3a3450; cursor: pointer; padding: 0 2px; }
.rating-input button.on { color: #FBBF24; text-shadow: 0 0 10px rgba(251, 191, 36, .6); }
.alert { padding: 12px 14px; border-radius: 10px; font-size: 14px; margin-bottom: 14px; }
.alert.ok { background: rgba(52, 211, 153, .1); border: 1px solid rgba(52, 211, 153, .4); color: var(--green); }
.alert.warn { background: rgba(250, 204, 21, .08); border: 1px solid rgba(250, 204, 21, .35); color: var(--yellow); }
.alert.danger { background: rgba(244, 63, 94, .1); border: 1px solid rgba(244, 63, 94, .4); color: var(--red); }
.status-pill { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 700; }
.s-pending { color: var(--yellow); background: rgba(250, 204, 21, .12); } .s-paid { color: var(--cyan); background: rgba(34, 211, 238, .12); }
.s-delivered, .s-answered { color: var(--green); background: rgba(52, 211, 153, .12); } .s-cancelled, .s-refunded, .s-closed { color: var(--muted); background: rgba(100, 94, 124, .15); }
.s-open { color: var(--acc-hi); background: rgba(139, 92, 246, .15); }

/* status page */
.status-banner { display: inline-flex; align-items: center; padding: 10px 18px; border-radius: 12px; font-weight: 700; }
.status-banner.ok { color: var(--green); background: rgba(52, 211, 153, .1); box-shadow: inset 0 0 0 1px rgba(52, 211, 153, .4); }
.status-banner.warn { color: var(--yellow); background: rgba(250, 204, 21, .1); box-shadow: inset 0 0 0 1px rgba(250, 204, 21, .4); }
.status-list { padding: 8px; }
.status-row { display: grid; grid-template-columns: 52px 1fr auto; gap: 14px; align-items: center; padding: 12px; border-radius: 10px; color: var(--text); }
.status-row:hover { background: rgba(139, 92, 246, .08); color: var(--text); }
.status-row img { width: 52px; height: 40px; object-fit: contain; }
.status-row .muted { display: block; font-size: 13px; }

/* faq / tickets / account */
.faq { display: grid; gap: 10px; }
.faq-item { background: var(--panel); border: 1px solid var(--bd); border-radius: 12px; padding: 4px 18px; }
.faq-item summary { cursor: pointer; padding: 14px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; }
.faq-item summary::after { content: '+'; color: var(--acc-hi); font-size: 20px; line-height: 1; }
.faq-item[open] summary::after { content: '−'; }
.faq-item[open] { border-color: rgba(139, 92, 246, .5); }
.thread { display: grid; gap: 12px; margin-top: 16px; }
.msg { border-radius: 12px; padding: 12px 14px; background: var(--bar); border: 1px solid var(--bd); }
.msg.staff { background: rgba(139, 92, 246, .1); border-color: rgba(139, 92, 246, .4); }
.msg-meta { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; color: var(--muted); margin-bottom: 6px; }
.msg-meta b { color: var(--acc-hi); }
.msg-body { white-space: pre-wrap; word-break: break-word; }
.account-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; }
.table { display: grid; gap: 6px; }
.trow { display: grid; grid-template-columns: 1.2fr 1fr auto auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 10px; background: var(--bar); border: 1px solid var(--bd); color: var(--text); font-size: 14px; }
.trow:hover { border-color: var(--acc); color: var(--text); }
/* account: licenses / subscriptions */
.acct-user { font-size: .55em; font-weight: 500; }
.acct-inline { margin-bottom: 20px; }
.acct-inline-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.acct-inline-row .input { flex: 1; min-width: 200px; }
.acct-inline-row .form-msg { flex-basis: 100%; }
.card-head-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.card-head-row h3 { margin: 0; }
.small { font-size: 13px; }
.lic-list { display: grid; gap: 10px; margin: 16px 0; }
.lic { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 14px 16px; border-radius: 12px; background: var(--bar); border: 1px solid var(--bd); }
.lic.s-active { border-color: rgba(52, 211, 153, .35); box-shadow: inset 3px 0 0 var(--green); }
.lic.s-expired, .lic.s-revoked { opacity: .75; }
.lic-title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.lic-key { display: inline-block; margin-top: 8px; font: 600 13px ui-monospace, Consolas, monospace; color: var(--acc-hi); background: var(--field); padding: 4px 9px; border-radius: 7px; cursor: copy; letter-spacing: .03em; }
.lic-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; color: var(--dim); font-size: 13px; }
.lic-meta b { color: var(--text); }
.lic-pill-active { color: var(--green); background: rgba(52, 211, 153, .12); }
.lic-pill-expired, .lic-pill-revoked { color: var(--red); background: rgba(244, 63, 94, .12); }
.lic-pill-unused { color: var(--yellow); background: rgba(250, 204, 21, .12); }
.btn-xs { height: 28px; padding: 0 10px; font-size: 12px; border-radius: 7px; }
.redeem { margin-top: 6px; }
.mono { font-family: ui-monospace, Consolas, monospace; }
.auth { padding-top: 50px; max-width: 440px; }
.auth-logo { width: 120px; margin: 0 auto 6px; filter: drop-shadow(0 0 20px rgba(192, 38, 211, .5)); }
.auth h1 { text-align: center; }
.notfound { padding: 90px 20px; display: flex; flex-direction: column; align-items: center; gap: 12px; }

/* footer + toast */
.footer { margin-top: 100px; border-top: 1px solid var(--bd); background: var(--bar); padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; }
.footer-grid h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--dim); }
.footer-grid a:not(.brand) { display: block; color: var(--muted); font-size: 14px; padding: 3px 0; }
.footer-grid a:hover { color: var(--text); }
.footer-brand p { color: var(--muted); font-size: 14px; margin-top: 12px; max-width: 320px; }
.footer-bottom { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--bd); color: var(--muted); font-size: 13px; }
.toast { position: fixed; bottom: 26px; left: 50%; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; z-index: 100;
  background: var(--field); border: 1px solid var(--acc); color: var(--text); padding: 12px 20px; border-radius: 30px; font-weight: 600; font-size: 14px;
  box-shadow: 0 10px 40px -10px var(--acc2); transition: .3s cubic-bezier(.2, .8, .2, 1); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 980px) {
  .hero-inner, .product, .cart-layout, .order-layout, .account-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 380px; margin: 0 auto; order: -1; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .buybox, .summary { position: static; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links { position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; background: var(--bar); border-bottom: 1px solid var(--bd); padding: 10px 16px; display: none; }
  .nav-links.open { display: flex; }
  .nav-inner { gap: 12px; } .nav-actions .icon-btn:not(.discord) { display: none; } .nav-actions { margin-inline-start: auto; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .features, .steps { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; text-align: center; }
  .shop-tools { flex-direction: column; } .shop-tools select { max-width: none; }
  .cart-line { grid-template-columns: 52px 1fr auto; } .cart-line .qty { grid-column: 2; }
  .trow { grid-template-columns: 1fr auto; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
