/* ZETA PLATFORM — store.zeta-platform.com */
:root {
  --black: #05070D; --navy: #081426; --blue: #00C8FF; --cyan: #00E5FF; --gold: #FFCA43; --white: #F8FAFF;
  --muted: #9AA8C2; --dim: #5E6B84; --line: rgba(160, 200, 255, .12); --glass: rgba(10, 20, 38, .55); --glass-strong: rgba(8, 16, 32, .78);
  --good: #3BE0A0; --bad: #FF6B7D; --warn: #FFC861;
  --r: 20px; --nav-h: 72px; --ease: cubic-bezier(.2, .9, .25, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0 }
html { scroll-behavior: smooth; background: var(--black) }
body {
  font-family: "Segoe UI Variable Display", "Segoe UI", Inter, system-ui, -apple-system, sans-serif; color: var(--white); background: transparent;
  min-height: 100vh; overflow-x: hidden; -webkit-font-smoothing: antialiased; line-height: 1.5;
}
a { color: inherit; text-decoration: none }
img { display: block }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 8px }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0) }

/* ── background: WebGL canvas + CSS fallback layers */
#zbg { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: -2; display: block; transition: opacity .8s }
body[data-calm="1"] #zbg { opacity: .55 }
.bg-fallback { position: fixed; inset: 0; z-index: -3; background:
  radial-gradient(60vmax 60vmax at 12% -10%, rgba(0, 200, 255, .22), transparent 60%),
  radial-gradient(50vmax 50vmax at 95% 105%, rgba(255, 202, 67, .12), transparent 60%),
  radial-gradient(70vmax 70vmax at 60% 40%, rgba(8, 20, 38, .9), var(--black) 70%) }
.bg-vignette { position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(5, 7, 13, .65) 100%) }
html.no-webgl #zbg { display: none }

/* ── page transitions */
body { animation: page-in .45s var(--ease) both }
body.leaving main, body.leaving footer { opacity: 0; transform: translateY(8px); transition: opacity .18s, transform .18s }
@keyframes page-in { from { opacity: 0 } to { opacity: 1 } }

.wrap { width: min(1180px, 100% - 40px); margin-inline: auto }

/* ── navigation */
.nav { position: fixed; inset: 14px 0 auto; z-index: 50; pointer-events: none }
.nav .bar { pointer-events: auto; width: min(1180px, 100% - 28px); margin: auto; height: var(--nav-h); display: flex; align-items: center; gap: 22px;
  padding: 0 14px 0 22px; border-radius: 18px; background: rgba(8, 16, 32, .55); border: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .05) }
.wordmark { display: flex; align-items: center; gap: 11px; font-weight: 900; letter-spacing: 2.4px; font-size: 16px; white-space: nowrap }
.wordmark .mark { width: 30px; height: 30px; filter: drop-shadow(0 0 8px rgba(0, 229, 255, .55)) }
.wordmark span { background: linear-gradient(100deg, var(--white) 20%, var(--cyan) 50%, var(--white) 80%); background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: sheen 8s linear infinite }
@keyframes sheen { to { background-position: -250% 0 } }
.links { display: flex; gap: 4px; margin-left: 8px }
.links a { padding: 9px 14px; border-radius: 11px; color: var(--muted); font-size: 14.5px; font-weight: 600; transition: color .2s, background .2s }
.links a:hover, .links a[aria-current="page"] { color: var(--white); background: rgba(255, 255, 255, .06) }
.nav .sp { flex: 1 }
.menu-btn { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line) }
.menu-btn span { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--white); border-radius: 2px; transition: transform .25s, opacity .25s }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 46px; padding: 0 20px; border-radius: 13px; font-weight: 700;
  font-size: 14.5px; letter-spacing: .2px; border: 1px solid var(--line); background: rgba(255, 255, 255, .05); color: var(--white); position: relative;
  overflow: hidden; transition: transform .2s var(--ease), box-shadow .25s, background .25s, border-color .25s; white-space: nowrap }
