/* ============ OnlyVIP Digital — design system ============ */
:root {
  --bg: #000000;
  --bg-soft: #07070a;
  --card: #0b0b0f;
  --card-hover: #111117;
  --border: #1d1d26;
  --border-soft: #15151c;
  --text: #f4f4f6;
  --muted: #8f8f9e;
  --accent: #ffffff;
  --accent-2: #c9c9d4;
  --accent-soft: rgba(255, 255, 255, 0.07);
  --grad: linear-gradient(135deg, #ffffff 20%, #8f8f9e 100%);
  --radius: 16px;
  --radius-sm: 10px;
  --glow: 0 0 60px rgba(255, 255, 255, 0.1);
  --glow-strong: 0 0 40px rgba(255, 255, 255, 0.22);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* thin scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #262633; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #3b3b4d; }
html { scrollbar-width: thin; scrollbar-color: #262633 transparent; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  animation: pagein .32s ease both;
  transition: opacity .25s ease;
}
@keyframes pagein { from { opacity: 0; } to { opacity: 1; } }
body.page-out { opacity: 0; }
.site-footer { margin-top: auto; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

a { color: inherit; }

/* ============ animations ============ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.35); }
  50%      { box-shadow: 0 0 0 6px rgba(255, 255, 255, 0); }
}
@keyframes drift {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(30px); }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

.anim-in { animation: fadeUp .8s cubic-bezier(.2, .7, .3, 1) both; }
.anim-in.d1 { animation-delay: .1s; }
.anim-in.d2 { animation-delay: .2s; }
.anim-in.d3 { animation-delay: .3s; }
.anim-in.d4 { animation-delay: .42s; }

/* ============ header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 14px 16px 0;
  animation: fadeIn .6s ease both;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding: 0 10px 0 20px;
  background: rgba(12, 12, 17, 0.72);
  border: 1px solid var(--border);
  border-radius: 999px;
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 10px 44px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: background .4s ease, border-color .4s ease, box-shadow .4s ease;
}
.site-header.scrolled .container {
  background: rgba(8, 8, 12, 0.92);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 10px 44px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img {
  width: 38px;
  height: 38px;
  display: block;
  transition: transform .25s ease, filter .25s ease;
}
.brand:hover img {
  transform: scale(1.06);
  filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.45));
}

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a, .main-nav .nav-item > button {
  position: relative;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  border: 0;
  background: none;
  cursor: pointer;
  font-family: inherit;
  transition: color .3s cubic-bezier(.22,.8,.28,1), background .3s cubic-bezier(.22,.8,.28,1);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.main-nav a::after, .main-nav .nav-item > button::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 1.5px;
  border-radius: 2px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .3s cubic-bezier(.22,.8,.28,1);
}
.main-nav a:hover, .main-nav .nav-item > button:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}
.main-nav a:hover::after, .main-nav .nav-item > button:hover::after { transform: scaleX(1); }

/* dropdown */
.nav-item { position: relative; }
.nav-item .caret { width: 10px; height: 10px; opacity: .6; transition: transform .2s; }
.nav-item.open .caret { transform: rotate(180deg); }
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 250px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255,255,255,.03);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.nav-item.open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: background .25s ease, transform .25s ease;
}
.dropdown a:hover { background: rgba(255, 255, 255, 0.07); transform: translateX(3px); }
.dropdown a small { font-weight: 400; color: var(--muted); font-size: 12px; }

.header-cta { display: flex; align-items: center; gap: 8px; }
.header-cta .btn { padding: 9px 18px; font-size: 13px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: #000;
  border: none;
  padding: 11px 22px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: transform .28s cubic-bezier(.22,.8,.28,1), box-shadow .35s cubic-bezier(.22,.8,.28,1), background .28s ease;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg);
  transition: left .55s cubic-bezier(.22,.8,.28,1);
  pointer-events: none;
}
.btn:hover::after { left: 130%; }
.btn-ghost::after { display: none; }
.btn:hover { background: var(--accent-2); transform: translateY(-2px); box-shadow: 0 6px 30px rgba(255,255,255,.3), 0 0 60px rgba(255,255,255,.1); }
.btn:active { transform: translateY(0) scale(.96); transition-duration: .08s; }
.btn:focus-visible { outline: 2px solid rgba(255,255,255,.6); outline-offset: 3px; }
.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.3);
  box-shadow: 0 0 24px rgba(255,255,255,.08);
}

.burger {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
  color: var(--text);
}
.burger svg { display: block; }

/* ============ hero ============ */
.hero {
  position: relative;
  padding: 120px 0 100px;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -220px;
  left: 50%;
  transform: translateX(-50%);
  width: 960px;
  height: 620px;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(255, 255, 255, 0.09), transparent 60%),
    radial-gradient(ellipse at 70% 60%, rgba(160, 160, 190, 0.08), transparent 60%);
  filter: blur(50px);
  pointer-events: none;
  animation: drift 9s ease-in-out infinite;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 16px;
  margin-bottom: 30px;
  background: rgba(255, 255, 255, 0.03);
}
.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  animation: pulseDot 2.2s ease-in-out infinite;
}
.hero h1 {
  font-size: clamp(40px, 6.5vw, 70px);
  font-weight: 800;
  letter-spacing: -3px;
  line-height: 1.04;
  margin-bottom: 24px;
}
.hero h1 .grad {
  background: var(--grad);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 6s linear infinite;
}
.hero p.lead { color: var(--muted); font-size: 18px; max-width: 560px; margin: 0 auto 40px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero .btn { padding: 15px 32px; font-size: 15px; }
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 80px;
  flex-wrap: wrap;
}
.hero-stats .stat b { display: block; font-size: 26px; font-weight: 800; letter-spacing: -0.5px; }
.hero-stats .stat span { color: var(--muted); font-size: 13px; }