.btn:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .09) }
.btn svg { width: 19px; height: 19px; flex: none }
.btn.discord { background: #5865F2; border-color: transparent; box-shadow: 0 8px 26px rgba(88, 101, 242, .38) }
.btn.discord:hover { box-shadow: 0 12px 34px rgba(88, 101, 242, .55) }
.btn.primary { background: linear-gradient(135deg, var(--blue), #2B7BFF); border-color: transparent; color: #031223; box-shadow: 0 10px 30px rgba(0, 200, 255, .32) }
.btn.primary:hover { box-shadow: 0 14px 38px rgba(0, 200, 255, .5) }
.btn.gold { background: linear-gradient(135deg, #FFE7A0, var(--gold) 45%, #C8901A); border-color: transparent; color: #241500; box-shadow: 0 10px 32px rgba(255, 202, 67, .3) }
.btn.gold:hover { box-shadow: 0 14px 40px rgba(255, 202, 67, .5) }
.btn.ghost { background: transparent }
.btn.block { width: 100% }
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .35) 50%, transparent 65%);
  transform: translateX(-120%); transition: transform .7s var(--ease) }
.btn:hover::after { transform: translateX(120%) }

.who { position: relative }
.who-btn { display: flex; align-items: center; gap: 11px; padding: 5px 10px 5px 5px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04);
  transition: background .2s, border-color .2s }
.who-btn:hover { background: rgba(255, 255, 255, .08); border-color: rgba(0, 229, 255, .35) }
.avatar { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; background: #5865F2; display: grid; place-items: center; font-weight: 800;
  box-shadow: 0 0 0 2px rgba(0, 229, 255, .45), 0 0 14px rgba(0, 229, 255, .35) }
.who-text { text-align: left; line-height: 1.15 }
.who-text b { display: block; font-size: 14px; max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.who-text small { color: var(--muted); font-size: 12px }
.caret { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; color: var(--muted) }
.caret svg { width: 14px; height: 14px; transition: transform .25s }
.who.open .caret svg { transform: rotate(180deg) }
.dropdown { position: absolute; right: 0; top: calc(100% + 10px); width: 220px; padding: 8px; border-radius: 16px; background: var(--glass-strong); border: 1px solid var(--line);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 20px 50px rgba(0, 0, 0, .5); opacity: 0; transform: translateY(-6px) scale(.98);
  pointer-events: none; transition: opacity .18s, transform .18s }
.who.open .dropdown { opacity: 1; transform: none; pointer-events: auto }
.dropdown a, .dropdown button { display: flex; width: 100%; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 11px; font-size: 14px; font-weight: 600; text-align: left }
.dropdown a:hover, .dropdown button:hover { background: rgba(255, 255, 255, .07) }
.dropdown .danger { color: var(--bad) }

/* ── hero */
main { position: relative; z-index: 1 }
.hero { min-height: 100vh; display: flex; align-items: center; padding: calc(var(--nav-h) + 60px) 0 70px }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 30px; align-items: center }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(0, 200, 255, .07);
  color: #BFEFFF; font-size: 13px; font-weight: 600 }
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); animation: pulse 2s infinite }
@keyframes pulse { 50% { opacity: .35 } }
.hero h1 { font-size: clamp(40px, 6.2vw, 76px); line-height: 1.02; font-weight: 900; letter-spacing: -1.5px; margin: 20px 0 22px }
.hero h1 .grad { background: linear-gradient(100deg, var(--white), var(--cyan) 35%, var(--blue) 55%, var(--gold) 90%); -webkit-background-clip: text; background-clip: text; color: transparent }
.hero p.lead { color: #C3CCDE; font-size: clamp(16px, 1.6vw, 19px); max-width: 560px; line-height: 1.65 }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px }
.cta .btn { height: 52px; padding: 0 26px; font-size: 15.5px }

/* ── sections */
section.block { padding: 90px 0; scroll-margin-top: calc(var(--nav-h) + 20px) }
.head { text-align: center; max-width: 680px; margin: 0 auto 46px }
.head .kicker { color: var(--cyan); font-weight: 700; font-size: 13px; letter-spacing: 3px; text-transform: uppercase }
.head h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 900; letter-spacing: -.5px; margin: 10px 0 12px }
.head p { color: var(--muted); font-size: 16.5px }

.glass { background: var(--glass); border: 1px solid var(--line); border-radius: var(--r); backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05) }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px }
.feat { padding: 24px; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s }
.feat:hover { transform: translateY(-4px); border-color: rgba(0, 229, 255, .35); box-shadow: 0 18px 40px rgba(0, 0, 0, .35), 0 0 0 1px rgba(0, 229, 255, .1) }
.feat .ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(0, 200, 255, .2), rgba(0, 200, 255, .04)); border: 1px solid rgba(0, 229, 255, .3); color: var(--cyan) }
.feat .ic svg { width: 23px; height: 23px }
.feat.gold .ic { background: linear-gradient(135deg, rgba(255, 202, 67, .22), rgba(255, 202, 67, .04)); border-color: rgba(255, 202, 67, .35); color: var(--gold) }
.feat h3 { font-size: 17px; margin-bottom: 6px }
.feat p { color: var(--muted); font-size: 14.5px }

/* ── plans */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; perspective: 1400px }
.plan { --accent: var(--blue); --accent2: #2B7BFF; position: relative; padding: 32px; border-radius: 24px; transform-style: preserve-3d;
  transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0px)) scale(var(--s, 1));
  transition: transform .5s var(--ease), box-shadow .4s; isolation: isolate }
.plan.premium { --accent: var(--gold); --accent2: #C8901A }
.plan::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; z-index: -1;
  background: conic-gradient(from var(--angle, 0deg), transparent 0deg, var(--accent) 60deg, transparent 140deg, transparent 220deg, var(--accent2) 290deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spin 7s linear infinite; opacity: .85 }
@property --angle { syntax: "<angle>"; initial-value: 0deg; inherits: false }
@keyframes spin { to { --angle: 360deg } }
.plan::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--accent) 16%, transparent), transparent 55%) }
.plan:hover { --ty: -6px; box-shadow: 0 30px 70px rgba(0, 0, 0, .45), 0 0 50px color-mix(in srgb, var(--accent) 14%, transparent) }
.plan .tag { position: absolute; top: -13px; right: 24px; padding: 6px 13px; border-radius: 999px; font-size: 11px; font-weight: 900; letter-spacing: 1.4px;
  background: linear-gradient(135deg, #FFE7A0, var(--gold)); color: #241500; box-shadow: 0 6px 20px rgba(255, 202, 67, .4) }
.plan h3 { display: flex; align-items: center; gap: 11px; font-size: 26px; font-weight: 900; letter-spacing: 1.2px }
.plan h3 svg { height: 26px; width: auto }
.plan.standard h3 { color: #DDF6FF; text-shadow: 0 0 20px rgba(0, 200, 255, .45) }
.plan.premium h3 b { background: linear-gradient(100deg, #B87A0A, #FFE7A0 45%, var(--gold) 60%, #B87A0A); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: sheen 4s linear infinite }
.plan .desc { color: var(--muted); margin: 8px 0 22px; font-size: 14.5px }
.durations { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 5px; border-radius: 15px; background: rgba(0, 0, 0, .28); border: 1px solid var(--line) }
.dur { height: 42px; border-radius: 11px; font-weight: 700; font-size: 13.5px; color: var(--muted); transition: background .25s, color .25s, box-shadow .25s }
.dur:hover { color: var(--white) }
.dur[aria-pressed="true"] { color: #041322; background: linear-gradient(135deg, var(--accent), var(--accent2)); box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 35%, transparent) }
.plan.premium .dur[aria-pressed="true"] { color: #241500 }
.price { display: flex; align-items: flex-end; gap: 8px; margin: 24px 0 4px }
.price .cur { font-size: 22px; font-weight: 800; color: var(--muted); margin-bottom: 9px }
.price .num { font-size: 58px; font-weight: 900; line-height: 1; letter-spacing: -1.5px; font-variant-numeric: tabular-nums }
.price .per { color: var(--muted); margin-bottom: 10px; font-weight: 600 }
.plan .note { color: var(--dim); font-size: 12.5px; margin-bottom: 20px }
.list { list-style: none; display: grid; gap: 10px; margin: 22px 0 26px; font-size: 14.5px }
.list li { display: flex; gap: 11px; align-items: flex-start }
.list li svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--accent) }
.list li.off { color: var(--dim) }
.list li.off svg { color: var(--bad) }
.prices-note { text-align: center; color: var(--dim); margin-top: 26px; font-size: 13.5px }

/* ── purchase overlay / modals */
.veil { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; background: rgba(3, 5, 10, .62);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity .3s }
.veil.show { opacity: 1; pointer-events: auto }
.modal { width: min(460px, 100%); padding: 30px; border-radius: 24px; text-align: center; background: var(--glass-strong); border: 1px solid var(--line);
  box-shadow: 0 40px 100px rgba(0, 0, 0, .6); transform: translateY(14px) scale(.96); transition: transform .45s var(--ease) }
.veil.show .modal { transform: none }
.modal h3 { font-size: 24px; margin: 6px 0 4px }
.modal .muted { color: var(--muted) }
.summary { margin: 22px 0; padding: 18px; border-radius: 16px; background: rgba(0, 0, 0, .3); border: 1px solid var(--line); display: grid; gap: 10px; text-align: left }
.summary div { display: flex; justify-content: space-between; gap: 12px; font-size: 15px }
.summary div span { color: var(--muted) }
.summary .total { padding-top: 10px; border-top: 1px dashed var(--line); font-size: 18px; font-weight: 900 }
.modal .actions { display: grid; gap: 10px }
.loader { width: 54px; height: 54px; margin: 6px auto 0; border-radius: 50%; border: 3px solid rgba(0, 229, 255, .18); border-top-color: var(--cyan); animation: rot 1s linear infinite }
@keyframes rot { to { transform: rotate(360deg) } }

.burst { position: relative; width: 120px; height: 120px; margin: 0 auto 14px }
.burst .core { position: absolute; inset: 22px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, rgba(59, 224, 160, .35), rgba(59, 224, 160, .08));
  border: 2px solid var(--good); box-shadow: 0 0 40px rgba(59, 224, 160, .5) }
.burst .core svg { width: 40px; height: 40px; color: var(--good) }
.burst .ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--good); opacity: 0 }
.burst.go .ring { animation: ripple 1.6s var(--ease) infinite }
.burst.go .ring:nth-child(2) { animation-delay: .5s }
@keyframes ripple { from { transform: scale(.55); opacity: .8 } to { transform: scale(1.4); opacity: 0 } }
.burst.bad .core { border-color: var(--bad); background: radial-gradient(circle, rgba(255, 107, 125, .3), rgba(255, 107, 125, .06)); box-shadow: 0 0 40px rgba(255, 107, 125, .4) }
.burst.bad .core svg { color: var(--bad) }
.burst.wait .core { border-color: var(--warn); background: radial-gradient(circle, rgba(255, 200, 97, .3), rgba(255, 200, 97, .06)); box-shadow: 0 0 40px rgba(255, 200, 97, .4) }
.burst.wait .core svg { color: var(--warn) }

/* ── checkout */
.page { padding: calc(var(--nav-h) + 60px) 0 90px; min-height: 100vh }
.checkout { width: min(640px, 100%); margin: auto; padding: 32px }
.checkout h1, .page h1.t { font-size: clamp(28px, 3.4vw, 38px); font-weight: 900; letter-spacing: -.4px }
.sub { color: var(--muted); margin: 6px 0 24px }
#paypal { margin-top: 22px; min-height: 160px }
.notice { margin-top: 16px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); color: var(--muted); font-size: 14px }
.notice.ok { border-color: rgba(59, 224, 160, .35); color: #CFF6E7 }
.notice.bad { border-color: rgba(255, 107, 125, .4); color: #FFD5DA }
.notice a { text-decoration: underline }

/* ── account */
.acct { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 20px }
.card { padding: 26px }
.card h2 { font-size: 13px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; font-weight: 700 }
.profile { display: flex; gap: 18px; align-items: center }
.profile .avatar { width: 78px; height: 78px; font-size: 30px }
.profile h3 { font-size: 22px }
.profile .handle { color: var(--muted); font-size: 14px }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 12px 18px; margin-top: 22px; font-size: 14.5px }
.kv span { color: var(--muted) }
.kv b { text-align: right; font-weight: 700 }
.tier { display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px; border-radius: 999px; font-weight: 900; font-size: 12.5px; letter-spacing: 1.2px }
.tier svg { height: 15px; width: auto }
.tier.premium { color: #241500; background: linear-gradient(135deg, #FFE7A0, var(--gold), #C8901A); box-shadow: 0 0 18px rgba(255, 202, 67, .45) }
.tier.standard { color: #041322; background: linear-gradient(135deg, var(--cyan), var(--blue)); box-shadow: 0 0 18px rgba(0, 200, 255, .4) }
.tier.owner { color: #fff; background: linear-gradient(90deg, #FF3B6B, #FFE14D, #22D3EE, #C05BFF); background-size: 300% 100%; animation: sheen 3s linear infinite }
.tier.none { color: var(--muted); background: rgba(255, 255, 255, .06) }
.status { display: inline-flex; align-items: center; gap: 7px; font-weight: 700 }
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--good); box-shadow: 0 0 10px var(--good) }
.status.expired i { background: var(--bad); box-shadow: 0 0 10px var(--bad) }
.remain { font-size: clamp(34px, 4vw, 48px); font-weight: 900; letter-spacing: -1px; font-variant-numeric: tabular-nums; line-height: 1.1; margin: 4px 0 6px;
  background: linear-gradient(100deg, var(--white), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent }
.sub-card.premium .remain { background: linear-gradient(100deg, #FFF4D0, var(--gold)); -webkit-background-clip: text; background-clip: text }
.bar-track { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .07); overflow: hidden; margin: 14px 0 6px }
.bar-fill { height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--cyan)); box-shadow: 0 0 14px var(--cyan); transition: width 1.2s var(--ease) }
.sub-card.premium .bar-fill { background: linear-gradient(90deg, #C8901A, var(--gold)); box-shadow: 0 0 14px var(--gold) }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px }
.tbl th, .tbl td { padding: 12px 10px; text-align: left; border-bottom: 1px solid var(--line) }
.tbl th { color: var(--dim); font-size: 11.5px; letter-spacing: 1.4px; text-transform: uppercase; font-weight: 700 }
.tbl tr:last-child td { border-bottom: 0 }
.tbl .ref { font-family: Consolas, "Cascadia Mono", monospace; font-size: 12.5px; color: var(--muted) }
.scroll-x { overflow-x: auto }
.st { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; background: rgba(255, 255, 255, .06) }
.st.completed, .st.active { color: var(--good); background: rgba(59, 224, 160, .12) }
.st.failed, .st.canceled, .st.refunded, .st.reversed, .st.disputed, .st.revoked { color: var(--bad); background: rgba(255, 107, 125, .12) }
.st.pending, .st.created, .st.approved, .st.partially_refunded { color: var(--warn); background: rgba(255, 200, 97, .12) }
.st.ended { color: var(--muted) }
.welcome-glow { animation: glow 2.4s var(--ease) 1 }
@keyframes glow { 0% { box-shadow: 0 0 0 0 rgba(59, 224, 160, .0) } 30% { box-shadow: 0 0 0 6px rgba(59, 224, 160, .25), 0 0 60px rgba(59, 224, 160, .35) } 100% { box-shadow: none } }

/* ── support */
.support { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px }
.support .glass { padding: 24px }
.support h3 { display: flex; align-items: center; gap: 10px; font-size: 17px; margin-bottom: 6px }
.support h3 svg { width: 22px; height: 22px; color: var(--cyan) }
.support p { color: var(--muted); font-size: 14px; margin-bottom: 16px }
.support-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 26px }

/* ── legal */
.legal { width: min(840px, 100%); margin: auto; padding: 38px }
.legal h1 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 900 }
.legal h2 { font-size: 18.5px; margin: 28px 0 8px; color: #E6F6FF }
.legal p, .legal li { color: #C7D0E2; font-size: 15.5px; line-height: 1.8 }
.legal ul { padding-left: 22px; margin: 6px 0 }
.legal .mail { color: var(--cyan); font-weight: 700 }

/* ── footer */
footer { position: relative; z-index: 1; margin-top: 40px; padding: 48px 0 34px; border-top: 1px solid var(--line); background: linear-gradient(180deg, transparent, rgba(5, 7, 13, .85)) }
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 26px }
footer h4 { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--dim); margin-bottom: 12px }
footer a { display: block; color: var(--muted); font-size: 14px; padding: 4px 0; transition: color .2s }
footer a:hover { color: var(--white) }
footer .copy { margin-top: 34px; color: var(--dim); font-size: 13px; text-align: center }

/* ── reveal */
/* individual `translate` so reveals compose with each element's own transform (plan tilt, hover lift) */
[data-reveal] { opacity: 0; translate: 0 26px; transition: opacity .8s var(--ease), translate .9s var(--ease), transform .45s var(--ease), box-shadow .35s, border-color .3s }
[data-reveal].in, .no-js [data-reveal], .reduced [data-reveal] { opacity: 1; translate: none }

/* ── responsive */
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: left }
  .features, .support { grid-template-columns: repeat(2, 1fr) }
  .acct { grid-template-columns: 1fr }
  footer .cols { grid-template-columns: 1fr 1fr }
}
@media (max-width: 760px) {
  .links { position: absolute; top: calc(var(--nav-h) + 8px); left: 0; right: 0; flex-direction: column; padding: 10px; border-radius: 16px;
    background: var(--glass-strong); border: 1px solid var(--line); backdrop-filter: blur(18px); opacity: 0; pointer-events: none; transform: translateY(-6px); transition: .2s }
  .nav.menu .links { opacity: 1; pointer-events: auto; transform: none }
  .menu-btn { display: block }
  .who-text { display: none }
  .plans, .features, .support { grid-template-columns: 1fr }
  .plan { padding: 26px 22px }
  .price .num { font-size: 50px }
  .nav .bar { gap: 10px; padding: 0 10px 0 14px }
  .wordmark { font-size: 14px; letter-spacing: 1.6px }
  .btn.discord .txt { display: none }
  section.block { padding: 66px 0 }
  .checkout, .legal, .card { padding: 22px }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important }
  [data-reveal] { opacity: 1; translate: none }
}