/* ============ sections ============ */
.section { padding: 80px 0; }
.section-head { margin-bottom: 48px; }
.section-head.center { text-align: center; }
.section-head .eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #6f6f80;
  display: inline-block;
  margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 800; letter-spacing: -1.2px; }
.section-head p { color: var(--muted); margin-top: 10px; }

/* ============ product cards ============ */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
  display: flex;
  flex-direction: column;
  transition: transform .35s cubic-bezier(.22,.8,.28,1), border-color .35s ease, box-shadow .4s ease, background .3s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.32);
  box-shadow: var(--glow);
  background: var(--card-hover);
}
.product-card.featured { border-color: rgba(255, 255, 255, 0.28); }
.product-card .flag {
  position: absolute;
  top: -12px;
  right: 24px;
  background: #fff;
  color: #000;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 5px 14px;
  border-radius: 999px;
  text-transform: uppercase;
  box-shadow: 0 4px 20px rgba(255,255,255,.25);
}
.product-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--accent-soft);
  border: 1px solid rgba(255,255,255,.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: box-shadow .25s ease;
}
.product-card:hover .product-icon { box-shadow: 0 0 24px rgba(255,255,255,.14); }
.product-icon svg { width: 26px; height: 26px; stroke: #e8e8ee; }
.product-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.3px; }
.product-card > p { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.product-card ul { list-style: none; margin-bottom: 26px; flex: 1; }
.product-card ul li {
  color: var(--muted);
  font-size: 13.5px;
  padding: 5px 0 5px 24px;
  position: relative;
}
.product-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 14px;
  height: 8px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}
.product-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 22px; }
.product-price b { font-size: 30px; font-weight: 800; letter-spacing: -1px; }
.product-price span { color: var(--muted); font-size: 13px; }
.product-card form .btn { width: 100%; }

/* ============ features ============ */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 30px;
  transition: border-color .3s ease, transform .35s cubic-bezier(.22,.8,.28,1), box-shadow .35s ease;
}
.feature-card:hover { border-color: rgba(255,255,255,.2); transform: translateY(-3px); box-shadow: 0 0 30px rgba(255,255,255,.06); }
.feature-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: 14px; }
.feature-card .product-icon { margin-bottom: 18px; }

/* ============ faq ============ */
.faq { max-width: 720px; margin: 0 auto; }
.faq details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 22px;
  margin-bottom: 12px;
  transition: border-color .2s;
}
.faq details:hover { border-color: rgba(255,255,255,.2); }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq summary::after { content: "+"; color: var(--muted); font-size: 20px; font-weight: 400; transition: transform .35s cubic-bezier(.22,.8,.28,1); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .38s cubic-bezier(.22,.8,.28,1);
}
.faq-body > div { overflow: hidden; }
.faq details[open] .faq-body { grid-template-rows: 1fr; }
.faq details p { color: var(--muted); font-size: 14px; margin-top: 12px; }

/* ============ footer ============ */
.site-footer {
  position: relative;
  padding: 72px 0 36px;
  background: var(--bg-soft);
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
}
/* ============ ambient animation ============ */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 420px 320px at 12% 18%, rgba(255,255,255,.045), transparent 70%),
    radial-gradient(ellipse 380px 300px at 88% 78%, rgba(255,255,255,.035), transparent 70%);
  animation: ambient 14s ease-in-out infinite alternate;
}
@keyframes ambient {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(3%, -2%) scale(1.06); }
  100% { transform: translate(-2%, 3%) scale(1.02); }
}
.site-header, main, section, .site-footer, .marquee, .status-box { position: relative; z-index: 1; }
.site-header { z-index: 100; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand p { color: var(--muted); font-size: 14px; margin-top: 16px; max-width: 280px; }
.footer-col h5 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  padding: 5px 0;
  transition: color .15s;
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border-soft);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}

/* ============ toast ============ */
.toast-wrap {
  position: fixed;
  top: 84px;
  right: 22px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
  align-items: flex-end;
}
.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(14,14,20,.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  padding: 13px 18px 13px 14px;
  border-radius: 14px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
  animation: toast-in .35s cubic-bezier(.2, .9, .3, 1.15);
  max-width: 340px;
  position: relative;
  overflow: hidden;
}
.toast .toast-icon {
  width: 30px; height: 30px; flex: 0 0 30px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.07);
  border: 1px solid var(--border);
}
.toast .toast-icon svg { width: 15px; height: 15px; }
.toast.success .toast-icon { color: #4ade80; background: rgba(74,222,128,.1); border-color: rgba(74,222,128,.25); }
.toast.error .toast-icon { color: #fb7185; background: rgba(244,63,94,.1); border-color: rgba(244,63,94,.25); }
.toast .toast-msg { line-height: 1.35; }
.toast .toast-x {
  border: 0; background: transparent; color: var(--muted);
  cursor: pointer; padding: 4px; border-radius: 6px;
  display: grid; place-items: center;
  transition: color .2s ease;
  margin-left: 4px;
}
.toast .toast-x:hover { color: var(--text); }
.toast .toast-x svg { width: 12px; height: 12px; }
.toast::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, rgba(255,255,255,.35), transparent);
  animation: toast-bar var(--toast-ms, 3500ms) linear forwards;
}
.toast.success::after { background: linear-gradient(90deg, rgba(74,222,128,.7), transparent); }
.toast.error::after { background: linear-gradient(90deg, rgba(244,63,94,.7), transparent); }
.toast.out { animation: toast-out .28s forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateX(24px) scale(.96); } to { opacity: 1; transform: translateX(0) scale(1); } }
@keyframes toast-out { to { opacity: 0; transform: translateX(24px) scale(.96); } }
@keyframes toast-bar { from { width: 100%; } to { width: 0; } }