/* ── additions: account menu parts, hero stage, result card */
.who-link { display: flex; align-items: center; gap: 11px; border-radius: 10px }
.who .caret:hover { color: var(--white); background: rgba(255, 255, 255, .06) }
.dropdown form { margin: 0 }
.btn .ic16 { width: auto; height: 16px }
.hero-stage { min-height: 460px }
.modal.result { transform: none; padding: 36px 30px }
.modal.result h3 { font-size: clamp(22px, 3vw, 28px); line-height: 1.25 }
.modal code { font-family: Consolas, monospace; font-size: 12.5px; color: var(--cyan) }
.checkout .summary { margin-top: 4px }
.legal a { color: var(--cyan) }
.sub a { color: var(--cyan) }
@media (max-width: 980px) { .hero-stage { display: none } .hero { min-height: auto; padding-top: calc(var(--nav-h) + 200px) } }
@media (max-width: 760px) { .hero { padding-top: calc(var(--nav-h) + 225px) } }
.checkout #mockpay, .checkout #paypal { margin-top: 16px }
.pp-loading { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 120px; color: var(--muted); font-size: 14px }
.loader.small { width: 22px; height: 22px; margin: 0; border-width: 2px }

/* ── support tickets */
.tickets-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr) }
.ticket-form { display: grid; gap: 16px }
.cats { border: 0; display: grid; gap: 10px }
.cats legend, .fld span { display: block; font-size: 13px; color: var(--muted); font-weight: 600; margin-bottom: 8px }
.cat { display: block; cursor: pointer; position: relative }
.cat input { position: absolute; opacity: 0; pointer-events: none }
.cat span { display: grid; gap: 2px; padding: 13px 15px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); transition: border-color .2s, background .2s, box-shadow .2s }
.cat small { color: var(--muted) }
.cat input:checked + span { border-color: rgba(0, 229, 255, .6); background: rgba(0, 200, 255, .08); box-shadow: 0 0 0 1px rgba(0, 229, 255, .25) }
.cat input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px }
.fld { display: grid }
.fld input, .fld textarea, .reply textarea { width: 100%; font: inherit; color: var(--white); background: rgba(0, 0, 0, .3); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; resize: vertical; transition: border-color .2s }
.fld input:focus, .fld textarea:focus, .reply textarea:focus { outline: none; border-color: rgba(0, 229, 255, .6) }
.ticket-list { display: grid; gap: 8px }
.ticket-row { display: flex; align-items: center; gap: 14px; padding: 13px 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); transition: border-color .2s, transform .2s }
.ticket-row:hover { border-color: rgba(0, 229, 255, .4); transform: translateX(3px) }
.tno { font-family: Consolas, monospace; color: var(--cyan); font-weight: 700 }
.tmain { flex: 1; min-width: 0; display: grid }
.tmain b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.tmain small { color: var(--muted); font-size: 12.5px }
.ticket-wrap { max-width: 900px }
.ticket-head { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-bottom: 18px }
.ticket-head > div:nth-child(2) { flex: 1; min-width: 240px }
.ticket-actions { display: flex; gap: 10px }
.thread-card { padding: 0; overflow: hidden }
.thread { max-height: min(62vh, 640px); overflow-y: auto; padding: 22px; display: grid; gap: 14px; align-content: start }
.msg { max-width: 78%; display: grid; gap: 5px }
.msg.customer { justify-self: end }
.msg.system { justify-self: center; max-width: 100% }
.msg .meta { display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--muted) }
.msg.customer .meta { justify-content: flex-end }
.msg .meta b { color: var(--white); font-size: 13px }
.badge-staff { font-size: 10px; font-weight: 900; letter-spacing: 1px; padding: 2px 7px; border-radius: 99px; color: #241500; background: linear-gradient(135deg, #FFE7A0, var(--gold)) }
.via { padding: 1px 7px; border-radius: 99px; background: rgba(255, 255, 255, .06); font-size: 11px }
.bubble { padding: 12px 14px; border-radius: 16px; white-space: pre-wrap; word-break: break-word; line-height: 1.55; font-size: 14.5px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line) }
.msg.customer .bubble { background: linear-gradient(135deg, rgba(0, 200, 255, .2), rgba(43, 123, 255, .14)); border-color: rgba(0, 229, 255, .28) }
.msg.staff .bubble { border-color: rgba(255, 202, 67, .25) }
.msg.system .bubble { background: transparent; border-style: dashed; color: var(--muted); font-size: 13px; padding: 6px 12px }
.att { display: block; margin-top: 8px; color: var(--cyan); text-decoration: underline }
.reply { display: flex; gap: 10px; padding: 16px; border-top: 1px solid var(--line); align-items: flex-end }
.reply textarea { flex: 1 }
.thread-card .notice { margin: 0 16px 16px }
@media (max-width: 980px) { .tickets-grid { grid-template-columns: 1fr } }
@media (max-width: 760px) { .msg { max-width: 92% } .reply { flex-direction: column; align-items: stretch } .ticket-actions { width: 100% } .ticket-actions .btn { flex: 1 } }

/* ── tickets: images, language, right-to-left */
.att-img { display: block; margin-top: 8px; max-width: 320px }
.att-img img { display: block; max-width: 100%; max-height: 320px; border-radius: 12px; border: 1px solid var(--line); background: rgba(0, 0, 0, .3) }
.reply-actions { display: flex; gap: 8px; align-items: center }
.img-pick { cursor: pointer; height: 46px }
.img-pick span { max-width: 150px; overflow: hidden; text-overflow: ellipsis }
.ticket-wrap[dir="rtl"] .msg.customer { justify-self: start }
.ticket-wrap[dir="rtl"] .msg.staff { justify-self: end }
.ticket-wrap[dir="rtl"] .msg.customer .meta { justify-content: flex-start }
.ticket-wrap[dir="rtl"] .ticket-head .sub, .ticket-wrap[dir="rtl"] .notice { text-align: right }
.langs { grid-template-columns: 1fr 1fr }
@media (max-width: 760px) { .reply-actions { justify-content: space-between } .att-img { max-width: 100% } }

/* ── owner dashboard */
.dash-shell { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: 100vh }
.dash-shell.solo { grid-template-columns: 1fr; place-items: center; padding: 20px }
.dash-side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 18px; padding: 22px 16px; background: rgba(6, 11, 22, .72);
  border-right: 1px solid var(--line); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px) }