/* ============ legal pages ============ */
.legal { max-width: 760px; margin: 0 auto; padding: 64px 24px 96px; }
.legal h1 { font-size: 32px; letter-spacing: -1px; margin-bottom: 8px; }
.legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 40px; }
.legal h2 { font-size: 20px; margin: 34px 0 12px; }
.legal p, .legal li { color: #b9b9c6; font-size: 15px; }
.legal ul { padding-left: 24px; margin: 10px 0; }
.legal li { margin-bottom: 6px; }
.legal a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 36px;
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  transition: color .15s;
}
.back-link:hover { color: var(--text); }

/* ============ status pages ============ */
.status-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px;
}
.status-box { max-width: 460px; text-align: center; animation: fadeUp .6s ease both; }
.status-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  font-size: 38px;
  line-height: 80px;
  margin: 0 auto 28px;
}
.status-icon.ok { background: rgba(34, 197, 94, .12); color: #22c55e; }
.status-icon.err { background: rgba(244, 63, 94, .1); color: #f43f5e; }
.status-box h1 { font-size: 27px; margin-bottom: 12px; letter-spacing: -0.5px; }
.status-box p { color: var(--muted); font-size: 15px; margin-bottom: 8px; }
.status-box .ref { font-family: ui-monospace, monospace; color: var(--text); font-size: 13px; }
.status-box a { color: #fff; }

/* ============ responsive ============ */
@media (max-width: 900px) {
  .products-grid, .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-nav, .header-cta .btn-ghost { display: none; }
  .burger { display: block; }
  .main-nav.mobile-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 84px;
    left: 16px;
    right: 16px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 12px;
    gap: 4px;
    box-shadow: 0 20px 60px rgba(0,0,0,.7);
  }
  .main-nav.mobile-open a, .main-nav.mobile-open .nav-item > button { justify-content: flex-start; }
  .nav-item .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0 0 0 16px;
    display: none;
  }
  .nav-item.open .dropdown { display: block; }
}

/* ============ marquee ticker ============ */
.marquee {
  overflow: hidden;
  padding: 26px 0;
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}
.marquee-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
  width: max-content;
}
.marquee-track span {
  color: #6f6f80;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 48px;
}
.marquee-track span::after {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ page hero (subpages) ============ */
.page-hero {
  position: relative;
  padding: 96px 0 72px;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  top: -180px;
  left: 20%;
  width: 700px;
  height: 420px;
  background: radial-gradient(ellipse, rgba(255,255,255,.07), transparent 65%);
  filter: blur(50px);
  pointer-events: none;
}
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(34px, 5vw, 54px); font-weight: 800; letter-spacing: -2px; margin-bottom: 14px; }
.page-hero p { color: var(--muted); font-size: 17px; max-width: 540px; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 22px; letter-spacing: .5px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }

/* ============ product cover art ============ */
.product-cover {
  height: 148px;
  border-radius: 12px;
  margin-bottom: 24px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: transform .4s cubic-bezier(.22,.8,.28,1), border-color .3s ease;
}
.product-card:hover .product-cover {
  transform: scale(1.02);
  border-color: rgba(255,255,255,.22);
}
.product-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000, transparent 80%);
}
.cover-1 { background: linear-gradient(135deg, #1a1a24, #0a0a0e 60%), radial-gradient(circle at 80% 20%, rgba(255,255,255,.12), transparent 50%); }
.cover-2 { background: linear-gradient(215deg, #16161f, #09090c 60%), radial-gradient(circle at 15% 80%, rgba(255,255,255,.1), transparent 55%); }
.cover-3 { background: linear-gradient(160deg, #1c1c28, #0a0a0d 65%), radial-gradient(circle at 85% 85%, rgba(255,255,255,.1), transparent 50%); }
.cover-4 { background: linear-gradient(200deg, #14141c, #08080b 60%), radial-gradient(circle at 30% 30%, rgba(255,255,255,.12), transparent 45%); }
.cover-5 { background: linear-gradient(140deg, #191926, #0b0b0f 60%), radial-gradient(circle at 70% 60%, rgba(255,255,255,.09), transparent 50%); }
.cover-6 { background: linear-gradient(180deg, #15151d, #09090c), radial-gradient(circle at 50% 100%, rgba(255,255,255,.11), transparent 55%); }
.product-cover .glyph {
  position: absolute;
  bottom: 14px;
  left: 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
}
.product-card.wide { grid-column: span 2; }
@media (max-width: 900px) { .product-card.wide { grid-column: auto; } }

/* ============ about ============ */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }
.about-text h3 { font-size: 22px; margin: 26px 0 10px; letter-spacing: -.5px; }
.about-text p { color: #b9b9c6; font-size: 15px; margin-bottom: 14px; }
.timeline { border-left: 1px solid var(--border); padding-left: 28px; }
.timeline-item { position: relative; padding-bottom: 28px; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -33px;
  top: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 12px rgba(255,255,255,.5);
}
.timeline-item b { display: block; font-size: 15px; margin-bottom: 4px; }
.timeline-item span { color: var(--muted); font-size: 14px; }
.timeline-item .year {
  font-family: ui-monospace, monospace;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 1px;
}

/* ============ contact ============ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info p { color: #b9b9c6; font-size: 15px; margin-bottom: 20px; }
.contact-line { display: flex; flex-direction: column; gap: 4px; padding: 16px 0; border-top: 1px solid var(--border-soft); }
.contact-line b { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; font-weight: 700; }
.contact-line a { font-size: 16px; color: var(--text); text-decoration: none; }
.contact-line a:hover { text-decoration: underline; }
.form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 7px; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  padding: 12px 14px;
  transition: border-color .25s ease, box-shadow .25s ease;
  outline: none;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  border-color: rgba(255,255,255,.4);
  box-shadow: 0 0 0 3px rgba(255,255,255,.08);
}
.form-field textarea { min-height: 130px; resize: none; }
.form-field .field-error { border-color: rgba(244, 63, 94, 0.6) !important; box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.12); }

/* ============ changelog ============ */
.changelog { max-width: 760px; margin: 0 auto; }
.change-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--border-soft);
}
.change-item .date { font-family: ui-monospace, monospace; color: var(--muted); font-size: 13px; padding-top: 3px; }
.change-item h3 { font-size: 17px; margin-bottom: 6px; }
.change-item p { color: var(--muted); font-size: 14px; }
.change-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px 10px;
  color: var(--muted);
  margin-bottom: 10px;
}
@media (max-width: 640px) { .change-item { grid-template-columns: 1fr; gap: 8px; } }

/* ============ big list (license) ============ */
.pill-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 24px 0; }
@media (max-width: 700px) { .pill-list { grid-template-columns: 1fr; } }
.pill {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
  font-size: 14px;
  color: #b9b9c6;
}
.pill b { display: block; color: var(--text); margin-bottom: 4px; font-size: 15px; }

/* ============ custom select ============ */
.cs { position: relative; }
.cs-btn {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  padding: 12px 14px;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.cs-btn .cs-caret { width: 10px; height: 10px; opacity: .55; transition: transform .25s cubic-bezier(.22,.8,.28,1); }
.cs.open .cs-btn { border-color: rgba(255,255,255,.4); box-shadow: 0 0 0 3px rgba(255,255,255,.08); }
.cs.open .cs-caret { transform: rotate(180deg); }
.cs-list {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 6px;
  list-style: none;
  z-index: 50;
  box-shadow: 0 16px 48px rgba(0,0,0,.65);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s cubic-bezier(.22,.8,.28,1), visibility .2s;
  max-height: 260px;
  overflow-y: auto;
}
.cs.open .cs-list { opacity: 1; visibility: visible; transform: translateY(0); }
.cs-list li {
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
  transition: background .18s ease;
}
.cs-list li:hover { background: rgba(255,255,255,.07); }
.cs-list li.selected { background: rgba(255,255,255,.1); font-weight: 600; }

/* ============ auth pages ============ */
.auth-shell {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  align-items: stretch;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
}
.auth-side {
  padding: 48px 44px;
  background:
    radial-gradient(600px 300px at 20% 0%, rgba(255,255,255,.07), transparent 60%),
    #0a0a0e;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  border-right: 1px solid var(--border-soft);
}
.auth-side .brand img { height: 34px; }
.auth-side h2 {
  font-size: 30px;
  letter-spacing: -1px;
  line-height: 1.2;
  margin: 26px 0 14px;
}
.auth-side > p { color: var(--muted); font-size: 15px; max-width: 380px; }
.auth-points { list-style: none; margin-top: 28px; display: grid; gap: 14px; }
.auth-points li { display: flex; align-items: center; gap: 12px; font-size: 14px; color: #c9c9d4; }
.auth-points .dot {
  width: 22px; height: 22px; flex: 0 0 22px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.05);
  display: grid; place-items: center;
}
.auth-points .dot svg { width: 11px; height: 11px; }
.auth-meta { font-size: 12.5px; color: var(--muted); letter-spacing: .4px; }
.auth-form { padding: 48px 44px; }
.auth-form h1 { font-size: 24px; letter-spacing: -.5px; margin-bottom: 6px; }
.auth-form > p { color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.auth-switch { color: var(--muted); font-size: 13px; text-align: center; margin-top: 20px; }
.auth-switch a { color: #fff; }
@media (max-width: 860px) {
  .auth-shell { grid-template-columns: 1fr; }
  .auth-side { display: none; }
}

/* ============ standalone auth page ============ */
.auth-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}
.auth-page .auth-shell { width: 100%; max-width: 920px; }
.auth-foot { margin-top: 26px; font-size: 12px; color: var(--muted); display: flex; gap: 18px; align-items: center; }
.auth-foot a { color: var(--muted); text-decoration: none; }
.auth-foot a:hover { color: var(--text); }
.auth-back {
  position: fixed;
  top: 22px; left: 24px;
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--muted); font-size: 13px; text-decoration: none;
  transition: color .2s ease, transform .2s cubic-bezier(.22,.8,.28,1);
}
.auth-back:hover { color: var(--text); transform: translateX(-3px); }

/* ============ fake cf captcha ============ */
.cf-widget {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: #0a0a0e;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  margin: 4px 0 20px;
  user-select: none;
}
.cf-left { display: flex; align-items: center; gap: 12px; }
.cf-check {
  width: 26px; height: 26px; flex: 0 0 26px;
  border: 2px solid #3a3a48;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  display: grid; place-items: center;
  transition: border-color .25s ease, background .25s ease;
  position: relative;
}
.cf-check:hover { border-color: #5a5a70; }
.cf-check svg { width: 14px; height: 14px; opacity: 0; transform: scale(.5); transition: opacity .2s ease, transform .25s cubic-bezier(.22,.8,.28,1); }
.cf-check.spin { border-color: transparent; }
.cf-check.spin::after {
  content: "";
  position: absolute; inset: 0;
  border: 2px solid transparent;
  border-top-color: #4ade80;
  border-radius: 999px;
  animation: cfspin .7s linear infinite;
}
@keyframes cfspin { to { transform: rotate(360deg); } }
.cf-check.ok { border-color: rgba(74,222,128,.5); background: rgba(74,222,128,.1); cursor: default; }
.cf-check.ok svg { opacity: 1; transform: scale(1); }
.cf-label { font-size: 14px; color: #c9c9d4; line-height: 1.3; }
.cf-label small { display: block; font-size: 11px; color: var(--muted); }
.cf-right { display: flex; flex-direction: column; align-items: center; gap: 3px; opacity: .55; }
.cf-right img { height: 22px; }
.cf-right span { font-size: 9.5px; color: var(--muted); letter-spacing: .3px; white-space: nowrap; }

/* ============ dashboard ============ */
.dash { padding: 150px 0 80px; }

/* standalone dashboard layout */
.dash-page { min-height: 100vh; }
.dash-shell { display: grid; grid-template-columns: 264px 1fr; min-height: 100vh; }
.dash-sb {
  border-right: 1px solid var(--border-soft);
  background: rgba(10,10,14,.6);
  backdrop-filter: blur(10px);
  padding: 26px 18px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}
.dash-sb .brand img { height: 30px; }
.dash-sb .brand { display: inline-block; margin-bottom: 34px; }
.dash-nav { display: grid; gap: 4px; }
.dash-nav .nav-h {
  font-size: 10.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.4px;
  color: var(--muted); margin: 18px 12px 8px;
}
.dash-sb-foot { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--border-soft); }
.dash-user { display: flex; align-items: center; gap: 12px; padding: 4px 8px 14px; }
.dash-avatar.sm { width: 38px; height: 38px; font-size: 15px; margin: 0; }
.dash-user b { display: block; font-size: 13.5px; line-height: 1.25; }
.dash-user span { font-size: 11.5px; color: var(--muted); word-break: break-all; }
.dash-main2 { padding: 40px 44px 80px; max-width: 1080px; width: 100%; margin: 0 auto; }
.dash-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 30px; }
.dash-top h1 { font-size: 27px; letter-spacing: -.8px; }
.dash-top p { color: var(--muted); font-size: 14px; margin-top: 4px; }
@media (max-width: 860px) {
  .dash-shell { grid-template-columns: 1fr; }
  .dash-sb { position: static; height: auto; flex-direction: row; align-items: center; flex-wrap: wrap; gap: 8px; }
  .dash-sb .brand { margin: 0 12px 0 0; }
  .dash-nav { display: flex; flex-wrap: wrap; }
  .dash-nav .nav-h, .dash-sb-foot { display: none; }
  .dash-main2 { padding: 28px 20px 60px; }
}
.dash-grid { display: grid; grid-template-columns: 250px 1fr; gap: 24px; align-items: start; }
.dash-side {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 18px;
  position: sticky;
  top: 110px;
}
.dash-id { text-align: center; padding-bottom: 18px; border-bottom: 1px solid var(--border-soft); }
.dash-avatar {
  width: 58px; height: 58px;
  margin: 0 auto 12px;
  border-radius: 999px;
  display: grid; place-items: center;
  font-size: 22px; font-weight: 700;
  background: linear-gradient(145deg, #ffffff, #9a9aad);
  color: #000;
  box-shadow: 0 0 0 4px rgba(255,255,255,.07), 0 8px 24px rgba(0,0,0,.5);
}
.dash-id b { display: block; font-size: 15px; }
.dash-id span { font-size: 12.5px; color: var(--muted); word-break: break-all; }
.dash-nav { margin-top: 14px; display: grid; gap: 4px; }
.dash-nav a, .dash-nav button {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px; font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  background: transparent; border: 0;
  cursor: pointer; width: 100%;
  font-family: inherit; text-align: left;
  transition: color .2s ease, background .2s ease;
}
.dash-nav svg { width: 16px; height: 16px; flex: 0 0 16px; }
.dash-nav a:hover, .dash-nav button:hover { color: var(--text); background: rgba(255,255,255,.05); }
.dash-nav .active { color: var(--text); background: rgba(255,255,255,.09); }
.dash-nav .signout { color: #fb7185; }
.dash-nav .signout:hover { background: rgba(244,63,94,.09); color: #fb7185; }
.dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 24px; }
.dash-stat {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
}
.dash-stat small { display: block; font-size: 11.5px; text-transform: uppercase; letter-spacing: 1.1px; color: var(--muted); margin-bottom: 6px; font-weight: 600; }
.dash-stat b { font-size: 24px; letter-spacing: -.5px; }
.dash-panel { display: none; }
.dash-panel.active { display: block; animation: fadeup .35s ease; }
@keyframes fadeup { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.order-row {
  display: flex; align-items: center; gap: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 10px;
  transition: border-color .25s ease;
}
.order-row:hover { border-color: rgba(255,255,255,.22); }
.order-ico {
  width: 42px; height: 42px; flex: 0 0 42px;
  border-radius: 11px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  display: grid; place-items: center;
}
.order-ico svg { width: 19px; height: 19px; }
.order-row .o-name { font-weight: 600; font-size: 15px; }
.order-row .o-meta { font-size: 12.5px; color: var(--muted); font-family: ui-monospace, monospace; margin-top: 2px; }
.order-row .o-right { margin-left: auto; text-align: right; }
.order-row .o-price { font-weight: 700; font-size: 15px; }
.status-pill {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  letter-spacing: .6px; text-transform: uppercase;
  padding: 3px 10px; border-radius: 999px;
  margin-top: 4px;
}
.status-pill.succeeded { color: #4ade80; background: rgba(74,222,128,.1); border: 1px solid rgba(74,222,128,.25); }
.status-pill.pending { color: #fbbf24; background: rgba(251,191,36,.09); border: 1px solid rgba(251,191,36,.25); }
.status-pill.failed, .status-pill.cancelled { color: #fb7185; background: rgba(244,63,94,.09); border: 1px solid rgba(244,63,94,.25); }
.dash-empty {
  background: var(--card); border: 1px dashed var(--border); border-radius: 14px;
  padding: 44px 24px; text-align: center; color: var(--muted); font-size: 14px;
}
.dash-empty .btn { margin-top: 18px; }
.order-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color .25s ease;
}
.order-card:hover, .order-card[open] { border-color: rgba(255,255,255,.22); }
.order-card summary {
  list-style: none;
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px;
  cursor: pointer;
}
.order-card summary::-webkit-details-marker { display: none; }
.order-card .o-caret { transition: transform .25s cubic-bezier(.22,.8,.28,1); opacity: .5; }
.order-card[open] .o-caret { transform: rotate(180deg); }
.order-detail {
  border-top: 1px solid var(--border-soft);
  padding: 16px 20px 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px 24px;
}
.order-detail .kv small { display: block; font-size: 10.5px; text-transform: uppercase; letter-spacing: 1.1px; color: var(--muted); font-weight: 700; margin-bottom: 4px; }
.order-detail .kv span { font-size: 13.5px; font-family: ui-monospace, monospace; }
.info-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  margin-bottom: 18px;
}
.info-card h3 { font-size: 15px; margin-bottom: 14px; }
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; }
.info-grid small { display: block; font-size: 10.5px; text-transform: uppercase; letter-spacing: 1.1px; color: var(--muted); font-weight: 700; margin-bottom: 4px; }
.info-grid span { font-size: 14px; }
.help-strip {
  display: flex; align-items: center; gap: 14px;
  background: linear-gradient(120deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 22px;
}
.help-strip .hs-ico {
  width: 40px; height: 40px; flex: 0 0 40px;
  border-radius: 11px; background: rgba(255,255,255,.07);
  border: 1px solid var(--border);
  display: grid; place-items: center;
}
.help-strip .hs-ico svg { width: 18px; height: 18px; }
.help-strip b { font-size: 14px; display: block; }
.help-strip span { font-size: 13px; color: var(--muted); }
.help-strip a.ml { margin-left: auto; }

/* ============ currency toggle / coupon / product page ============ */
.cur-toggle {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
  margin-top: 18px;
}
.cur-toggle button {
  border: 0; background: transparent;
  color: var(--muted); font-size: 12.5px; font-weight: 600;
  padding: 6px 16px; border-radius: 999px;
  cursor: pointer; font-family: inherit;
  transition: color .2s ease, background .2s ease;
}
.cur-toggle button.active { background: #fff; color: #000; }
.coupon-input {
  width: 100%;
  background: var(--bg);
  border: 1px dashed var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 13px;
  padding: 10px 13px;
  margin-bottom: 12px;
  outline: none;
  transition: border-color .25s ease;
}
.coupon-input:focus { border-color: rgba(255,255,255,.4); border-style: solid; }
.coupon-input::placeholder { color: var(--muted); }
.p-details {
  display: block;
  text-align: center;
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s ease;
}
.p-details:hover { color: var(--text); }
.pd-grid { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }
.pd-cover { height: 260px; border-radius: var(--radius); }
.pd-includes { list-style: none; display: grid; gap: 12px; }
.pd-includes li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: #d5d5de; }
.pd-buy-card { position: sticky; top: 110px; }
.pd-guarantees { list-style: none; margin-top: 18px; display: grid; gap: 8px; }
.pd-guarantees li { font-size: 12.5px; color: var(--muted); }
.pd-guarantees li::before { content: "·"; margin-right: 8px; color: #4ade80; font-weight: 700; }
@media (max-width: 860px) { .pd-grid { grid-template-columns: 1fr; } .pd-buy-card { position: static; } }

/* ============ settings toggles ============ */
.pref-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-soft);
}
.pref-row:last-child { border-bottom: 0; }
.pref-row b { font-size: 14px; display: block; }
.pref-row span { font-size: 12.5px; color: var(--muted); }
.switch { position: relative; width: 42px; height: 24px; flex: 0 0 42px; }
.switch input { opacity: 0; width: 100%; height: 100%; position: absolute; inset: 0; margin: 0; cursor: pointer; z-index: 2; }
.switch .sl {
  position: absolute; inset: 0;
  background: rgba(255,255,255,.12);
  border-radius: 999px;
  transition: background .25s ease;
}
.switch .sl::after {
  content: "";
  position: absolute; top: 3px; left: 3px;
  width: 18px; height: 18px;
  border-radius: 999px; background: #fff;
  transition: transform .25s cubic-bezier(.22,.8,.28,1);
}
.switch input:checked + .sl { background: #4ade80; }
.switch input:checked + .sl::after { transform: translateX(18px); }
.sec-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  max-width: 440px;
  position: relative;
  overflow: hidden;
}
.sec-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent);
}
.sec-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.sec-head .sec-ico {
  width: 42px; height: 42px; flex: 0 0 42px;
  border-radius: 12px;
  background: rgba(255,255,255,.07);
  border: 1px solid var(--border);
  display: grid; place-items: center;
}
.sec-head .sec-ico svg { width: 19px; height: 19px; }
.sec-head b { font-size: 15px; display: block; }
.sec-head span { font-size: 12.5px; color: var(--muted); }

/* ============ error pages ============ */
.err-page { justify-content: center; }
.err-box { text-align: center; max-width: 460px; }
.err-logo img { height: 34px; }
.err-code {
  font-size: 110px;
  font-weight: 800;
  letter-spacing: -6px;
  line-height: 1;
  margin: 26px 0 8px;
  background: linear-gradient(180deg, #fff 10%, rgba(255,255,255,.15));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 60px rgba(255,255,255,.15);
}
.err-title { font-size: 22px; letter-spacing: -.4px; margin-bottom: 10px; }
.err-desc { color: var(--muted); font-size: 15px; margin-bottom: 30px; }
.err-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============ modal ============ */
.modal-ov {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; visibility: hidden;
  transition: opacity .25s ease, visibility .25s;
}
.modal-ov.open { opacity: 1; visibility: visible; }
.modal-card {
  width: 100%; max-width: 420px;
  background: #0d0d13;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  position: relative;
  box-shadow: 0 32px 80px rgba(0,0,0,.7);
  transform: translateY(14px) scale(.97);
  transition: transform .3s cubic-bezier(.22,.8,.28,1);
}
.modal-ov.open .modal-card { transform: translateY(0) scale(1); }
.modal-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.3), transparent);
}
.modal-x {
  position: absolute; top: 14px; right: 14px;
  width: 30px; height: 30px;
  border: 0; border-radius: 8px;
  background: transparent; color: var(--muted);
  cursor: pointer; display: grid; place-items: center;
  transition: color .2s ease, background .2s ease;
}
.modal-x:hover { color: var(--text); background: rgba(255,255,255,.07); }
.modal-x svg { width: 14px; height: 14px; }

.danger-zone {
  border: 1px solid rgba(244,63,94,.3);
  background: rgba(244,63,94,.04);
  border-radius: 14px;
  padding: 18px 22px;
  display: flex; align-items: center; gap: 14px;
}
.danger-zone b { font-size: 14px; display: block; }
.danger-zone span { font-size: 13px; color: var(--muted); }
.danger-zone a, .danger-zone button { margin-left: auto; }

/* ============ invoice ============ */
.inv-page { min-height: 100vh; padding: 48px 20px 80px; }
.inv-card {
  max-width: 760px; margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.inv-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 34px 38px;
  border-bottom: 1px solid var(--border-soft);
  background: radial-gradient(400px 160px at 15% 0%, rgba(255,255,255,.06), transparent 70%);
}
.inv-head img { height: 30px; }
.inv-no { text-align: right; }
.inv-no b { font-size: 20px; letter-spacing: -.5px; display: block; }
.inv-no span { font-size: 12.5px; color: var(--muted); }
.inv-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 28px 38px; border-bottom: 1px solid var(--border-soft); }
.inv-parties small { display: block; font-size: 10.5px; text-transform: uppercase; letter-spacing: 1.2px; color: var(--muted); font-weight: 700; margin-bottom: 8px; }
.inv-parties p { font-size: 14px; line-height: 1.55; }
.inv-table { width: 100%; border-collapse: collapse; }
.inv-table th {
  text-align: left; font-size: 10.5px; text-transform: uppercase; letter-spacing: 1.2px;
  color: var(--muted); font-weight: 700;
  padding: 14px 38px;
  border-bottom: 1px solid var(--border-soft);
}
.inv-table td { padding: 16px 38px; font-size: 14px; border-bottom: 1px solid var(--border-soft); }
.inv-table .tr, .inv-table .tr td { text-align: right; }
.inv-table th.tr, .inv-table td.tr { text-align: right; }
.inv-total { display: flex; justify-content: flex-end; padding: 22px 38px 34px; }
.inv-total .t-box { min-width: 240px; }
.inv-total .t-row { display: flex; justify-content: space-between; font-size: 14px; padding: 6px 0; color: var(--muted); }
.inv-total .t-row.grand { color: var(--text); font-size: 18px; font-weight: 700; border-top: 1px solid var(--border-soft); margin-top: 8px; padding-top: 14px; }
.inv-foot { padding: 20px 38px 30px; border-top: 1px solid var(--border-soft); font-size: 12px; color: var(--muted); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.inv-actions { display: flex; gap: 10px; justify-content: center; margin-top: 26px; }
@media print {
  body.inv-page { padding: 0; background: #fff; }
  .inv-card { border: 0; border-radius: 0; }
  .inv-actions, .auth-back, .toast-wrap { display: none !important; }
  .inv-card * { color: #111 !important; border-color: #ddd !important; }
  .inv-head { background: #fff; }
  .status-pill.succeeded { color: #16a34a !important; border-color: #16a34a !important; }
}
.dash-h { font-size: 19px; letter-spacing: -.4px; margin-bottom: 16px; display: flex; align-items: baseline; gap: 10px; }
.dash-h span { font-size: 12.5px; color: var(--muted); font-weight: 400; }
.dl-btn {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; font-weight: 600;
  border: 1px solid var(--border); border-radius: 9px;
  padding: 7px 13px; color: var(--text);
  background: rgba(255,255,255,.05); cursor: pointer;
  transition: background .2s ease, transform .15s ease;
}
.dl-btn:hover { background: rgba(255,255,255,.11); }
.dl-btn:active { transform: scale(.96); }
@media (max-width: 860px) {
  .dash-grid { grid-template-columns: 1fr; }
  .dash-side { position: static; }
  .dash-stats { grid-template-columns: 1fr 1fr; }
}

/* ============ password eye toggle ============ */
.pass-wrap { position: relative; }
.pass-wrap input { padding-right: 44px; }
.pw-toggle {
  position: absolute;
  right: 8px; top: 50%;
  transform: translateY(-50%);
  width: 30px; height: 30px;
  border: 0; border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  display: grid; place-items: center;
  transition: color .2s ease, background .2s ease;
}
.pw-toggle:hover { color: var(--text); background: rgba(255,255,255,.06); }
.pw-toggle svg { width: 17px; height: 17px; }
.pw-toggle .eye-off { display: none; }
.pw-toggle.shown .eye { display: none; }
.pw-toggle.shown .eye-off { display: block; }

/* ============ admin ============ */
.admin-login { max-width: 460px !important; grid-template-columns: 1fr !important; }
.admin-login .auth-form-side { padding: 44px 40px; }
.adm-badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase;
  color: #fbbf24;
  background: rgba(251,191,36,.08);
  border: 1px solid rgba(251,191,36,.25);
  padding: 5px 12px; border-radius: 999px;
  margin: 18px 0 14px;
}
.adm-badge-side { margin: 14px 0 0; }
.adm-env {
  font-size: 11px; font-weight: 800; letter-spacing: 1px;
  padding: 5px 12px; border-radius: 999px; text-transform: uppercase;
}
.adm-env.dev { color: #fbbf24; background: rgba(251,191,36,.1); border: 1px solid rgba(251,191,36,.28); }
.adm-env.live { color: #4ade80; background: rgba(74,222,128,.1); border: 1px solid rgba(74,222,128,.28); }
.adm-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 560px) { .adm-grid2 { grid-template-columns: 1fr; } }
.adm-select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  padding: 12px 14px;
  transition: border-color .25s ease, box-shadow .25s ease;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5 6 7.5 9 4.5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
.adm-select:focus { border-color: rgba(255,255,255,.4); box-shadow: 0 0 0 3px rgba(255,255,255,.08); }
.adm-select option { background: #141414; }
.adm-login-card .btn-block { margin-top: 4px; }
.adm-checkout-card .auth-form { padding: 0; }
.adm-checkout-card .btn-block { margin-top: 6px; }
.adm-checkout-card { max-width: 560px; }
.adm-result { max-width: 560px; margin-top: 16px; border-color: rgba(74,222,128,.3); }
.adm-ok { background: rgba(74,222,128,.1) !important; border-color: rgba(74,222,128,.3) !important; color: #4ade80; }
.adm-note { font-size: 12.5px; color: var(--muted); margin: -8px 0 14px; }
.adm-link-row { display: flex; gap: 10px; }
.adm-link-row input {
  flex: 1; min-width: 0;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--muted);
  padding: 10px 12px;
  font-size: 12.5px; font-family: ui-monospace, monospace;
}
.adm-link-row .btn { padding: 10px 18px; font-size: 13.5px; white-space: nowrap; }
.form-field em { font-style: normal; color: var(--muted); font-weight: 400; font-size: 11.5px; }

/* ============ admin login (centered console) ============ */
.adm-login-wrap {
  min-height: 100vh; width: 100%;
  display: flex; align-items: center; justify-content: center;
  padding: 32px 20px;
}
.adm-login-card {
  width: 100%; max-width: 400px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 40px 36px 32px;
  text-align: center;
  position: relative;
  box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.03) inset;
  overflow: hidden;
}
.adm-login-card::before {
  content: "";
  position: absolute; inset: 0 0 auto; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
}
.adm-shield-lg {
  width: 64px; height: 64px; margin: 0 auto 18px;
  border-radius: 18px;
  display: grid; place-items: center;
  color: #fbbf24;
  background: linear-gradient(160deg, rgba(251,191,36,.14), rgba(251,191,36,.04));
  border: 1px solid rgba(251,191,36,.3);
  box-shadow: 0 8px 30px rgba(251,191,36,.12);
}
.adm-shield-lg svg { width: 30px; height: 30px; }
.adm-login-card .adm-badge { margin: 0 0 14px; }
.adm-login-card h1 { font-size: 26px; letter-spacing: -.5px; margin: 0 0 8px; }
.adm-login-card .auth-sub { margin-bottom: 26px; }
.adm-login-card .auth-form { text-align: left; }
.adm-login-card .auth-foot { margin-top: 22px; }
.adm-user { display: flex; align-items: center; gap: 12px; }
.adm-avatar {
  width: 38px; height: 38px; flex: 0 0 38px;
  border-radius: 12px;
  display: grid; place-items: center;
  font-weight: 800; font-size: 15px;
  color: #0a0a0a;
  background: linear-gradient(135deg, #fbbf24, #d97706);
}
.adm-user b { font-size: 14px; display: block; }
.adm-user span { font-size: 12px; color: var(--muted); }