.dash-tag { align-self: flex-start; font-size: 10px; font-weight: 900; letter-spacing: 2px; padding: 3px 9px; border-radius: 99px; color: #241500; background: linear-gradient(135deg, #FFE7A0, var(--gold)) }
.dash-side nav { display: grid; gap: 4px; flex: 1; align-content: start }
.dash-side nav a { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; color: var(--muted); font-weight: 600; font-size: 14.5px; transition: background .2s, color .2s }
.dash-side nav a:hover, .dash-side nav a[aria-current="page"] { background: rgba(255, 255, 255, .07); color: var(--white) }
.dash-side nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--gold) }
.dash-me { display: flex; gap: 10px; align-items: center; padding-top: 14px; border-top: 1px solid var(--line) }
.dash-me div { flex: 1; min-width: 0; line-height: 1.2 } .dash-me b { display: block; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap } .dash-me small { color: var(--gold); font-size: 11px }
.dash-me .btn { height: 36px; padding: 0 10px }
.dash-main { padding: 30px clamp(16px, 3vw, 40px) 60px; max-width: 1280px; width: 100% }
.dash-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 22px }
.dash-head h1 { font-size: clamp(24px, 3vw, 32px); font-weight: 900 }
.dash-head .sub { margin: 4px 0 0 }
.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; margin-bottom: 20px }
.kpi { padding: 18px; display: grid; gap: 4px }
.kpi small { color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .4px }
.kpi b { font-size: 26px; font-weight: 900; font-variant-numeric: tabular-nums }
.kpi span { color: var(--dim); font-size: 12.5px }
.kpi.gold b { color: var(--gold) } .kpi.blue b { color: var(--cyan) } .kpi.warn { border-color: rgba(255, 200, 97, .45) }
.dash-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px }
.dash-grid2.narrow .card { padding: 18px }
.dash-form { display: grid; gap: 14px }
.dash-form select, .dash-filter select, .dash-filter input, .fld select { font: inherit; color: var(--white); background: rgba(0, 0, 0, .3); border: 1px solid var(--line); border-radius: 12px; padding: 11px 13px }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px }
.chk { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 14px }
.dash-filter { display: flex; gap: 10px; margin-bottom: 16px; flex-wrap: wrap }
.dash-filter input { flex: 1; min-width: 220px }
.dash-tabs { display: flex; gap: 6px; margin-bottom: 14px; flex-wrap: wrap }
.dash-tabs a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-weight: 600; font-size: 14px }
.dash-tabs a[aria-current="page"] { color: #041322; background: linear-gradient(135deg, var(--cyan), var(--blue)); border-color: transparent }
.mt-card.on { border-color: rgba(255, 202, 67, .5); box-shadow: 0 0 40px rgba(255, 202, 67, .12) }
.mt-state { margin-bottom: 14px }
.perm-list { padding-left: 18px; display: grid; gap: 6px; color: #FFD5DA; margin-bottom: 14px }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px }
.btn.sm { height: 34px; padding: 0 12px; font-size: 13px }
.dash-login { width: min(440px, 100%); padding: 36px; text-align: center; display: grid; gap: 14px; justify-items: center }
.dash-login .mark { width: 54px; height: 54px }
.dash-login h1 { font-size: 26px }
.toast { position: fixed; right: 20px; bottom: 20px; z-index: 90; padding: 13px 18px; border-radius: 14px; background: var(--glass-strong); border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(0, 0, 0, .5); font-weight: 600 }
.toast.ok { border-color: rgba(59, 224, 160, .5) } .toast.bad { border-color: rgba(255, 107, 125, .55); color: #FFD5DA }
.st.active { color: var(--good) }
@media (max-width: 980px) {
  .dash-shell { grid-template-columns: 1fr }
  .dash-side { position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; padding: 12px 14px }
  .dash-side nav { grid-auto-flow: column; overflow-x: auto; flex: 1 1 100%; order: 3 }
  .dash-side nav a { white-space: nowrap } .dash-me { border: 0; padding: 0; margin-left: auto }
  .dash-grid2, .row2 { grid-template-columns: 1fr }
}
.kpi b { font-size: clamp(18px, 1.9vw, 26px); overflow-wrap: anywhere; line-height: 1.2 }
.pp-fallback { margin-top: 18px; display: grid; gap: 12px; padding: 16px; border-radius: 14px; border: 1px solid rgba(255, 202, 67, .4); background: rgba(255, 202, 67, .06) }
.pp-fallback p { color: #FFE9B5; font-size: 14px }
.pp-alt { margin-top: 10px; text-align: center }
.linkish { color: var(--muted); font-size: 13px; text-decoration: underline; padding: 4px }
.linkish:hover { color: var(--white) }
