/* Generated file: app-public-foundation.css
   Source of truth lives under Web/Assets/Styles/App
   Do not edit this bundle directly. */
:root {
  --bg:            #c8d8e3;
  --surface-1:     #e2edf3;
  --surface-2:     #d5e3ec;
  --surface-3:     #bfd2df;
  --surface-hover: #b5cbd9;

  --border:        rgba(13,45,68,0.18);
  --border-hi:     rgba(44,126,168,0.36);

  --text:          #0d2333;
  --text-muted:    #48677c;
  --text-dim:      #6c8798;

  --accent:        #0f94c6;
  --accent-glow:   rgba(48,175,222,0.16);
  --accent-border: rgba(15,148,198,0.38);

  --discord:       #5865F2;
  --discord-hi:    #4752C4;
  --success:       #2ddc9a;
  --danger:        #ef4444;
  --danger-bg:     rgba(239,68,68,0.06);
  --plan-free-core:      #2ddc9a;
  --plan-free-bright:    #6ff0c2;
  --plan-free-deep:      #09865a;
  --plan-free-glow:      rgba(45,220,154,0.24);
  --plan-premium-core:   #e7b84d;
  --plan-premium-bright: #f2d27a;
  --plan-premium-deep:   #a66c15;
  --plan-premium-glow:   rgba(231,184,77,0.25);
  --plan-pro-core:       #43d4f2;
  --plan-pro-bright:     #91eefb;
  --plan-pro-deep:       #127696;
  --plan-pro-glow:       rgba(67,212,242,0.27);
  --plan-bundle-core:    #d9e8f4;
  --plan-bundle-glow:    rgba(217,232,244,0.20);
  --premium-gold-top:    #fff2bf;
  --premium-gold-bright: var(--plan-premium-bright);
  --premium-gold-core:   var(--plan-premium-core);
  --premium-gold-deep:   var(--plan-premium-deep);
  --premium-gold-ink:    #36250b;
  --premium-gold-border: rgba(231,184,77,0.38);
  --premium-gold-glow:   var(--plan-premium-glow);

  --premium-plat-top:    #f0f0f8;
  --premium-plat-bright: #c8c8dc;
  --premium-plat-core:   #9696b4;
  --premium-plat-deep:   #606080;
  --premium-plat-ink:    #0e0e1e;
  --premium-plat-border: rgba(150,150,180,0.36);
  --premium-plat-glow:   rgba(150,150,180,0.20);

  --premium-rose-top:    #ffd6e0;
  --premium-rose-bright: #f598b0;
  --premium-rose-core:   #e0506e;
  --premium-rose-deep:   #961838;
  --premium-rose-ink:    #200610;
  --premium-rose-border: rgba(224,80,110,0.44);
  --premium-rose-glow:   rgba(224,80,110,0.30);

  --r:             3px;
  --r-sm:          2px;
  --r-lg:          4px;

  --font:          'Inter', system-ui, -apple-system, sans-serif;
  --mono:          'JetBrains Mono', 'Fira Code', monospace;

  --ease:          cubic-bezier(0.16,1,0.3,1);
  --ease-spring:   cubic-bezier(0.34,1.56,0.64,1);
  --t:             130ms var(--ease);
  --t-slow:        230ms var(--ease);

  --shadow-sm:     0 2px 10px rgba(13,35,51,0.08);
  --shadow-md:     0 10px 26px rgba(13,35,51,0.13);
  --shadow-lg:     0 22px 48px rgba(13,35,51,0.18);
  --shadow-navbar: 0 1px 16px rgba(13,35,51,0.12);

  --body-glow:     rgba(48,175,222,0.12);
  --body-pattern:  rgba(13,35,51,0.045);
}

[data-theme="forge"] {
  --bg:            #050d15;
  --surface-1:     #0d1b2a;
  --surface-2:     #12283d;
  --surface-3:     #17364f;
  --surface-hover: #1d4767;
  --border:        rgba(125,205,245,0.14);
  --border-hi:     rgba(72,200,245,0.26);
  --text:          #f3f8fc;
  --text-muted:    #b6c7d8;
  --text-dim:      #7890a6;
  --accent:        #38c7f4;
  --accent-glow:   rgba(56,199,244,0.16);
  --accent-border: rgba(56,199,244,0.34);
  --success:       #2ee6a6;
  --plan-free-core:      #2ee6a6;
  --plan-free-bright:    #83f6cf;
  --plan-free-deep:      #0b8f63;
  --plan-free-glow:      rgba(46,230,166,0.26);
  --plan-premium-core:   #e7b84d;
  --plan-premium-bright: #f3d47a;
  --plan-premium-deep:   #a66c15;
  --plan-premium-glow:   rgba(231,184,77,0.28);
  --plan-pro-core:       #38c7f4;
  --plan-pro-bright:     #8feeff;
  --plan-pro-deep:       #13779a;
  --plan-pro-glow:       rgba(56,199,244,0.30);
  --premium-gold-top:    #fff0b8;
  --premium-gold-ink:    #342307;
  --premium-gold-border: rgba(231,184,77,0.42);
  --shadow-sm:     0 8px 22px rgba(0,0,0,0.30);
  --shadow-md:     0 18px 44px rgba(0,0,0,0.38);
  --shadow-lg:     0 28px 70px rgba(0,0,0,0.48);
  --shadow-navbar: 0 1px 18px rgba(0,0,0,0.48);
  --body-glow:     rgba(56,199,244,0.028);
  --body-pattern:  rgba(148,200,220,0.005);
}

[data-theme="midnight"] {
  --bg:            #070611;
  --surface-1:     #151225;
  --surface-2:     #211936;
  --surface-3:     #2d2348;
  --surface-hover: #3a2d5e;
  --border:        rgba(203,184,255,0.14);
  --border-hi:     rgba(157,124,255,0.30);
  --text:          #faf7ff;
  --text-muted:    #c9bedf;
  --text-dim:      #8e80a6;
  --accent:        #9d7cff;
  --accent-glow:   rgba(157,124,255,0.17);
  --accent-border: rgba(157,124,255,0.34);
  --danger:        #ff5f83;
  --shadow-sm:     0 8px 22px rgba(0,0,0,0.30);
  --shadow-md:     0 18px 44px rgba(0,0,0,0.38);
  --shadow-lg:     0 28px 70px rgba(0,0,0,0.48);
  --shadow-navbar: 0 1px 18px rgba(0,0,0,0.48);
  --body-glow:     rgba(157,124,255,0.030);
  --body-pattern:  rgba(198,180,255,0.005);
}

[data-theme="slate"] {
  --bg:            #100712;
  --surface-1:     #211323;
  --surface-2:     #2e1a31;
  --surface-3:     #3b2342;
  --surface-hover: #4a2b54;
  --border:        rgba(255,164,208,0.14);
  --border-hi:     rgba(255,111,174,0.30);
  --text:          #fff6fb;
  --text-muted:    #dbc0cf;
  --text-dim:      #a17a90;
  --accent:        #ff6fae;
  --accent-glow:   rgba(255,111,174,0.17);
  --accent-border: rgba(255,111,174,0.34);
  --danger:        #ff5b70;
  --shadow-sm:     0 8px 22px rgba(0,0,0,0.30);
  --shadow-md:     0 18px 44px rgba(0,0,0,0.38);
  --shadow-lg:     0 28px 70px rgba(0,0,0,0.48);
  --shadow-navbar: 0 1px 18px rgba(0,0,0,0.48);
  --body-glow:     rgba(255,111,174,0.030);
  --body-pattern:  rgba(255,185,220,0.005);
}

[data-theme="obsidian"] {
  --bg:            #05080c;
  --surface-1:     #101922;
  --surface-2:     #18232e;
  --surface-3:     #22303d;
  --surface-hover: #2d4050;
  --border:        rgba(210,226,240,0.12);
  --border-hi:     rgba(200,215,230,0.26);
  --text:          #f5f8fb;
  --text-muted:    #c0ccd6;
  --text-dim:      #7f8f9e;
  --accent:        #c8d7e6;
  --accent-glow:   rgba(200,215,230,0.13);
  --accent-border: rgba(200,215,230,0.30);
  --danger:        #ef6060;
  --shadow-sm:     0 8px 22px rgba(0,0,0,0.34);
  --shadow-md:     0 18px 44px rgba(0,0,0,0.44);
  --shadow-lg:     0 28px 70px rgba(0,0,0,0.54);
  --shadow-navbar: 0 1px 18px rgba(0,0,0,0.52);
  --body-glow:     rgba(200,215,230,0.020);
  --body-pattern:  rgba(210,226,240,0.004);
}

[data-theme="dusk"] {
  --bg:            #041112;
  --surface-1:     #0d2425;
  --surface-2:     #123739;
  --surface-3:     #174a4c;
  --surface-hover: #1f5f60;
  --border:        rgba(93,232,214,0.14);
  --border-hi:     rgba(44,224,200,0.28);
  --text:          #f1fffd;
  --text-muted:    #b8d4d0;
  --text-dim:      #7fa19d;
  --accent:        #2ce0c8;
  --accent-glow:   rgba(44,224,200,0.16);
  --accent-border: rgba(44,224,200,0.32);
  --danger:        #f06464;
  --shadow-sm:     0 8px 22px rgba(0,0,0,0.30);
  --shadow-md:     0 18px 44px rgba(0,0,0,0.38);
  --shadow-lg:     0 28px 70px rgba(0,0,0,0.48);
  --shadow-navbar: 0 1px 18px rgba(0,0,0,0.48);
  --body-glow:     rgba(44,224,200,0.030);
  --body-pattern:  rgba(160,240,224,0.005);
}

[data-theme="midnight"],
[data-theme="slate"],
[data-theme="obsidian"],
[data-theme="dusk"] {
  --success:       #2ee6a6;
  --plan-free-core:      #2ee6a6;
  --plan-free-bright:    #83f6cf;
  --plan-free-deep:      #0b8f63;
  --plan-free-glow:      rgba(46,230,166,0.26);
  --plan-premium-core:   #e7b84d;
  --plan-premium-bright: #f3d47a;
  --plan-premium-deep:   #a66c15;
  --plan-premium-glow:   rgba(231,184,77,0.28);
  --plan-pro-core:       #38c7f4;
  --plan-pro-bright:     #8feeff;
  --plan-pro-deep:       #13779a;
  --plan-pro-glow:       rgba(56,199,244,0.30);
  --premium-gold-top:    #fff0b8;
  --premium-gold-ink:    #342307;
  --premium-gold-border: rgba(231,184,77,0.42);
}

.theme-picker {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 5px;
  max-width: 100%;
  padding: 0.24rem 0.42rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), transparent);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  flex-shrink: 0;
}
.theme-dot {
  --theme-dot-color: var(--accent);
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 13px;
  height: 13px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  appearance: none;
  box-shadow: none;
  transition: transform 130ms var(--ease), filter 130ms var(--ease);
}
.theme-dot::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: var(--theme-dot-color);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.18),
    0 1px 3px rgba(4,12,20,0.24);
}
.theme-dot::after {
  content: "";
  position: absolute;
  inset: -3px;
  border: 2px solid transparent;
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  transition: opacity 130ms var(--ease), border-color 130ms var(--ease), box-shadow 130ms var(--ease);
}
.theme-dot:hover { transform: scale(1.08); filter: brightness(1.08); }
.theme-dot.active {
  transform: none;
  filter: none;
  box-shadow: none;
}
.theme-dot.active::after {
  border-color: color-mix(in srgb, var(--accent) 76%, white 24%);
  opacity: 1;
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--bg) 72%, transparent),
    0 0 10px color-mix(in srgb, var(--accent) 28%, transparent);
}
.theme-dot[data-theme-id="forge"]    { --theme-dot-color: #38bdf8; }
.theme-dot[data-theme-id="midnight"] { --theme-dot-color: #a78bfa; }
.theme-dot[data-theme-id="slate"]    { --theme-dot-color: #fb7185; }
.theme-dot[data-theme-id="obsidian"] { --theme-dot-color: #050607; }
.theme-dot[data-theme-id="dusk"]     { --theme-dot-color: #14b8a6; }
.theme-dot[data-theme-id="arctic"]   { --theme-dot-color: #9fb7c7; }
.theme-dot[data-theme-id="obsidian"]::before {
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.3),
    inset 0 1px 1px rgba(255,255,255,0.07),
    0 1px 3px rgba(4,12,20,0.3);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 50% 0%, var(--body-glow), transparent 30rem),
    radial-gradient(var(--body-pattern) 1px, transparent 1px);
  background-size: auto, 22px 22px;
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}

code {
  font-family: var(--mono);
  font-size: 0.85em;
  background: rgba(255,255,255,0.05);
  padding: 0.1em 0.35em;
  border-radius: var(--r-sm);
}

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.13); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.22); }

.plan-tier-icon {
  --plan-tier-icon-ink: var(--accent);
  --plan-tier-icon-rim: color-mix(in srgb, var(--accent) 34%, white 66%);
  --plan-tier-icon-core-top: color-mix(in srgb, white 82%, var(--accent) 18%);
  --plan-tier-icon-core-bottom: color-mix(in srgb, var(--accent) 26%, rgba(9,17,31,0.18));
  --plan-tier-icon-gloss: rgba(255,255,255,0.62);
  --plan-tier-icon-halo: color-mix(in srgb, var(--accent) 26%, transparent);
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 1.35rem;
  height: 1.35rem;
  border: 1px solid var(--plan-tier-icon-rim);
  border-radius: 999px;
  color: var(--plan-tier-icon-ink);
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.36), transparent 30%),
    linear-gradient(180deg, var(--plan-tier-icon-core-top) 0%, var(--plan-tier-icon-core-bottom) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.42),
    inset 0 -1px 0 rgba(12,18,34,0.14),
    0 10px 22px var(--plan-tier-icon-halo),
    0 0 0 1px color-mix(in srgb, var(--plan-tier-icon-rim) 16%, transparent);
}

.plan-tier-icon::before {
  content: "";
  position: absolute;
  inset: 0.1rem;
  border-radius: inherit;
  background:
    radial-gradient(circle at 36% 24%, var(--plan-tier-icon-gloss), transparent 40%),
    linear-gradient(180deg, rgba(255,255,255,0.14), transparent 48%);
  opacity: 0.72;
  pointer-events: none;
}

.plan-tier-icon::after {
  content: "";
  position: absolute;
  inset: -0.18rem;
  border-radius: inherit;
  background: radial-gradient(circle, var(--plan-tier-icon-halo), transparent 72%);
  opacity: 0.78;
  pointer-events: none;
}

.plan-tier-icon svg {
  position: relative;
  z-index: 1;
  width: 0.78rem;
  height: 0.78rem;
  filter:
    drop-shadow(0 1px 0 rgba(255,255,255,0.16))
    drop-shadow(0 6px 10px color-mix(in srgb, var(--plan-tier-icon-halo) 44%, transparent));
}

.plan-tier-icon-free {
  --plan-tier-icon-ink: #effff5;
  --plan-tier-icon-rim: color-mix(in srgb, var(--plan-free-bright) 82%, white 18%);
  --plan-tier-icon-core-top: color-mix(in srgb, var(--plan-free-bright) 68%, var(--plan-free-core) 32%);
  --plan-tier-icon-core-bottom: var(--plan-free-deep);
  --plan-tier-icon-gloss: rgba(255,255,255,0.42);
  --plan-tier-icon-halo: var(--plan-free-glow);
  text-shadow: 0 1px 2px rgba(2,56,32,0.36);
}

.plan-tier-icon-premium {
  --plan-tier-icon-ink: #2f1702;
  --plan-tier-icon-rim: color-mix(in srgb, var(--plan-premium-bright) 84%, white 16%);
  --plan-tier-icon-core-top: color-mix(in srgb, var(--premium-gold-top) 66%, var(--plan-premium-bright) 34%);
  --plan-tier-icon-core-bottom: var(--plan-premium-deep);
  --plan-tier-icon-gloss: rgba(255,255,255,0.5);
  --plan-tier-icon-halo: color-mix(in srgb, var(--plan-premium-core) 42%, transparent);
  text-shadow: 0 1px 1px rgba(255,244,194,0.28);
}

.plan-tier-icon-bundle {
  --plan-tier-icon-ink: #f7fbff;
  --plan-tier-icon-rim: color-mix(in srgb, var(--plan-bundle-core) 92%, white 8%);
  --plan-tier-icon-core-top: color-mix(in srgb, var(--plan-bundle-core) 70%, #a9bfdc 30%);
  --plan-tier-icon-core-bottom: #334963;
  --plan-tier-icon-gloss: rgba(255,255,255,0.48);
  --plan-tier-icon-halo: color-mix(in srgb, var(--plan-bundle-core) 42%, transparent);
  text-shadow: 0 1px 2px rgba(10,22,38,0.34);
}

.plan-tier-icon-pro {
  --plan-tier-icon-ink: #f6fdff;
  --plan-tier-icon-rim: color-mix(in srgb, var(--plan-pro-bright) 86%, white 14%);
  --plan-tier-icon-core-top: color-mix(in srgb, var(--plan-pro-bright) 54%, var(--plan-pro-core) 46%);
  --plan-tier-icon-core-bottom: color-mix(in srgb, var(--plan-pro-deep) 68%, #11263c 32%);
  --plan-tier-icon-gloss: rgba(255,255,255,0.46);
  --plan-tier-icon-halo: var(--plan-pro-glow);
  text-shadow: 0 1px 2px rgba(3,10,18,0.38);
}

.plan-tier-icon.pricing-icon-bolt svg {
  transform-box: fill-box;
  transform-origin: center;
  animation: plan-tier-bolt-flash 3s ease-in-out infinite;
}

.plan-tier-icon.pricing-icon-crown svg {
  transform-box: fill-box;
  transform-origin: center bottom;
  animation: plan-tier-crown-bob 2.8s ease-in-out infinite;
}

.plan-tier-icon.pricing-icon-diamond svg {
  transform-box: fill-box;
  transform-origin: center;
  animation: plan-tier-diamond-gleam 4.6s ease-in-out infinite;
}

.plan-tier-icon.pricing-icon-apex svg {
  transform-box: fill-box;
  transform-origin: center bottom;
  animation: plan-tier-apex-pulse 3.6s ease-in-out infinite;
}

@keyframes plan-tier-bolt-flash {
  0%, 60%, 100% { opacity: 0.92; transform: scale(1); filter: brightness(1); }
  68%            { opacity: 0.42; transform: scale(0.9); filter: brightness(1); }
  74%            { opacity: 1; transform: scale(1.12); filter: brightness(2.1); }
  88%            { opacity: 1; transform: scale(1); filter: brightness(1); }
}

@keyframes plan-tier-crown-bob {
  0%, 100% { transform: translateY(0) rotate(0deg); filter: brightness(1); }
  34%      { transform: translateY(-1px) rotate(-3deg); filter: brightness(1.12); }
  66%      { transform: translateY(-0.5px) rotate(3deg); filter: brightness(1.06); }
}

@keyframes plan-tier-diamond-gleam {
  0%, 62%, 100% { transform: rotate(0deg) scale(1); filter: brightness(1); }
  70%           { transform: rotate(-4deg) scale(1.08); filter: brightness(1.2); }
  78%           { transform: rotate(3deg) scale(1.02); filter: brightness(1.08); }
}

@keyframes plan-tier-apex-pulse {
  0%, 62%, 100% { transform: translateY(0) scale(1); filter: brightness(1); }
  70%           { transform: translateY(-1px) scale(1.08); filter: brightness(1.22); }
  82%           { transform: translateY(-0.25px) scale(1.02); filter: brightness(1.08); }
}

@media (prefers-reduced-motion: reduce) {
  .plan-tier-icon.pricing-icon-bolt svg,
  .plan-tier-icon.pricing-icon-crown svg,
  .plan-tier-icon.pricing-icon-diamond svg,
  .plan-tier-icon.pricing-icon-apex svg {
    animation: none;
  }
}

#app {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
  max-width: 100vw;
}

.navbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 0.9rem;
  padding: 0 1.5rem;
  min-height: 54px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface-2) 42%, transparent), transparent 72%),
    color-mix(in srgb, var(--surface-1) 92%, var(--bg) 8%);
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 14%, var(--border-hi));
  box-shadow: var(--shadow-navbar);
  position: sticky;
  top: 0;
  z-index: 50;
  min-width: 0;
  overflow: visible;
}

.navbar-brand-cluster {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  justify-self: start;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 0 0 auto;
  min-width: max-content;
  max-width: 100%;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-family: var(--mono);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: inherit;
  text-decoration: none;
  transition: opacity var(--t);
}
.brand:hover { opacity: 0.75; }
.brand:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: var(--r-sm); }

.brand-text {
  flex: 0 0 auto;
  color: var(--text);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.beta-badge {
  flex: 0 0 auto;
  font-size: 0.48rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: color-mix(in srgb, var(--accent) 88%, white 12%);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--border-hi));
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  padding: 2px 5px;
  border-radius: var(--r-sm);
  font-family: var(--mono);
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.6rem;
  justify-self: end;
  min-width: 0;
  overflow: visible;
}

.user-area {
  display: flex;
  align-items: center;
  gap: 2px;
  min-height: 38px;
  max-width: 100%;
  background: color-mix(in srgb, var(--surface-2) 84%, var(--bg) 16%);
  border: 1px solid color-mix(in srgb, var(--accent) 14%, var(--border-hi));
  border-radius: var(--r);
  padding: 2px;
  transition: border-color var(--t);
}
.user-area:hover { border-color: color-mix(in srgb, var(--accent) 28%, var(--accent-border)); }

.user-profile {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 32px;
  padding: 0.18rem 0.48rem 0.18rem 0.18rem;
}
.user-profile img { width: 26px; height: 26px; border-radius: var(--r-sm); flex-shrink: 0; }
.user-profile-copy {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.38rem;
  line-height: 1;
  flex-wrap: nowrap;
}
.user-profile-name {
  display: block;
  font-weight: 600;
  font-size: 0.78rem;
  line-height: 1;
  color: var(--text);
}
.user-plan-pill {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  align-self: center;
  flex-shrink: 0;
  min-height: 1.2rem;
  padding: 0.14rem 0.46rem 0.14rem 0.34rem;
  border-radius: 999px;
  border: 1px solid var(--premium-gold-border);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.14), transparent 52%),
    linear-gradient(135deg, var(--premium-gold-bright), var(--premium-gold-core) 58%, var(--premium-gold-deep));
  color: var(--premium-gold-ink);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: none;
  box-shadow:
    0 12px 28px color-mix(in srgb, var(--premium-gold-core) 22%, transparent),
    inset 0 1px 0 rgba(255,255,255,0.24);
}

.user-plan-pill-free {
  border-color: color-mix(in srgb, var(--success) 28%, white 72%);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.24), transparent 54%),
    linear-gradient(135deg, color-mix(in srgb, var(--success) 24%, white 76%), color-mix(in srgb, var(--success) 52%, #dcfce7 48%) 58%, color-mix(in srgb, var(--success) 72%, #14532d 28%));
  color: color-mix(in srgb, #14532d 72%, #08130b 28%);
  box-shadow:
    0 10px 22px color-mix(in srgb, var(--success) 16%, transparent),
    inset 0 1px 0 rgba(255,255,255,0.34);
}

.user-plan-pill-bundle {
  border-color: var(--premium-gold-border);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.14), transparent 52%),
    linear-gradient(135deg, var(--premium-gold-bright), var(--premium-gold-core) 58%, var(--premium-gold-deep));
  color: var(--premium-gold-ink);
  box-shadow:
    0 12px 28px color-mix(in srgb, var(--premium-gold-core) 22%, transparent),
    inset 0 1px 0 rgba(255,255,255,0.24);
}

.user-plan-pill-pro {
  border-color: var(--premium-gold-border);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.14), transparent 52%),
    linear-gradient(135deg, var(--premium-gold-bright), var(--premium-gold-core) 58%, var(--premium-gold-deep));
  color: var(--premium-gold-ink);
  box-shadow:
    0 12px 28px color-mix(in srgb, var(--premium-gold-core) 22%, transparent),
    inset 0 1px 0 rgba(255,255,255,0.24);
}

.user-plan-pill-free::before {
  display: none;
}

.user-plan-pill::before {
  content: "";
  position: absolute;
  top: -32%;
  bottom: -32%;
  left: -28%;
  width: 42%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,0.52), transparent);
  transform: translateX(-170%) skewX(-18deg);
  opacity: 0;
  animation: premium-pill-sheen 4.8s ease-in-out infinite;
}

.user-plan-pill-icon {
  width: 1rem;
  height: 1rem;
  margin-left: -0.08rem;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.36),
    inset 0 -1px 0 rgba(12,18,34,0.14),
    0 6px 14px var(--plan-tier-icon-halo);
}

.user-plan-pill-icon svg {
  width: 0.6rem;
  height: 0.6rem;
}

.user-plan-pill-label {
  position: relative;
  z-index: 1;
  line-height: 1;
}

@keyframes premium-pill-sheen {
  0%, 62%, 100% {
    transform: translateX(-170%) skewX(-18deg);
    opacity: 0;
  }

  8% {
    opacity: 0.7;
  }

  18% {
    transform: translateX(360%) skewX(-18deg);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .user-plan-pill::before,
  .user-plan-pill-icon,
  .user-plan-pill-icon::after {
    animation: none;
  }
}

.user-area-divider {
  width: 1px;
  height: 18px;
  background: var(--border-hi);
  flex-shrink: 0;
}

.sound-toggle {
  position: relative;
}

.sound-toggle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sound-toggle-icon-off {
  display: none;
}

.sound-toggle[data-sound-muted="true"] {
  border: 1px solid color-mix(in srgb, var(--premium-gold-core) 34%, transparent);
  background: color-mix(in srgb, var(--premium-gold-core) 10%, transparent);
  color: color-mix(in srgb, var(--premium-gold-top) 84%, white 8%);
}

.sound-toggle[data-sound-muted="true"] .sound-toggle-icon-on {
  display: none;
}

.sound-toggle[data-sound-muted="true"] .sound-toggle-icon-off {
  display: inline-flex;
}

.sound-toggle[data-sound-muted="true"]::after {
  content: "";
  position: absolute;
  right: 5px;
  bottom: 5px;
  width: 5px;
  height: 5px;
  border: 1px solid color-mix(in srgb, var(--surface-2) 92%, transparent);
  border-radius: 999px;
  background: currentColor;
}

.notif-bell {
  position: relative;
  color: var(--text-dim);
  transition: color var(--t);
}
.notif-bell:hover { color: var(--text); }

.notif-bell-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.notif-bell-svg {
  transform-origin: 50% 0%;
  display: block;
}

.notif-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 999px;
  background: #ef4444;
  border: 1.5px solid var(--surface-2);
  font-family: var(--mono);
  font-size: 0.44rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 180ms var(--ease), transform 220ms var(--ease-spring);
  pointer-events: none;
}

.notif-bell[data-notif-count]:not([data-notif-count=""]):not([data-notif-count="0"]) .notif-badge {
  opacity: 1;
  transform: scale(1);
  padding: 0 2.5px;
  min-width: 13px;
  height: 13px;
}

.notif-bell[data-notif-state="idle"] .notif-bell-svg {
  animation: bell-breathe 4s ease-in-out infinite;
}

@keyframes bell-breathe {
  0%, 100% { transform: rotate(0deg) scale(1);    }
  25%       { transform: rotate(3deg) scale(1.04); }
  75%       { transform: rotate(-3deg) scale(1.04);}
}

.notif-bell[data-notif-state="unread"] {
  color: #ef4444;
}
.notif-bell[data-notif-state="unread"] .notif-bell-svg {
  animation: bell-ring 2.4s cubic-bezier(0.36,0.07,0.19,0.97) infinite;
}

@keyframes bell-ring {
  0%, 55%, 100% { transform: rotate(0deg);   }
  5%            { transform: rotate(15deg);  }
  10%           { transform: rotate(-13deg); }
  15%           { transform: rotate(11deg);  }
  20%           { transform: rotate(-9deg);  }
  25%           { transform: rotate(6deg);   }
  30%           { transform: rotate(-4deg);  }
  35%           { transform: rotate(2deg);   }
  40%           { transform: rotate(0deg);   }
}

.notif-bell[data-notif-state="urgent"] {
  color: #ef4444;
}
.notif-bell[data-notif-state="urgent"] .notif-bell-svg {
  animation: bell-shake 0.7s cubic-bezier(0.36,0.07,0.19,0.97) infinite;
}
.notif-bell[data-notif-state="urgent"] .notif-badge {
  background: #ef4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.18), 0 0 10px rgba(239,68,68,0.3);
  animation: badge-pulse 1.1s ease-in-out infinite;
}

@keyframes bell-shake {
  0%, 100% { transform: rotate(0deg);   }
  10%      { transform: rotate(18deg);  }
  20%      { transform: rotate(-16deg); }
  30%      { transform: rotate(14deg);  }
  40%      { transform: rotate(-12deg); }
  50%      { transform: rotate(9deg);   }
  60%      { transform: rotate(-6deg);  }
  70%      { transform: rotate(3deg);   }
  80%      { transform: rotate(0deg);   }
}

@keyframes badge-pulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(239,68,68,0.20), 0 0 8px rgba(239,68,68,0.22); }
  50%      { box-shadow: 0 0 0 5px rgba(239,68,68,0.08), 0 0 18px rgba(239,68,68,0.40); }
}

.notif-bell[data-notif-state="muted"] {
  opacity: 0.45;
}
.notif-bell[data-notif-state="muted"] .notif-bell-svg {
  animation: none;
}

@media (prefers-reduced-motion: reduce) {
  .notif-bell-svg { animation: none !important; }
  .notif-badge    { animation: none !important; }
}

.notif-panel {
  position: fixed;
  top: calc(var(--navbar-h, 52px) + 8px);
  right: 12px;
  width: 340px;
  max-width: calc(100vw - 24px);
  max-height: calc(100vh - var(--navbar-h, 52px) - 24px);
  background: var(--surface-1);
  border: 1px solid var(--border-hi);
  border-radius: var(--r-lg);
  box-shadow:
    0 8px 32px rgba(0,0,0,0.13),
    0 2px 8px  rgba(0,0,0,0.08),
    0 0 0 1px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 9000;

  opacity: 0;
  transform: translateY(-8px) scale(0.97);
  transform-origin: top right;
  pointer-events: none;
  transition:
    opacity 180ms var(--ease),
    transform 200ms var(--ease);
}

.notif-panel.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.notif-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0.9rem 0.6rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.notif-panel-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.notif-panel-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.notif-mark-all {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.68rem;
  font-family: var(--font);
  color: var(--accent);
  padding: 2px 4px;
  border-radius: var(--r-sm);
  transition: background var(--t), color var(--t);
}
.notif-mark-all:hover { background: var(--accent-glow); }

.notif-panel-body {
  overflow-y: auto;
  overscroll-behavior: contain;
  flex: 1;
  padding: 4px 0;
}
.notif-panel-body::-webkit-scrollbar { width: 4px; }
.notif-panel-body::-webkit-scrollbar-track { background: transparent; }
.notif-panel-body::-webkit-scrollbar-thumb { background: var(--border-hi); border-radius: 4px; }

.notif-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 2.2rem 1rem;
  color: var(--text-dim);
  font-size: 0.76rem;
}
.notif-empty-icon {
  width: 30px;
  height: 30px;
  opacity: 0.35;
}

.notif-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.62rem 0.9rem 0.62rem 0.8rem;
  border-bottom: 1px solid var(--border);
  transition: background var(--t);
  cursor: default;
}
.notif-item:last-child { border-bottom: none; }
.notif-item:hover { background: var(--surface-2); }

.notif-item-unread {
  background: color-mix(in srgb, var(--accent) 4%, var(--surface-1));
  cursor: pointer;
}
.notif-item-unread::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2.5px;
  border-radius: 0 2px 2px 0;
  background: var(--accent);
}

.notif-item-dot {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
  transition: opacity var(--t);
}
.notif-item-unread .notif-item-dot { opacity: 1; }

.notif-item-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.notif-item-icon svg { width: 14px; height: 14px; }

.notif-item-info    .notif-item-icon { background: var(--accent-glow);                       color: var(--accent);   }
.notif-item-premium .notif-item-icon { background: color-mix(in srgb, var(--premium-gold-core) 16%, transparent); color: var(--premium-gold-deep); }
.notif-item-success .notif-item-icon { background: color-mix(in srgb, var(--success) 10%, transparent);           color: var(--success);           }
.notif-item-warning .notif-item-icon { background: color-mix(in srgb, var(--premium-gold-core) 12%, transparent); color: var(--premium-gold-core); }
.notif-item-danger  .notif-item-icon { background: var(--danger-bg);                         color: var(--danger);   }

.notif-item-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.notif-item-eyebrow {
  font-size: 0.59rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.notif-item-title {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.notif-item-message {
  font-size: 0.71rem;
  color: var(--text-muted);
  line-height: 1.4;
}
.notif-item-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.15rem;
}
.notif-item-highlight {
  display: inline-flex;
  align-items: center;
  min-height: 1.3rem;
  padding: 0 0.42rem;
  border-radius: 999px;
  border: 1px solid var(--border-hi);
  background: var(--surface-2);
  color: var(--text-muted);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.notif-item-time {
  font-size: 0.62rem;
  color: var(--text-dim);
  font-family: var(--mono);
  margin-top: 2px;
}

.notif-item-premium.notif-item-unread {
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--premium-gold-core) 8%, transparent) 0%, color-mix(in srgb, var(--premium-gold-core) 2%, transparent) 58%, transparent 100%),
    color-mix(in srgb, var(--surface-1) 92%, var(--premium-gold-core) 8%);
}

.notif-item-premium.notif-item-unread::after {
  background: linear-gradient(180deg, var(--premium-gold-bright) 0%, var(--premium-gold-deep) 100%);
}

.notif-item-premium .notif-item-eyebrow {
  color: var(--premium-gold-deep);
}

.notif-item-premium .notif-item-highlight {
  border-color: rgba(217, 154, 8, 0.22);
  background: rgba(247, 191, 62, 0.11);
  color: #915d02;
}

.notif-item-warning .notif-item-highlight {
  border-color: rgba(245, 158, 11, 0.2);
  background: rgba(245, 158, 11, 0.08);
  color: #b76600;
}

.notif-item-cta {
  flex-shrink: 0;
  align-self: center;
  background: var(--surface-3);
  border: 1px solid var(--border-hi);
  border-radius: var(--r-sm);
  padding: 3px 8px;
  font-size: 0.64rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: background var(--t), border-color var(--t);
  white-space: nowrap;
}
.notif-item-cta:hover { background: var(--surface-hover); border-color: var(--accent-border); color: var(--accent); }

.notif-panel-backdrop {
  position: fixed;
  inset: 0;
  z-index: 8999;
  display: none;
}
.notif-panel-backdrop.open { display: block; }

@media (prefers-reduced-motion: reduce) {
  .notif-panel { transition: opacity 80ms linear; transform: none !important; }
}

.mode-switcher {
  display: flex;
  position: relative;
  justify-self: center;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  background: color-mix(in srgb, var(--surface-2) 72%, var(--bg) 28%);
  border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--border-hi));
  border-radius: var(--r);
  padding: 2px;
  gap: 2px;
}

@media (min-width: 1280px) {
  .navbar {
    grid-template-columns: minmax(0, 1fr) minmax(0, 820px) minmax(0, 1fr);
  }

  .mode-switcher {
    justify-self: start;
  }
}

@media (max-width: 1360px) and (min-width: 641px) {
  .navbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.62rem 0.88rem;
    padding: 0.62rem 1rem 0.74rem;
    min-height: auto;
  }

  .navbar-brand-cluster {
    order: 1;
    flex: 1 1 auto;
    min-width: max-content;
    gap: 0.58rem;
  }

  .brand {
    gap: 0.42rem;
    min-width: max-content;
  }

  .brand-text {
    font-size: 0.96rem;
  }

  .theme-picker {
    gap: 4px;
    padding: 0.22rem 0.36rem;
  }

  .theme-dot {
    width: 12px;
    height: 12px;
  }

  .nav-actions {
    order: 2;
    flex: 0 1 auto;
    margin-left: auto;
    max-width: 100%;
  }

  .nav-actions > * {
    max-width: 100%;
  }

  .user-profile-name,
  .user-plan-pill-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .user-profile-name {
    max-width: 10.5rem;
  }

  .user-plan-pill-label {
    max-width: 7.2rem;
  }

  .mode-switcher {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
  }

  .mode-switcher::-webkit-scrollbar {
    display: none;
  }

  .mode-btn {
    flex: 0 0 auto;
  }
}

.navbar.navbar-compact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.62rem 0.88rem;
  padding: 0.62rem 1rem 0.74rem;
  min-height: auto;
}

.navbar.navbar-compact .navbar-brand-cluster {
  order: 1;
  flex: 1 1 auto;
  min-width: max-content;
  gap: 0.58rem;
}

.navbar.navbar-compact .brand {
  gap: 0.42rem;
  min-width: max-content;
}

.navbar.navbar-compact .brand-text {
  font-size: 0.96rem;
}

.navbar.navbar-compact .theme-picker {
  gap: 4px;
  padding: 0.22rem 0.36rem;
}

.navbar.navbar-compact .theme-dot {
  width: 12px;
  height: 12px;
}

.navbar.navbar-compact .nav-actions {
  order: 2;
  flex: 0 1 auto;
  margin-left: auto;
  max-width: 100%;
}

.navbar.navbar-compact .nav-actions > * {
  max-width: 100%;
}

.navbar.navbar-compact .user-profile-name,
.navbar.navbar-compact .user-plan-pill-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.navbar.navbar-compact .user-profile-name {
  max-width: 10.5rem;
}

.navbar.navbar-compact .user-plan-pill-label {
  max-width: 7.2rem;
}

.navbar.navbar-compact .mode-switcher {
  order: 3;
  width: 100%;
  justify-content: flex-start;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}

.navbar.navbar-compact .mode-switcher::-webkit-scrollbar {
  display: none;
}

.navbar.navbar-compact .mode-btn {
  flex: 0 0 auto;
}

.mode-pill {
  position: absolute;
  top: 2px; bottom: 2px;
  left: 0; width: 0;
  background:
    linear-gradient(180deg, color-mix(in srgb, white 8%, transparent), transparent 70%),
    color-mix(in srgb, var(--surface-3) 84%, var(--accent) 8%);
  border-radius: var(--r-sm);
  transition: left 0.18s var(--ease), width 0.18s var(--ease);
  pointer-events: none;
  z-index: 0;
  box-shadow:
    0 8px 18px color-mix(in srgb, var(--accent) 8%, transparent),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

.mode-btn {
  position: relative;
  z-index: 1;
  min-width: 0;
  background: transparent;
  color: var(--text-dim);
  border: none;
  padding: 0.25rem 0.85rem;
  border-radius: var(--r-sm);
  font-size: 0.71rem;
  font-weight: 600;
  cursor: pointer;
  transition: color var(--t);
  font-family: var(--font);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mode-btn.active {
  background: transparent;
  color: var(--text);
}
.mode-btn:hover:not(.active) { color: var(--text-muted); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  isolation: isolate;
  gap: 0.4rem;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border-hi);
  padding: 0.42rem 0.85rem;
  border-radius: var(--r);
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--t);
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover:not(:disabled) {
  background: var(--surface-3);
  border-color: var(--accent-border);
}
.btn:active:not(:disabled) { transform: scale(0.97); }
.btn:disabled { opacity: 0.38; cursor: not-allowed; pointer-events: none; }

.btn[data-action-busy="true"] {
  opacity: 0.72;
}

.btn[data-action-busy="true"]::before {
  content: "";
  flex: 0 0 auto;
  width: 0.88rem;
  height: 0.88rem;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 999px;
  animation: action-button-spin 680ms linear infinite;
}

.btn[data-action-busy="true"] .app-button-icon,
.btn[data-action-busy="true"] .leaderboard-button-icon {
  display: none;
}

.btn[data-action-cooldown="true"] {
  opacity: 0.62;
}

.btn[data-action-cooldown="true"]::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  transform-origin: left center;
  background: color-mix(in srgb, currentColor 12%, transparent);
  animation: action-button-cooldown-fill var(--action-cooldown-duration, 5000ms) linear forwards;
}

.btn > span {
  position: relative;
  z-index: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-button-icon {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: 0.92rem;
  height: 0.92rem;
}

@keyframes action-button-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes action-button-cooldown-fill {
  from {
    transform: scaleX(1);
  }

  to {
    transform: scaleX(0);
  }
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  aspect-ratio: 1 / 1;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 999px;
  color: var(--text-dim);
  cursor: pointer;
  transition: all var(--t);
  flex-shrink: 0;
  line-height: 0;
  overflow: hidden;
}
.btn-icon:hover { background: var(--surface-3); color: var(--text); }
.btn-icon:active { transform: scale(0.92); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: transparent;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0,0,0,0.25);
}
.btn-primary:hover:not(:disabled) {
  opacity: 0.88;
  border-color: transparent;
}

.btn-discord {
  background: linear-gradient(135deg, color-mix(in srgb, var(--discord) 88%, white 12%), var(--discord));
  color: white;
  border-color: transparent;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(88,101,242,0.2);
}
.btn-discord:hover:not(:disabled) { background: var(--discord-hi); }

.btn-danger {
  background: var(--danger-bg);
  color: var(--danger);
  border-color: rgba(239,68,68,0.15);
}
.btn-danger:hover:not(:disabled) { background: rgba(239,68,68,0.14); }

.container {
  flex: 1;
  width: 100%;
  max-width: 1360px;
  min-width: 0;
  margin: 0 auto;
  padding: 1.5rem;
  overflow-x: hidden;
}

.hero-orb { display: none; }
.heartbeat-container, .heartbeat-line { display: none; }

.guest-hero {
  position: relative;
  padding: 3.5rem 0 2.5rem;
  max-width: 820px;
  margin: 0 auto;
  overflow: hidden;
}

.guest-hero-content {
  position: relative;
  z-index: 1;
  padding-left: 1.75rem;
  border-left: 2px solid var(--accent);
}

.guest-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin-bottom: 0.6rem;
}

.guest-hero p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.65;
  max-width: 460px;
  margin-bottom: 1.65rem;
}

.hero-actions-wrapper {
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hero-grid-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
  gap: 0.5rem;
}
.hero-grid-stats { align-items: stretch; }
.hero-grid-stats .stat-glow-box { min-width: 0; width: 100%; }

.hero-premium-stat {
  --hero-premium-accent: color-mix(in srgb, var(--accent) 58%, var(--premium-gold-bright) 42%);
  --hero-premium-accent-soft: color-mix(in srgb, var(--accent) 22%, transparent);
  --hero-premium-accent-border: color-mix(in srgb, var(--accent) 34%, var(--premium-gold-core) 66%);
  --hero-rocket-body-top: color-mix(in srgb, white 78%, var(--hero-premium-accent) 22%);
  --hero-rocket-body-bottom: color-mix(in srgb, #b7c5dc 74%, var(--hero-premium-accent) 26%);
  --hero-rocket-fin-fill: color-mix(in srgb, white 56%, var(--hero-premium-accent) 44%);
  --hero-rocket-nozzle: color-mix(in srgb, #93a7c8 72%, var(--hero-premium-accent) 28%);
  --hero-rocket-crown-top: color-mix(in srgb, var(--premium-gold-top) 74%, white 26%);
  --hero-rocket-crown-bottom: color-mix(in srgb, var(--premium-gold-deep) 80%, var(--hero-premium-accent) 20%);
  --hero-rocket-crown-band: color-mix(in srgb, var(--premium-gold-deep) 76%, var(--hero-premium-accent) 24%);
  --hero-rocket-stroke: color-mix(in srgb, #09111f 82%, var(--hero-premium-accent) 18%);
  --hero-rocket-seam: color-mix(in srgb, #09111f 42%, var(--hero-premium-accent) 58%);
  --hero-rocket-shade: color-mix(in srgb, #4c6b99 64%, var(--hero-premium-accent) 36%);
  --hero-rocket-highlight: rgba(255,255,255,0.98);
  --hero-rocket-gem-left: color-mix(in srgb, #ff6b7e 72%, var(--hero-premium-accent) 28%);
  --hero-rocket-gem-center: color-mix(in srgb, white 80%, var(--hero-premium-accent) 20%);
  --hero-rocket-gem-right: color-mix(in srgb, #6cc0ff 64%, var(--hero-premium-accent) 36%);
  --hero-rocket-flame-outer-top: color-mix(in srgb, var(--premium-gold-bright) 68%, var(--hero-premium-accent) 32%);
  --hero-rocket-flame-outer-mid: color-mix(in srgb, #ff7300 78%, var(--hero-premium-accent) 22%);
  --hero-rocket-flame-outer-end: color-mix(in srgb, #ff2400 78%, var(--hero-premium-accent) 22%);
  --hero-rocket-flame-core-top: color-mix(in srgb, #fff98a 64%, white 36%);
  --hero-rocket-flame-core-mid: color-mix(in srgb, #ffb347 72%, var(--hero-premium-accent) 28%);
  --hero-rocket-flame-core-end: color-mix(in srgb, #ff4c00 76%, var(--hero-premium-accent) 24%);
  --hero-rocket-flame-core-inner: color-mix(in srgb, white 74%, var(--premium-gold-top) 26%);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.18rem;
  min-height: 0;
  width: 100%;
  padding: 0.4rem 0.4rem 0.38rem;
  background:
    radial-gradient(ellipse at 50% 10%, color-mix(in srgb, var(--hero-premium-accent) 22%, transparent) 0%, transparent 58%),
    linear-gradient(180deg, rgba(255,255,255,0.04), transparent 30%),
    linear-gradient(180deg, color-mix(in srgb, var(--premium-gold-top) 12%, transparent), transparent 24%),
    linear-gradient(180deg,
      color-mix(in srgb, var(--surface-1) 90%, color-mix(in srgb, var(--hero-premium-accent) 8%, #151109 92%) 10%),
      color-mix(in srgb, var(--surface-2) 82%, color-mix(in srgb, var(--hero-premium-accent) 12%, #1c1408 88%) 18%));
  border: 1px solid color-mix(in srgb, var(--hero-premium-accent-border) 38%, var(--border-hi));
  border-radius: calc(var(--r) + 1px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.07),
    0 14px 28px color-mix(in srgb, var(--hero-premium-accent) 16%, transparent);
  isolation: isolate;
  overflow: hidden;
  cursor: pointer;
  appearance: none;
  font: inherit;
  text-align: center;
  transition: transform var(--t-slow), border-color var(--t-slow), box-shadow var(--t-slow);
}

.hero-premium-stat:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--hero-premium-accent) 54%, var(--border-hi));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.09),
    0 22px 46px color-mix(in srgb, var(--hero-premium-accent) 24%, transparent),
    0 0 0 1px rgba(255,255,255,0.05);
}

.hero-premium-stat:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--hero-premium-accent) 72%, white 28%);
  outline-offset: 3px;
}

.prem-scene {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.prem-rocket-svg {
  width: 60px;
  height: 60px;
  display: block;
  overflow: visible;
  animation: rkt-idle 3.2s ease-in-out infinite;
  filter:
    drop-shadow(0 0 5px color-mix(in srgb, var(--hero-premium-accent) 38%, transparent))
    drop-shadow(0 0 2px color-mix(in srgb, var(--premium-gold-core) 24%, transparent));
  will-change: transform, filter;
}

.prem-svg-flames {
  transform-box: fill-box;
  transform-origin: 50% 0%;
  animation: psf-idle 0.88s ease-in-out infinite alternate;
}

@keyframes rkt-idle {
  0%, 100% {
    transform: translate(0, 0);
    filter:
      drop-shadow(0 0 5px color-mix(in srgb, var(--hero-premium-accent) 34%, transparent))
      drop-shadow(0 0 2px color-mix(in srgb, var(--premium-gold-core) 18%, transparent));
  }
  40% {
    transform: translate(-2px, -3px);
    filter:
      drop-shadow(0 0 8px color-mix(in srgb, var(--hero-premium-accent) 52%, transparent))
      drop-shadow(0 0 3px color-mix(in srgb, var(--premium-gold-core) 28%, transparent));
  }
  72% {
    transform: translate(1px, -2px);
    filter:
      drop-shadow(0 0 6px color-mix(in srgb, var(--hero-premium-accent) 40%, transparent));
  }
}

@keyframes psf-idle {
  from { transform: scaleY(0.65) scaleX(1.14); opacity: 0.5;  }
  to   { transform: scaleY(1.1)  scaleX(0.88); opacity: 0.78; }
}

@keyframes rkt-vibrate {
  0%   { transform: translate(0,0)      ; }
  11%  { transform: translate(-2px, 2px); }
  22%  { transform: translate(2px, -2px); }
  33%  { transform: translate(-2px, 1px); }
  44%  { transform: translate(1.5px,-2px); }
  56%  { transform: translate(-1px, 1.5px); }
  67%  { transform: translate(1px, -1px); }
  82%  { transform: translate(-0.5px, 0.5px); }
  100% { transform: translate(0, 0)      ; }
}

@keyframes rkt-full-power {
  0% {
    transform: translate(0, -2px);
    filter:
      drop-shadow(0 0 14px color-mix(in srgb, var(--hero-premium-accent) 78%, var(--premium-gold-core) 22%))
      drop-shadow(0 0 28px color-mix(in srgb, var(--premium-gold-core) 46%, transparent));
  }
  22% {
    transform: translate(-2.5px, -5px);
    filter:
      drop-shadow(0 0 20px color-mix(in srgb, var(--hero-premium-accent) 82%, var(--premium-gold-bright) 18%))
      drop-shadow(0 0 38px color-mix(in srgb, var(--premium-gold-core) 54%, transparent));
  }
  48% {
    transform: translate(2px, -8px);
    filter:
      drop-shadow(0 0 26px color-mix(in srgb, var(--hero-premium-accent) 84%, white 16%))
      drop-shadow(0 0 52px color-mix(in srgb, var(--premium-gold-bright) 58%, transparent));
  }
  72% {
    transform: translate(-1.5px, -5px);
    filter:
      drop-shadow(0 0 20px color-mix(in srgb, var(--hero-premium-accent) 80%, var(--premium-gold-core) 20%))
      drop-shadow(0 0 38px color-mix(in srgb, var(--premium-gold-core) 50%, transparent));
  }
  100% {
    transform: translate(0, -3px);
    filter:
      drop-shadow(0 0 15px color-mix(in srgb, var(--hero-premium-accent) 78%, var(--premium-gold-core) 22%))
      drop-shadow(0 0 30px color-mix(in srgb, var(--premium-gold-core) 48%, transparent));
  }
}

@keyframes psf-full {
  from { transform: scaleY(0.78) scaleX(1.16); opacity: 0.88; }
  to   { transform: scaleY(1.38) scaleX(0.78); opacity: 1;    }
}

@keyframes label-flash {
  0%   { opacity: 0;   letter-spacing: 0.24em; color: var(--text); text-shadow: none; }
  26%  { opacity: 0;   letter-spacing: 0.18em; }
  50%  { opacity: 1;   letter-spacing: 0.1em;  color: #fff;
         text-shadow: 0 0 10px rgba(255,255,255,0.9),
                      0 0 24px color-mix(in srgb, var(--accent) 72%, white),
                      0 0 52px var(--accent); }
  66%  { opacity: 1;   color: #fff;
         text-shadow: 0 0 16px #fff, 0 0 38px #fff, 0 0 68px var(--accent); }
  83%  { opacity: 1;   text-shadow: 0 0 7px rgba(255,255,255,0.45), 0 0 16px var(--accent); color: var(--text); }
  100% { opacity: 1;   letter-spacing: 0.1em;  color: var(--text);
         text-shadow: 0 0 18px color-mix(in srgb, var(--accent) 14%, transparent); }
}

@keyframes label-idle-signal {
  0%, 100% {
    opacity: 1;
    color: var(--text);
    letter-spacing: 0.1em;
    text-shadow: 0 0 14px color-mix(in srgb, var(--accent) 16%, transparent);
    transform: translateY(0);
  }
  14% {
    opacity: 1;
    color: #fff;
    text-shadow:
      0 0 8px rgba(255,255,255,0.92),
      0 0 20px color-mix(in srgb, var(--accent) 68%, white),
      0 0 42px var(--accent);
    transform: translateY(-1px);
  }
  24% {
    opacity: 1;
    color: var(--text);
    text-shadow: 0 0 18px color-mix(in srgb, var(--accent) 24%, transparent);
    transform: translateY(0);
  }
  54% {
    opacity: 1;
    color: #fff;
    text-shadow:
      0 0 7px rgba(255,255,255,0.84),
      0 0 18px color-mix(in srgb, var(--accent) 62%, white),
      0 0 34px color-mix(in srgb, var(--accent) 86%, transparent);
    transform: translateY(-0.5px);
  }
  68% {
    opacity: 1;
    color: var(--text);
    text-shadow: 0 0 16px color-mix(in srgb, var(--accent) 18%, transparent);
    transform: translateY(0);
  }
}

.hero-premium-stat:hover .prem-rocket-svg {
  animation:
    rkt-vibrate  0.55s ease-in-out forwards,
    rkt-full-power 1.6s ease-in-out 0.55s infinite;
}

.hero-premium-stat:hover .prem-svg-flames {
  animation: psf-full 0.3s ease-in-out infinite alternate;
}

.hero-premium-stat-label {
  position: relative;
  z-index: 1;
  display: inline-block;
  color: color-mix(in srgb, var(--hero-premium-accent) 68%, white 32%);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: inherit;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
}

.hero-premium-stat:hover .hero-premium-stat-label {
  animation: label-idle-signal 3.2s ease-in-out infinite;
}

.hero-premium-stat .hero-premium-stat-label {
  opacity: 1;
  text-shadow: 0 0 18px color-mix(in srgb, var(--hero-premium-accent) 18%, transparent);
  animation: label-idle-signal 3.2s ease-in-out infinite;
}

.hero-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.hero-grid-2.single-btn { grid-template-columns: 1fr; }
.hero-grid-2 .btn {
  width: 100%;
  padding: 0.62rem 0;
  justify-content: center;
}
.hero-grid-2 .stat-glow-box { min-width: 0; width: 100%; }

.stat-glow-box {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 0.7rem 0.9rem;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: border-color var(--t);
  position: relative;
  overflow: hidden;
}
.stat-glow-box:hover { border-color: var(--accent-border); }

.stat-glow-value {
  font-size: 1.55rem;
  font-weight: 800;
  font-family: var(--mono);
  color: var(--accent);
  line-height: 1.2;
  margin-bottom: 0.12rem;
}
.stat-glow-label {
  font-size: 0.57rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  font-weight: 600;
  line-height: 1.3;
}

.stat-particle {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  border-radius: 1px;
  pointer-events: none;
  z-index: 100;
  animation: burst 2.2s cubic-bezier(0.1,0.8,0.3,1) forwards;
}
@keyframes burst {
  0%   { transform: translate(-50%,-50%) scale(1) rotate(0deg); opacity: 1; }
  100% { transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty))) scale(0) rotate(var(--rot)); opacity: 0; }
}

.pricing-section {
  max-width: 980px;
  margin: 0 auto 2.25rem;
  padding-top: 0.6rem;
  scroll-margin-top: 5.5rem;
}

.pricing-shell {
  --pricing-shell-spotlight-core: color-mix(in srgb, var(--accent) 58%, var(--premium-gold-bright) 42%);
  --pricing-shell-spotlight-soft: color-mix(in srgb, var(--pricing-shell-spotlight-core) 24%, transparent);
  --pricing-shell-spotlight-beam: color-mix(in srgb, var(--pricing-shell-spotlight-core) 36%, rgba(255,255,255,0.92));
  position: relative;
  padding: 1.35rem 1.2rem 1.15rem;
  border: 1px solid color-mix(in srgb, var(--accent) 16%, var(--border-hi));
  border-radius: calc(var(--r) + 8px);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), transparent 18%),
    radial-gradient(circle at top left, color-mix(in srgb, var(--accent) 10%, transparent), transparent 36%),
    radial-gradient(circle at bottom right, color-mix(in srgb, var(--accent) 7%, transparent), transparent 32%),
    var(--surface-1);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 26px 70px rgba(15,23,42,0.08);
  overflow: hidden;
  transition:
    border-color 420ms var(--ease),
    box-shadow 560ms var(--ease),
    transform 560ms var(--ease);
}

.pricing-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148,163,184,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148,163,184,0.07) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.22;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.22), transparent 74%);
  pointer-events: none;
  transition:
    opacity 360ms var(--ease),
    filter 560ms var(--ease);
}

.pricing-shell::after {
  content: "";
  position: absolute;
  inset: -36% -16%;
  background:
    linear-gradient(112deg,
      transparent 28%,
      color-mix(in srgb, var(--pricing-shell-spotlight-beam) 48%, transparent) 43%,
      rgba(255,255,255,0.92) 50%,
      color-mix(in srgb, var(--pricing-shell-spotlight-beam) 62%, transparent) 57%,
      transparent 72%);
  opacity: 0;
  transform: translate3d(-30%, 0, 0) rotate(10deg);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 0;
}

.pricing-shell-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  pointer-events: none;
  opacity: 0.4;
  transform: scale(1);
  transition:
    opacity 420ms var(--ease),
    transform 620ms var(--ease);
}

.pricing-shell-orb-a {
  top: -52px;
  right: 12%;
  width: 180px;
  height: 180px;
  background: color-mix(in srgb, var(--accent) 18%, transparent);
}

.pricing-shell-orb-b {
  bottom: -40px;
  left: 8%;
  width: 120px;
  height: 120px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
}

.pricing-shell-topline {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
  padding-bottom: 0.95rem;
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 10%, var(--border));
}

.pricing-shell-spotlight {
  border-color: color-mix(in srgb, var(--pricing-shell-spotlight-core) 44%, var(--border-hi));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.1),
    0 0 0 1px color-mix(in srgb, var(--pricing-shell-spotlight-core) 26%, transparent),
    0 0 0 10px var(--pricing-shell-spotlight-soft),
    0 0 48px color-mix(in srgb, var(--pricing-shell-spotlight-core) 24%, transparent),
    0 34px 110px color-mix(in srgb, var(--pricing-shell-spotlight-core) 28%, transparent);
  transform: translateY(-5px);
  animation: pricing-shell-focus-pulse 1600ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.pricing-shell-spotlight::before {
  opacity: 0.34;
  filter: saturate(1.2);
}

.pricing-shell-spotlight::after {
  animation: pricing-shell-sheen 1240ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.pricing-shell-spotlight .pricing-shell-orb {
  opacity: 0.72;
  transform: scale(1.06);
}

.pricing-shell-spotlight .pricing-shell-topline {
  border-bottom-color: color-mix(in srgb, var(--pricing-shell-spotlight-core) 24%, var(--border));
}

.pricing-shell-spotlight .pricing-kicker {
  text-shadow: 0 0 14px color-mix(in srgb, var(--pricing-shell-spotlight-core) 36%, transparent);
}

.pricing-shell-spotlight .pricing-section-head h2 {
  text-shadow:
    0 0 20px color-mix(in srgb, var(--pricing-shell-spotlight-core) 22%, transparent),
    0 0 38px color-mix(in srgb, var(--pricing-shell-spotlight-core) 12%, transparent);
}

.pricing-shell-spotlight .pricing-preview-chip {
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--pricing-shell-spotlight-core) 18%, transparent),
    0 0 24px color-mix(in srgb, var(--pricing-shell-spotlight-core) 18%, transparent),
    0 12px 28px color-mix(in srgb, var(--pricing-shell-spotlight-core) 24%, transparent);
  transform: translateY(-2px);
  animation: pricing-chip-pulse 920ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.pricing-preview-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0.42rem 0.8rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--premium-gold-core) 22%, transparent);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), transparent),
    linear-gradient(135deg, color-mix(in srgb, var(--premium-gold-core) 12%, transparent), transparent 65%);
  color: color-mix(in srgb, var(--premium-gold-core) 62%, var(--text-dim) 38%);
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  white-space: nowrap;
  transition:
    transform 320ms var(--ease),
    box-shadow 320ms var(--ease),
    border-color 320ms var(--ease);
}

.pricing-section-head {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
}

.pricing-kicker {
  display: inline-flex;
  margin-bottom: 0.48rem;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
  transition: text-shadow 320ms var(--ease);
}

.pricing-section-head h2 {
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.02;
  margin-bottom: 0.34rem;
  transition: text-shadow 420ms var(--ease);
}

.pricing-section-head p {
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.6;
  max-width: 480px;
}

.pricing-rail-shell {
  position: relative;
  z-index: 1;
  perspective: 1800px;
  perspective-origin: 50% 26%;
}

.pricing-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.8rem;
  align-items: stretch;
  transform-style: preserve-3d;
}

.pricing-rail-dots {
  display: none;
}

.pricing-rail-dot {
  appearance: none;
  border: 1px solid color-mix(in srgb, var(--accent) 16%, var(--border-hi));
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  border-radius: 999px;
  padding: 0;
  margin: 0;
}

.pricing-card {
  --pricing-card-accent: var(--accent);
  --pricing-card-accent-soft: color-mix(in srgb, var(--accent) 22%, transparent);
  --pricing-card-accent-border: color-mix(in srgb, var(--accent) 16%, var(--border-hi));
  --pricing-card-surface: var(--surface-1);
  position: relative;
  min-height: 100%;
  padding: 0.34rem;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.1), rgba(255,255,255,0.02) 20%, transparent 100%),
    linear-gradient(145deg, color-mix(in srgb, var(--pricing-card-accent) 10%, transparent), transparent 58%),
    color-mix(in srgb, var(--surface-2) 36%, var(--surface-1) 64%);
  border: 1px solid color-mix(in srgb, var(--pricing-card-accent) 14%, var(--border-hi));
  border-radius: 24px;
  box-shadow:
    0 18px 42px rgba(15,23,42,0.08),
    inset 0 1px 0 rgba(255,255,255,0.06);
  overflow: hidden;
  isolation: isolate;
  transform-style: preserve-3d;
  transform: translateY(0) scale(1);
  opacity: 1;
  transition:
    transform 540ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 540ms ease,
    border-color var(--t-slow),
    box-shadow var(--t-slow);
  animation: premium-card-enter 620ms cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(var(--premium-card-index, 0) * 75ms);
}

.pricing-card-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  height: 100%;
  padding: 1rem 0.92rem 0.9rem;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), transparent 24%),
    linear-gradient(135deg, color-mix(in srgb, var(--pricing-card-accent) 4%, transparent), transparent 58%),
    var(--pricing-card-surface);
  border: 1px solid color-mix(in srgb, var(--pricing-card-accent) 8%, var(--border));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    inset 0 -1px 0 rgba(0,0,0,0.06);
  overflow: hidden;
  isolation: isolate;
  transform-style: preserve-3d;
  transition:
    transform 540ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color var(--t-slow),
    box-shadow var(--t-slow);
}

.pricing-card-body > * {
  position: relative;
  z-index: 1;
}

.pricing-card.revealed {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.pricing-shell-spotlight .pricing-card {
  box-shadow:
    0 24px 50px rgba(15,23,42,0.12),
    0 0 0 1px color-mix(in srgb, var(--pricing-card-accent) 18%, transparent),
    0 0 20px color-mix(in srgb, var(--pricing-card-accent) 10%, transparent);
  animation: pricing-card-spotlight-pop 760ms var(--ease-spring) both;
  animation-delay: calc(var(--premium-card-index, 0) * 85ms);
}

.pricing-shell-spotlight .pricing-card.featured {
  box-shadow:
    0 28px 58px color-mix(in srgb, var(--pricing-card-accent) 26%, transparent),
    0 0 0 1px color-mix(in srgb, var(--pricing-card-accent) 22%, transparent),
    0 0 30px color-mix(in srgb, var(--pricing-card-accent) 18%, transparent);
}

.pricing-shell-spotlight .pricing-card-body {
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    inset 0 -1px 0 rgba(0,0,0,0.08),
    0 12px 24px rgba(15,23,42,0.08);
}

.pricing-card-topline {
  width: 100%;
  height: 1px;
  margin-bottom: 0.72rem;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--pricing-card-accent) 34%, var(--border-hi)), transparent);
}

@keyframes pricing-shell-sheen {
  0% {
    opacity: 0;
    transform: translate3d(-36%, 0, 0) rotate(10deg);
  }
  18% {
    opacity: 1;
  }
  62% {
    opacity: 0.66;
  }
  100% {
    opacity: 0;
    transform: translate3d(34%, 0, 0) rotate(10deg);
  }
}

@keyframes pricing-shell-focus-pulse {
  0% {
    transform: translateY(0);
  }
  28% {
    transform: translateY(-6px);
  }
  56% {
    transform: translateY(-3px);
  }
  100% {
    transform: translateY(-5px);
  }
}

@keyframes pricing-chip-pulse {
  0% {
    transform: translateY(0);
  }
  42% {
    transform: translateY(-3px);
  }
  100% {
    transform: translateY(-2px);
  }
}

@keyframes pricing-card-spotlight-pop {
  0% {
    transform: translateY(0);
  }
  38% {
    transform: translateY(-9px);
  }
  68% {
    transform: translateY(-4px);
  }
  100% {
    transform: translateY(-2px);
  }
}

.pricing-card-head {
  display: flex;
  flex-direction: column;
  min-height: 72px;
}

.pricing-card:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: color-mix(in srgb, var(--pricing-card-accent) 28%, var(--border-hi));
  box-shadow: 0 22px 46px rgba(15,23,42,0.12);
}

.pricing-card:hover .pricing-card-body {
  transform: translateY(-1px);
}

.pricing-card-premium-family {
  --pricing-card-accent: var(--premium-gold-core);
  --pricing-card-accent-soft: rgba(245,180,29,0.2);
  --pricing-card-accent-border: rgba(245,180,29,0.28);
  --pricing-card-accent-light:  var(--premium-gold-top);
  --pricing-card-accent-bright: var(--premium-gold-bright);
  --pricing-card-accent-deep:   var(--premium-gold-deep);
  --pricing-card-accent-ink:    var(--premium-gold-ink);
  --pricing-card-ingot-top:     color-mix(in srgb, var(--pricing-card-accent-light) 84%, white 16%);
  --pricing-card-ingot-face:    color-mix(in srgb, var(--pricing-card-accent-bright) 80%, white 20%);
  --pricing-card-ingot-core:    color-mix(in srgb, var(--pricing-card-accent) 88%, var(--pricing-card-accent-bright) 12%);
  --pricing-card-ingot-deep:    color-mix(in srgb, var(--pricing-card-accent-deep) 82%, var(--pricing-card-accent) 18%);
  --pricing-card-ingot-shadow:  color-mix(in srgb, var(--pricing-card-accent-deep) 62%, black 38%);
  --pricing-card-ingot-rim:     color-mix(in srgb, var(--pricing-card-ingot-top) 34%, white 66%);
  --pricing-card-text-strong:   color-mix(in srgb, var(--pricing-card-accent-ink) 86%, #120800 14%);
  --pricing-card-text-soft:     color-mix(in srgb, var(--pricing-card-accent-ink) 62%, var(--pricing-card-accent-deep) 38%);
  background:
    radial-gradient(circle at 18% 0%, rgba(255,255,255,0.6), transparent 32%),
    radial-gradient(circle at 84% 14%, color-mix(in srgb, var(--pricing-card-ingot-top) 56%, white 44%), transparent 27%),
    radial-gradient(circle at 86% 84%, color-mix(in srgb, var(--pricing-card-ingot-shadow) 24%, transparent), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.34), rgba(255,255,255,0.12) 14%, rgba(255,255,255,0) 30%),
    linear-gradient(132deg, rgba(255,255,255,0.14) 0%, transparent 36%, rgba(0,0,0,0.1) 78%, rgba(0,0,0,0.18) 100%),
    linear-gradient(160deg,
      var(--pricing-card-ingot-top) 0%,
      var(--pricing-card-ingot-face) 16%,
      var(--pricing-card-ingot-core) 42%,
      var(--pricing-card-ingot-deep) 76%,
      var(--pricing-card-ingot-shadow) 100%);
  border-color: color-mix(in srgb, var(--pricing-card-ingot-top) 24%, var(--pricing-card-ingot-shadow) 76%);
  box-shadow:
    0 26px 62px color-mix(in srgb, var(--pricing-card-accent) 18%, transparent),
    0 0 0 1px color-mix(in srgb, var(--pricing-card-ingot-rim) 14%, transparent),
    inset 0 1px 0 rgba(255,255,255,0.34),
    inset 0 -12px 24px rgba(0,0,0,0.16),
    inset 12px 0 18px color-mix(in srgb, var(--pricing-card-ingot-shadow) 10%, transparent);
}

.pricing-card-premium-family::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg,
    color-mix(in srgb, white 76%, var(--pricing-card-ingot-top) 24%),
    var(--pricing-card-ingot-face) 34%,
    var(--pricing-card-ingot-deep) 100%);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--pricing-card-ingot-top) 14%, transparent),
    0 0 24px color-mix(in srgb, var(--pricing-card-accent) 22%, transparent);
}

.pricing-card-premium-family .pricing-card-topline {
  height: 2px;
  background:
    linear-gradient(90deg,
      rgba(255,255,255,0) 0%,
      color-mix(in srgb, var(--pricing-card-ingot-top) 76%, white 24%) 18%,
      rgba(255,255,255,0.96) 50%,
      color-mix(in srgb, var(--pricing-card-ingot-face) 82%, white 18%) 82%,
      rgba(255,255,255,0) 100%);
  filter: drop-shadow(0 0 12px color-mix(in srgb, var(--pricing-card-accent) 18%, transparent));
}

.pricing-card.featured {
  border-color: color-mix(in srgb, var(--pricing-card-ingot-top) 34%, var(--pricing-card-ingot-shadow) 66%);
  box-shadow:
    0 32px 78px color-mix(in srgb, var(--pricing-card-accent) 28%, transparent),
    0 0 0 1px color-mix(in srgb, var(--pricing-card-ingot-rim) 20%, transparent),
    inset 0 1px 0 rgba(255,255,255,0.42),
    inset 0 -16px 30px rgba(0,0,0,0.18);
}

.pricing-card.featured::before {
  content: "";
  position: absolute;
  inset: 0;
  width: auto;
  border-radius: inherit;
  background: linear-gradient(146deg, rgba(255,255,255,0.26), transparent 24%, transparent 72%, rgba(255,255,255,0.08));
  opacity: 0.78;
  box-shadow: none;
  pointer-events: none;
}

.pricing-card.featured::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg,
    transparent 34%,
    color-mix(in srgb, var(--pricing-card-ingot-top) 18%, rgba(255,255,255,0.22)) 46%,
    rgba(255,255,255,0.32) 50%,
    color-mix(in srgb, var(--pricing-card-ingot-face) 24%, rgba(255,255,255,0.18)) 54%,
    transparent 66%);
  transform: translateX(-120%) skewX(-16deg);
  animation: premium-card-sheen 4.8s ease-in-out infinite;
  pointer-events: none;
}

.pricing-card.featured.revealed {
  transform: translateY(-4px) scale(1.01);
}

.pricing-card.featured:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow:
    0 36px 92px color-mix(in srgb, var(--pricing-card-accent) 30%, transparent),
    0 0 0 1px color-mix(in srgb, var(--pricing-card-ingot-rim) 24%, transparent),
    inset 0 1px 0 rgba(255,255,255,0.46),
    inset 0 -16px 32px rgba(0,0,0,0.18);
}

@media (hover: hover) and (pointer: fine) {
  .pricing-card-premium-family:hover,
  .pricing-card-premium-family.featured:hover,
  .pricing-card-premium-family.pricing-card-metal-platinum:hover,
  .pricing-card-premium-family.pricing-card-metal-rosegold:hover,
  .pricing-card-premium-family.pricing-card-metal-titanium:hover {
    transform:
      translate3d(var(--pricing-card-hover-shift-x), -14px, 18px)
      scale(1.018)
      rotateX(calc(var(--pricing-card-hover-rx) + var(--pricing-card-tilt-x)))
      rotateY(calc(var(--pricing-card-hover-ry) + var(--pricing-card-tilt-y)));
    z-index: 4;
    box-shadow:
      0 42px 82px color-mix(in srgb, var(--pricing-card-accent) 24%, transparent),
      0 18px 30px rgba(8,12,24,0.24),
      inset 0 1px 0 rgba(255,255,255,0.22),
      inset 0 -2px 0 rgba(0,0,0,0.34);
  }

  .pricing-card-premium-family:hover .pricing-card-body {
    transform: translateY(var(--pricing-card-face-hover-offset)) translateZ(14px);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.56),
      inset 0 -22px 28px rgba(0,0,0,0.22),
      0 18px 26px rgba(15,23,42,0.18),
      0 8px 14px rgba(8,12,24,0.1);
  }

  .pricing-card-premium-family:hover .pricing-card-body::before {
    animation: pricing-card-body-sheen 820ms ease-out both;
    opacity: 0.82;
  }

  .pricing-card-premium-family:hover .pricing-card-topline {
    transform: translateZ(14px) scaleX(1.03);
  }

  .pricing-card-premium-family:hover .pricing-card-badge {
    transform: translateZ(18px) translateY(-2px);
  }

  .pricing-card-premium-family:hover .pricing-card-tier-icon {
    transform: translateZ(20px) translateY(-2px) scale(1.03);
  }

  .pricing-card-premium-family:hover .pricing-card-head {
    transform: translateZ(10px) translateY(-1px);
  }

  .pricing-card-premium-family:hover .pricing-card-metal-label {
    transform: translateZ(8px);
  }

  .pricing-card-premium-family:hover .pricing-card-price-stack {
    transform: translateZ(18px) translateY(-2px);
  }

  .pricing-card-premium-family:hover .pricing-card-note {
    transform: translateZ(8px);
  }

  .pricing-card-premium-family:hover .pricing-card-features {
    transform: translateZ(10px);
  }

  .pricing-card-premium-family:hover .pricing-card-cta {
    transform: translateZ(20px) translateY(-2px);
  }
}

.pricing-card-badge {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-bottom: 0.55rem;
  padding: 0.18rem 0.5rem;
  min-height: 27px;
  border-radius: 999px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--pricing-card-accent) 10%, transparent), transparent);
  border: 1px solid color-mix(in srgb, var(--pricing-card-accent) 26%, var(--border-hi));
  color: var(--pricing-card-accent);
  font-family: var(--mono);
  font-size: 0.54rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

.pricing-card-premium-family .pricing-card-badge {
  position: relative;
  overflow: hidden;
  padding: 0.22rem 0.7rem;
  font-size: 0.56rem;
  letter-spacing: 0.14em;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.4), rgba(255,255,255,0.08) 50%, rgba(255,255,255,0)),
    linear-gradient(135deg,
      color-mix(in srgb, var(--pricing-card-ingot-top) 72%, white 28%),
      color-mix(in srgb, var(--pricing-card-ingot-core) 76%, var(--pricing-card-ingot-deep) 24%) 62%,
      var(--pricing-card-ingot-deep));
  border-color: color-mix(in srgb, var(--pricing-card-ingot-top) 30%, var(--pricing-card-ingot-shadow) 70%);
  color: color-mix(in srgb, var(--pricing-card-accent-ink) 82%, var(--pricing-card-ingot-shadow) 18%);
  text-shadow:
    0 1px 0 rgba(255,255,255,0.24),
    0 -1px 0 rgba(0,0,0,0.06);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.34),
    inset 0 -1px 0 rgba(0,0,0,0.14),
    0 10px 22px color-mix(in srgb, var(--pricing-card-accent) 18%, transparent);
}

.pricing-card-premium-family .pricing-card-badge::before {
  content: "";
  position: absolute;
  inset: 0 -200%;
  background: linear-gradient(90deg,
    transparent 30%,
    rgba(255,255,255,0.35) 50%,
    transparent 70%);
  animation: badge-sheen 3.2s ease-in-out infinite;
}

@keyframes badge-sheen {
  0%, 100% { transform: translateX(-120%); }
  40%, 60% { transform: translateX(120%); }
}

.pricing-card-metal-platinum {
  --pricing-card-accent:        var(--premium-plat-core);
  --pricing-card-accent-soft:   rgba(150,150,180,0.18);
  --pricing-card-accent-border: rgba(150,150,180,0.26);
  --pricing-card-accent-light:  var(--premium-plat-top);
  --pricing-card-accent-bright: var(--premium-plat-bright);
  --pricing-card-accent-deep:   var(--premium-plat-deep);
  --pricing-card-accent-ink:    var(--premium-plat-ink);
  --pricing-card-ingot-top:     #fff3d8;
  --pricing-card-ingot-face:    #e9eef7;
  --pricing-card-ingot-core:    #c4cede;
  --pricing-card-ingot-deep:    #8b9db9;
  --pricing-card-ingot-shadow:  #4c5d74;
  --pricing-card-ingot-rim:     #f2f4fb;
  --pricing-card-text-strong:   #142033;
  --pricing-card-text-soft:     #41556f;
  border-color: rgba(197,209,228,0.34);
  box-shadow:
    0 28px 68px rgba(112,132,164,0.2),
    0 0 0 1px rgba(230,236,246,0.12),
    inset 0 1px 0 rgba(255,255,255,0.4),
    inset 0 -14px 28px rgba(26,38,58,0.18);
}
.pricing-card-metal-platinum .pricing-card-topline {
  background: linear-gradient(90deg,
    rgba(255,247,226,0) 0%,
    rgba(255,247,226,0.84) 22%,
    rgba(242,246,255,0.98) 48%,
    rgba(207,220,240,0.9) 72%,
    rgba(255,247,226,0) 100%);
  filter: drop-shadow(0 0 12px rgba(167,181,204,0.18));
}
.pricing-card-metal-platinum .pricing-card-badge {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.4), rgba(255,255,255,0.08)),
    linear-gradient(135deg, rgba(255,247,226,0.72), rgba(205,217,236,0.92) 54%, rgba(121,139,168,0.92));
  border-color: rgba(213,224,242,0.56);
  color: #223147;
  text-shadow: 0 1px 0 rgba(255,255,255,0.24);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.3),
    inset 0 -1px 0 rgba(37,52,75,0.12),
    0 12px 24px rgba(145,161,189,0.16);
}
.pricing-card-metal-platinum .pricing-card-tier-icon {
  --pricing-card-icon-ink: #25364f;
  --pricing-card-icon-rim: rgba(232,239,250,0.96);
  --pricing-card-icon-core-top: rgba(255,253,247,0.98);
  --pricing-card-icon-core-bottom: rgba(170,190,218,0.98);
  --pricing-card-icon-gloss: rgba(255,255,255,0.9);
  --pricing-card-icon-halo: rgba(126,150,188,0.38);
}
.pricing-card-metal-platinum .pricing-card-tier-icon::after {
  background: radial-gradient(circle, rgba(126,150,188,0.38), transparent 72%);
}

.pricing-card-metal-platinum::after {
  content: "";
  position: absolute;
  inset: -20%;
  background: linear-gradient(118deg,
    transparent 36%,
    rgba(248,241,223,0.18) 46%,
    rgba(255,255,255,0.22) 50%,
    rgba(220,230,245,0.22) 54%,
    transparent 64%);
  transform: translateX(-130%) skewX(-16deg);
  animation: plat-card-sheen 5.2s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
@keyframes plat-card-sheen {
  0%, 62%, 100% { transform: translateX(-130%) skewX(-16deg); }
  24%, 38%      { transform: translateX(130%)  skewX(-16deg); }
}

.pricing-card-metal-platinum.revealed {
  transform: translateY(-7px) scale(1.015);
}

.pricing-card-metal-platinum:hover {
  transform: translateY(-10px) scale(1.025);
  border-color: rgba(213,224,242,0.52);
  box-shadow:
    0 34px 78px rgba(126,145,176,0.24),
    0 0 0 1px rgba(227,235,247,0.18),
    inset 0 1px 0 rgba(255,255,255,0.42),
    inset 0 -14px 28px rgba(26,38,58,0.18);
}

.pricing-card-metal-rosegold {
  --pricing-card-accent:        var(--premium-rose-core);
  --pricing-card-accent-soft:   rgba(224,80,110,0.22);
  --pricing-card-accent-border: rgba(224,80,110,0.34);
  --pricing-card-accent-light:  var(--premium-rose-top);
  --pricing-card-accent-bright: var(--premium-rose-bright);
  --pricing-card-accent-deep:   var(--premium-rose-deep);
  --pricing-card-accent-ink:    var(--premium-rose-ink);
  --pricing-card-ingot-top:     #ffe7ed;
  --pricing-card-ingot-face:    #f7bcc8;
  --pricing-card-ingot-core:    #e58498;
  --pricing-card-ingot-deep:    #b6516c;
  --pricing-card-ingot-shadow:  #5b2031;
  --pricing-card-ingot-rim:     #ffd9e2;
  --pricing-card-text-strong:   #31111b;
  --pricing-card-text-soft:     #6c3144;
  border-color: rgba(224,80,110,0.38);
  box-shadow:
    0 30px 74px rgba(224,80,110,0.24),
    0 0 0 1px rgba(255,214,224,0.12),
    0 0 64px rgba(224,80,110,0.12),
    inset 0 1px 0 rgba(255,255,255,0.4),
    inset 0 -14px 28px rgba(59,13,27,0.18);
}

.pricing-card-metal-rosegold::after {
  content: "";
  position: absolute;
  inset: -20%;
  background: linear-gradient(118deg,
    transparent 36%,
    rgba(255,221,230,0.24) 46%,
    rgba(255,255,255,0.18) 50%,
    rgba(245,162,186,0.24) 54%,
    transparent 64%);
  transform: translateX(-130%) skewX(-16deg);
  animation: rose-card-sheen 4.4s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
@keyframes rose-card-sheen {
  0%, 58%, 100% { transform: translateX(-130%) skewX(-16deg); }
  22%, 38%      { transform: translateX(130%)  skewX(-16deg); }
}

.pricing-card-metal-rosegold.revealed {
  transform: translateY(-13px) scale(1.025);
}

.pricing-card-metal-rosegold:hover {
  transform: translateY(-18px) scale(1.038);
  border-color: rgba(224,80,110,0.55);
  box-shadow:
    0 42px 96px rgba(224,80,110,0.34),
    0 0 0 1px rgba(255,214,224,0.18),
    0 0 80px rgba(224,80,110,0.16),
    inset 0 1px 0 rgba(255,255,255,0.44),
    inset 0 -14px 28px rgba(59,13,27,0.18);
}

.pricing-card-metal-rosegold .pricing-card-topline {
  background: linear-gradient(90deg,
    rgba(255,214,224,0) 0%,
    rgba(255,214,224,0.8) 24%,
    rgba(255,247,249,1) 50%,
    rgba(245,152,176,0.84) 76%,
    rgba(255,214,224,0) 100%);
  filter: drop-shadow(0 0 14px rgba(224,80,110,0.38));
}

.pricing-card-metal-rosegold .pricing-card-badge {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.42), rgba(255,255,255,0.08)),
    linear-gradient(135deg, rgba(255,233,238,0.92), rgba(244,166,186,0.92) 54%, rgba(192,92,118,0.94));
  border-color: rgba(255,214,224,0.52);
  color: #471424;
  text-shadow: 0 1px 0 rgba(255,255,255,0.2);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.3),
    inset 0 -1px 0 rgba(59,13,27,0.14),
    0 10px 24px rgba(224,80,110,0.18);
}

.pricing-card-metal-rosegold .pricing-card-tier-icon {
  --pricing-card-icon-ink: #fff6fa;
  --pricing-card-icon-rim: rgba(255,204,218,0.94);
  --pricing-card-icon-core-top: #f58aa7;
  --pricing-card-icon-core-bottom: #8f2547;
  --pricing-card-icon-gloss: rgba(255,255,255,0.54);
  --pricing-card-icon-halo: rgba(224,80,110,0.5);
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.36), transparent 30%),
    linear-gradient(180deg, var(--pricing-card-icon-core-top) 0%, var(--pricing-card-icon-core-bottom) 100%);
  text-shadow: 0 1px 2px rgba(67,8,28,0.34);
}
.pricing-card-metal-rosegold .pricing-card-tier-icon::after {
  background: radial-gradient(circle, rgba(224,80,110,0.48), transparent 70%);
  opacity: 0.94;
}

.pricing-card-tier-line {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  min-width: 0;
}

.pricing-card-tier-icon {
  --pricing-card-icon-ink: var(--pricing-card-accent);
  --pricing-card-icon-rim: color-mix(in srgb, var(--pricing-card-accent) 34%, white 66%);
  --pricing-card-icon-core-top: color-mix(in srgb, white 82%, var(--pricing-card-accent) 18%);
  --pricing-card-icon-core-bottom: color-mix(in srgb, var(--pricing-card-accent) 26%, rgba(9,17,31,0.18));
  --pricing-card-icon-gloss: rgba(255,255,255,0.72);
  --pricing-card-icon-halo: color-mix(in srgb, var(--pricing-card-accent) 26%, transparent);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  color: var(--pricing-card-icon-ink);
  background:
    radial-gradient(circle at 26% 20%, rgba(255,255,255,0.84), transparent 34%),
    linear-gradient(180deg, var(--pricing-card-icon-core-top) 0%, var(--pricing-card-icon-core-bottom) 100%);
  border: 1px solid var(--pricing-card-icon-rim);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.46),
    inset 0 -1px 0 rgba(12,18,34,0.12),
    0 12px 26px color-mix(in srgb, var(--pricing-card-accent) 18%, transparent),
    0 0 0 1px color-mix(in srgb, var(--pricing-card-icon-rim) 18%, transparent);
}

.pricing-card-tier-icon::before {
  content: "";
  position: absolute;
  inset: 0.11rem;
  border-radius: inherit;
  background:
    radial-gradient(circle at 36% 24%, var(--pricing-card-icon-gloss), transparent 40%),
    linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0) 46%);
  opacity: 0.92;
  pointer-events: none;
}

.pricing-card-tier-icon::after {
  content: "";
  position: absolute;
  inset: -0.18rem;
  border-radius: inherit;
  background: radial-gradient(circle, var(--pricing-card-icon-halo), transparent 72%);
  opacity: 0.94;
}

.pricing-card-premium-family .pricing-card-tier-icon {
  --pricing-card-icon-ink: color-mix(in srgb, var(--pricing-card-text-strong) 84%, #120800 16%);
  --pricing-card-icon-rim: color-mix(in srgb, var(--pricing-card-ingot-rim) 54%, var(--pricing-card-ingot-shadow) 46%);
  --pricing-card-icon-core-top: color-mix(in srgb, white 82%, var(--pricing-card-ingot-top) 18%);
  --pricing-card-icon-core-bottom: color-mix(in srgb, var(--pricing-card-ingot-face) 76%, var(--pricing-card-ingot-deep) 24%);
  --pricing-card-icon-gloss: rgba(255,255,255,0.86);
  --pricing-card-icon-halo: color-mix(in srgb, var(--pricing-card-accent) 26%, transparent);
  animation: premium-card-icon-drift 5.8s ease-in-out infinite;
}

.pricing-card-premium-family.pricing-card-metal-gold .pricing-card-tier-icon {
  --pricing-card-icon-ink: #2f1702;
  --pricing-card-icon-rim: color-mix(in srgb, var(--plan-premium-bright) 84%, white 16%);
  --pricing-card-icon-core-top: color-mix(in srgb, var(--premium-gold-top) 66%, var(--plan-premium-bright) 34%);
  --pricing-card-icon-core-bottom: var(--plan-premium-deep);
  --pricing-card-icon-gloss: rgba(255,255,255,0.5);
  --pricing-card-icon-halo: color-mix(in srgb, var(--plan-premium-core) 44%, transparent);
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.38), transparent 30%),
    linear-gradient(180deg, var(--pricing-card-icon-core-top) 0%, var(--pricing-card-icon-core-bottom) 100%);
  text-shadow: 0 1px 1px rgba(255,244,194,0.28);
}

.pricing-card-premium-family.pricing-card-metal-gold .pricing-card-tier-icon::before {
  opacity: 0.58;
}

.pricing-card-premium-family.pricing-card-metal-gold .pricing-card-tier-icon::after {
  background: radial-gradient(circle, color-mix(in srgb, var(--plan-premium-core) 40%, transparent), transparent 70%);
}

.pricing-card-premium-family.pricing-card-metal-gold .pricing-card-tier-icon svg {
  width: 0.96rem;
  height: 0.96rem;
}

.pricing-card-premium-family.pricing-card-metal-platinum .pricing-card-tier-icon {
  --pricing-card-icon-ink: #f7fbff;
  --pricing-card-icon-rim: rgba(229,239,252,0.92);
  --pricing-card-icon-core-top: #a9bfdc;
  --pricing-card-icon-core-bottom: #334963;
  --pricing-card-icon-gloss: rgba(255,255,255,0.48);
  --pricing-card-icon-halo: rgba(126,150,188,0.46);
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.4), transparent 30%),
    linear-gradient(180deg, var(--pricing-card-icon-core-top) 0%, var(--pricing-card-icon-core-bottom) 100%);
  text-shadow: 0 1px 2px rgba(10,22,38,0.34);
}

.pricing-card-premium-family.pricing-card-metal-platinum .pricing-card-tier-icon::before {
  opacity: 0.56;
}

.pricing-card-premium-family.pricing-card-metal-platinum .pricing-card-tier-icon::after {
  background: radial-gradient(circle, rgba(126,150,188,0.42), transparent 70%);
}

.pricing-card[data-premium-card-id="free"] .pricing-card-tier-icon {
  --pricing-card-icon-ink: #effff5;
  --pricing-card-icon-rim: color-mix(in srgb, var(--plan-free-bright) 82%, white 18%);
  --pricing-card-icon-core-top: color-mix(in srgb, var(--plan-free-bright) 68%, var(--plan-free-core) 32%);
  --pricing-card-icon-core-bottom: var(--plan-free-deep);
  --pricing-card-icon-gloss: rgba(255,255,255,0.42);
  --pricing-card-icon-halo: color-mix(in srgb, var(--plan-free-core) 36%, transparent);
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.34), transparent 28%),
    linear-gradient(180deg, var(--pricing-card-icon-core-top) 0%, var(--pricing-card-icon-core-bottom) 100%);
  text-shadow: 0 1px 2px rgba(2,56,32,0.36);
}

.pricing-card[data-premium-card-id="free"] .pricing-card-tier-icon::before {
  opacity: 0.54;
}

.pricing-card[data-premium-card-id="free"] .pricing-card-tier-icon::after {
  background: radial-gradient(circle, color-mix(in srgb, var(--plan-free-core) 32%, transparent), transparent 70%);
}

.pricing-icon-bolt svg {
  transform-box: fill-box;
  transform-origin: center;
  animation: icon-bolt-flash 3s ease-in-out infinite;
}
@keyframes icon-bolt-flash {
  0%, 60%, 100% { opacity: 0.92; transform: scale(1);    filter: brightness(1); }
  68%            { opacity: 0.3;  transform: scale(0.88); filter: brightness(1); }
  74%            { opacity: 1;    transform: scale(1.12); filter: brightness(2.2); }
  80%            { opacity: 0.75; transform: scale(1.04); filter: brightness(1.4); }
  88%            { opacity: 1;    transform: scale(1);    filter: brightness(1); }
}

.pricing-icon-crown svg {
  transform-box: fill-box;
  transform-origin: center bottom;
  animation: icon-crown-bob 2.8s ease-in-out infinite;
}
@keyframes icon-crown-bob {
  0%, 100% { transform: translateY(0)    scale(1);    filter: brightness(1); }
  40%       { transform: translateY(-2px) scale(1.04); filter: brightness(1.18); }
  70%       { transform: translateY(-1px) scale(1.02); filter: brightness(1.08); }
}

.pricing-icon-diamond svg {
  transform-box: fill-box;
  transform-origin: center;
  animation: icon-diamond-shimmer 4s ease-in-out infinite;
}
@keyframes icon-diamond-shimmer {
  0%   { transform: rotate(0deg)  scale(1);    filter: brightness(1); }
  18%  { transform: rotate(-5deg) scale(1.02); filter: brightness(1.1); }
  36%  { transform: rotate(0deg)  scale(1);    filter: brightness(1.45); }
  54%  { transform: rotate(5deg)  scale(1.02); filter: brightness(1.1); }
  72%  { transform: rotate(0deg)  scale(1);    filter: brightness(1); }
  100% { transform: rotate(0deg)  scale(1);    filter: brightness(1); }
}

.pricing-card-tier-icon.pricing-icon-diamond svg {
  width: 0.98rem;
  height: 0.98rem;
  transform-box: fill-box;
  transform-origin: center;
  animation: icon-diamond-gleam 4.6s ease-in-out infinite;
}
@keyframes icon-diamond-gleam {
  0%, 62%, 100% { transform: rotate(0deg) scale(1); }
  70%           { transform: rotate(-4deg) scale(1.08); }
  78%           { transform: rotate(3deg) scale(1.02); }
}

.pricing-icon-flame svg {
  transform-box: fill-box;
  transform-origin: center bottom;
  animation: icon-flame-flicker 1.4s ease-in-out infinite;
}
@keyframes icon-flame-flicker {
  0%   { transform: translateY(0) scaleY(1)    scaleX(1)    skewX(0deg);  filter: brightness(1); }
  18%  { transform: translateY(-0.5px) scaleY(1.06) scaleX(0.96) skewX(-1.5deg); filter: brightness(1.12); }
  36%  { transform: translateY(0) scaleY(0.96) scaleX(1.04) skewX(1deg); filter: brightness(0.96); }
  55%  { transform: translateY(-0.7px) scaleY(1.08) scaleX(0.94) skewX(1.5deg);  filter: brightness(1.16); }
  74%  { transform: translateY(-0.2px) scaleY(0.97) scaleX(1.03) skewX(-1deg); filter: brightness(1.04); }
  100% { transform: scaleY(1)    scaleX(1)    skewX(0deg);  filter: brightness(1); }
}

.pricing-card-tier-icon svg {
  position: relative;
  z-index: 1;
  width: 0.9rem;
  height: 0.9rem;
  filter:
    drop-shadow(0 1px 0 rgba(255,255,255,0.18))
    drop-shadow(0 8px 14px color-mix(in srgb, var(--pricing-card-icon-halo) 42%, transparent));
}

.pricing-card-tier-icon.pricing-icon-flame svg {
  width: 1rem;
  height: 1rem;
}

.pricing-card-tier-icon.pricing-icon-apex svg {
  width: 1rem;
  height: 1rem;
  transform-box: fill-box;
  transform-origin: center bottom;
  animation: icon-apex-pulse 3.6s ease-in-out infinite;
}

@keyframes icon-apex-pulse {
  0%, 62%, 100% { transform: translateY(0) scale(1); filter: brightness(1); }
  70%           { transform: translateY(-1px) scale(1.08); filter: brightness(1.22); }
  82%           { transform: translateY(-0.25px) scale(1.02); filter: brightness(1.08); }
}

.pricing-card-badge-spacer {
  visibility: hidden;
}

.pricing-card-tier {
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: auto;
  margin-bottom: 0;
}

.pricing-card-metal-label {
  display: block;
  margin-top: 0.18rem;
  font-size: 0.48rem;
  font-family: var(--mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: color-mix(in srgb, var(--pricing-card-accent-bright) 70%, transparent);
  opacity: 0.82;
}

.pricing-card-premium-family .pricing-card-metal-label {
  color: color-mix(in srgb, var(--pricing-card-text-soft) 72%, var(--pricing-card-ingot-top) 28%);
  opacity: 0.92;
}

.pricing-card-price-stack {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 92px;
  margin-top: 0.62rem;
}

.pricing-card-premium-family .pricing-card-tier {
  color: var(--pricing-card-text-strong);
  text-shadow:
    0 1px 0 rgba(255,255,255,0.22),
    0 10px 20px color-mix(in srgb, var(--pricing-card-accent) 10%, transparent);
}

.pricing-card-premium-family .pricing-card-price-stack {
  margin-top: 0.72rem;
}

.pricing-card-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.38rem;
}

.pricing-card-currency {
  color: color-mix(in srgb, var(--pricing-card-accent) 58%, var(--text-dim));
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
}

.pricing-card-price {
  font-size: 2.15rem;
  line-height: 1;
  letter-spacing: -0.06em;
  color: color-mix(in srgb, var(--pricing-card-accent) 84%, var(--text) 16%);
}

.pricing-card-billing {
  margin-top: 0.14rem;
  color: color-mix(in srgb, var(--pricing-card-accent) 44%, var(--text-dim));
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  min-height: 1.9rem;
}

.pricing-card-premium-family .pricing-card-currency {
  color: color-mix(in srgb, var(--pricing-card-text-soft) 72%, var(--pricing-card-ingot-top) 28%);
}

.pricing-card-premium-family .pricing-card-price {
  color: color-mix(in srgb, var(--pricing-card-text-strong) 88%, var(--pricing-card-ingot-top) 12%);
  text-shadow:
    0 1px 0 rgba(255,255,255,0.26),
    0 12px 26px color-mix(in srgb, var(--pricing-card-accent) 18%, transparent);
}

.pricing-card-premium-family .pricing-card-billing {
  color: color-mix(in srgb, var(--pricing-card-text-soft) 76%, var(--pricing-card-ingot-top) 24%);
}

.pricing-card-note {
  margin-top: 0.55rem;
  color: var(--text-muted);
  font-size: 0.73rem;
  line-height: 1.5;
  min-height: 3.35rem;
}

.pricing-card-premium-family .pricing-card-note {
  color: color-mix(in srgb, var(--pricing-card-text-soft) 78%, var(--text-muted) 22%);
}

.pricing-card-features {
  margin: 0.8rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
  flex: 1;
}

.pricing-card-features li {
  position: relative;
  padding-left: 0.92rem;
  color: var(--text-muted);
  font-size: 0.72rem;
  line-height: 1.46;
}

.pricing-card-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42rem;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--pricing-card-accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--pricing-card-accent) 18%, transparent);
}

.pricing-card-premium-family .pricing-card-features li {
  color: color-mix(in srgb, var(--pricing-card-text-strong) 82%, var(--pricing-card-ingot-top) 18%);
}

.pricing-card-premium-family .pricing-card-features li::before {
  background: color-mix(in srgb, var(--pricing-card-ingot-top) 36%, var(--pricing-card-accent-bright) 64%);
  box-shadow:
    0 0 0 4px var(--pricing-card-accent-soft),
    0 0 10px color-mix(in srgb, var(--pricing-card-accent) 18%, transparent);
}

.pricing-card-cta {
  width: 100%;
  min-height: 42px;
  margin-top: 0.95rem;
  justify-content: center;
  font-weight: 700;
  border-radius: 999px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.pricing-card-premium-family .pricing-card-cta {
  border: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0) 40%),
    linear-gradient(180deg,
      color-mix(in srgb, var(--pricing-card-accent-bright) 88%, white 12%) 0%,
      var(--pricing-card-accent) 56%,
      color-mix(in srgb, var(--pricing-card-accent-deep) 94%, black 6%) 100%);
  color: var(--pricing-card-accent-ink);
  box-shadow:
    0 12px 24px color-mix(in srgb, var(--pricing-card-accent) 22%, transparent),
    inset 0 1px 0 rgba(255,255,255,0.2),
    inset 0 0 0 1px color-mix(in srgb, white 10%, var(--pricing-card-accent-deep) 90%);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.pricing-card-premium-family .pricing-card-cta:hover:not(:disabled) {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0) 40%),
    linear-gradient(180deg,
      color-mix(in srgb, var(--pricing-card-accent-bright) 92%, white 8%) 0%,
      color-mix(in srgb, var(--pricing-card-accent-bright) 64%, var(--pricing-card-accent) 36%) 56%,
      var(--pricing-card-accent) 100%);
  box-shadow:
    0 16px 30px color-mix(in srgb, var(--pricing-card-accent) 26%, transparent),
    inset 0 1px 0 rgba(255,255,255,0.24),
    inset 0 0 0 1px color-mix(in srgb, white 14%, var(--pricing-card-accent-deep) 86%);
}

.pricing-card-premium-family {
  --pricing-card-hover-rx: 8deg;
  --pricing-card-hover-ry: 0deg;
  --pricing-card-tilt-x: 0deg;
  --pricing-card-tilt-y: 0deg;
  --pricing-card-hover-shift-x: 0px;
  --pricing-card-face-offset: -6px;
  --pricing-card-face-hover-offset: -10px;
  padding: 0.34rem 0.36rem 0.58rem;
  border-radius: 26px;
  overflow: hidden;
  background:
    linear-gradient(118deg, transparent 0%, rgba(255,255,255,0.08) 42%, color-mix(in srgb, var(--pricing-card-ingot-rim) 16%, transparent) 50%, transparent 58%),
    linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0) 22%),
    linear-gradient(165deg,
      color-mix(in srgb, var(--pricing-card-ingot-rim) 18%, white 82%) 0%,
      color-mix(in srgb, var(--pricing-card-ingot-face) 8%, var(--pricing-card-ingot-shadow) 92%) 18%,
      color-mix(in srgb, var(--pricing-card-ingot-deep) 24%, var(--pricing-card-ingot-shadow) 76%) 52%,
      color-mix(in srgb, var(--pricing-card-ingot-shadow) 94%, black 6%) 100%);
  border-color: color-mix(in srgb, var(--pricing-card-ingot-rim) 18%, var(--pricing-card-ingot-shadow) 82%);
  box-shadow:
    0 28px 58px color-mix(in srgb, var(--pricing-card-accent) 18%, transparent),
    0 14px 22px rgba(8,12,24,0.16),
    inset 0 1px 0 rgba(255,255,255,0.16),
    inset 0 -2px 0 rgba(0,0,0,0.28),
    inset 0 -16px 24px rgba(0,0,0,0.12);
  transform-origin: 50% 94%;
  will-change: transform, box-shadow;
}

.pricing-card-premium-family::before {
  content: "";
  position: absolute;
  inset: 0;
  width: auto;
  border-radius: inherit;
  background:
    linear-gradient(145deg,
      rgba(255,255,255,0.2) 0%,
      rgba(255,255,255,0.08) 16%,
      rgba(255,255,255,0) 28%,
      rgba(0,0,0,0) 70%,
      rgba(0,0,0,0.18) 100%),
    linear-gradient(90deg,
      rgba(255,255,255,0.12) 0%,
      rgba(255,255,255,0) 20%,
      rgba(0,0,0,0) 80%,
      rgba(0,0,0,0.14) 100%);
  box-shadow: none;
  opacity: 0.96;
  pointer-events: none;
}

.pricing-card-premium-family::after {
  content: "";
  position: absolute;
  left: 0.52rem;
  right: 0.52rem;
  bottom: 0.18rem;
  height: 0.5rem;
  border-radius: 0 0 16px 16px / 0 0 12px 12px;
  background:
    linear-gradient(180deg,
      color-mix(in srgb, var(--pricing-card-ingot-face) 6%, var(--pricing-card-ingot-shadow) 94%) 0%,
      color-mix(in srgb, var(--pricing-card-ingot-deep) 22%, var(--pricing-card-ingot-shadow) 78%) 38%,
      color-mix(in srgb, var(--pricing-card-ingot-shadow) 88%, black 12%) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 8px 12px rgba(8,12,24,0.16);
  opacity: 0.78;
  pointer-events: none;
}

.pricing-card-premium-family .pricing-card-body {
  border-radius: 20px;
  background:
    linear-gradient(136deg, rgba(255,255,255,0.14), transparent 22%, transparent 70%, rgba(0,0,0,0.12)),
    linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0.05) 12%, rgba(255,255,255,0) 28%),
    linear-gradient(145deg,
      color-mix(in srgb, var(--pricing-card-ingot-top) 56%, var(--pricing-card-ingot-face) 44%) 0%,
      var(--pricing-card-ingot-face) 16%,
      var(--pricing-card-ingot-core) 44%,
      var(--pricing-card-ingot-deep) 78%,
      var(--pricing-card-ingot-shadow) 100%);
  border: 1px solid color-mix(in srgb, var(--pricing-card-ingot-rim) 24%, var(--pricing-card-ingot-shadow) 76%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.34),
    inset 0 -18px 24px rgba(0,0,0,0.18),
    0 12px 18px rgba(15,23,42,0.12),
    0 6px 10px rgba(8,12,24,0.06);
  transform: translateY(var(--pricing-card-face-offset));
  transition:
    transform 620ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color var(--t-slow),
    box-shadow var(--t-slow);
}

.pricing-card-premium-family .pricing-card-body::before,
.pricing-card-premium-family .pricing-card-body::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
}

.pricing-card-premium-family .pricing-card-body::before {
  background:
    linear-gradient(112deg,
      transparent 0%,
      transparent 36%,
      color-mix(in srgb, var(--pricing-card-ingot-top) 18%, rgba(255,255,255,0.3)) 46%,
      rgba(255,255,255,0.28) 50%,
      color-mix(in srgb, var(--pricing-card-ingot-face) 16%, rgba(255,255,255,0.18)) 54%,
      transparent 64%,
      transparent 100%);
  opacity: 0;
  transform: translateX(-128%) skewX(-14deg);
}

.pricing-card-premium-family .pricing-card-body::after {
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.1),
    inset 18px 12px 20px rgba(255,255,255,0.06),
    inset -18px -18px 22px color-mix(in srgb, var(--pricing-card-ingot-shadow) 16%, transparent),
    inset 0 -3px 0 rgba(0,0,0,0.1);
}

@keyframes pricing-card-body-sheen {
  0%   { transform: translateX(-128%) skewX(-14deg); }
  100% { transform: translateX(128%) skewX(-14deg); }
}

.pricing-card-premium-family .pricing-card-head {
  min-height: 78px;
  padding-top: 0.06rem;
  transform: translateZ(0);
  transition: transform 620ms cubic-bezier(0.16, 1, 0.3, 1);
}

.pricing-card-premium-family .pricing-card-price-stack {
  margin-top: 0.86rem;
  transform: translateZ(0);
  transition: transform 620ms cubic-bezier(0.16, 1, 0.3, 1);
}

.pricing-card-premium-family .pricing-card-cta {
  margin-top: 1.02rem;
  transform: translateZ(0);
  transition: transform 620ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 320ms var(--ease), border-color 320ms var(--ease);
}

.pricing-card-premium-family .pricing-card-topline {
  transform: translateZ(0);
  transition: transform 620ms cubic-bezier(0.16, 1, 0.3, 1), filter 320ms var(--ease);
}

.pricing-card-premium-family .pricing-card-badge {
  transform: translateZ(0);
  transition: transform 620ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 320ms var(--ease), border-color 320ms var(--ease);
}

.pricing-card-premium-family .pricing-card-tier-icon {
  transform: translateZ(0);
  transition: transform 620ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 320ms var(--ease), border-color 320ms var(--ease);
}

.pricing-card-premium-family .pricing-card-metal-label {
  transform: translateZ(0);
  transition: transform 620ms cubic-bezier(0.16, 1, 0.3, 1), color 320ms var(--ease);
}

.pricing-card-premium-family .pricing-card-note {
  transform: translateZ(0);
  transition: transform 620ms cubic-bezier(0.16, 1, 0.3, 1), color 320ms var(--ease);
}

.pricing-card-premium-family .pricing-card-features {
  transform: translateZ(0);
  transition: transform 620ms cubic-bezier(0.16, 1, 0.3, 1);
}

.pricing-card-premium-family[data-premium-card-id="premium"] {
  --pricing-card-hover-ry: -3deg;
}

.pricing-card-premium-family[data-premium-card-id="bundle"] {
  --pricing-card-hover-ry: 0deg;
}

.pricing-card-premium-family[data-premium-card-id="pro"] {
  --pricing-card-hover-ry: 3deg;
}

.pricing-card-metal-titanium {
  --pricing-card-accent:        var(--plan-pro-core);
  --pricing-card-accent-soft:   color-mix(in srgb, var(--plan-pro-core) 20%, transparent);
  --pricing-card-accent-border: color-mix(in srgb, var(--plan-pro-bright) 34%, transparent);
  --pricing-card-accent-light:  #d8f8ff;
  --pricing-card-accent-bright: var(--plan-pro-bright);
  --pricing-card-accent-deep:   var(--plan-pro-deep);
  --pricing-card-accent-ink:    #041018;
  --pricing-card-ingot-top:     #edf7ff;
  --pricing-card-ingot-face:    #324155;
  --pricing-card-ingot-core:    #151f2d;
  --pricing-card-ingot-deep:    #08101b;
  --pricing-card-ingot-shadow:  #030711;
  --pricing-card-ingot-rim:     #98e9ff;
  --pricing-card-text-strong:   #f4fbff;
  --pricing-card-text-soft:     #b0c1d4;
  background:
    radial-gradient(ellipse at 78% 8%, rgba(154,240,255,0.14), transparent 20%),
    radial-gradient(ellipse at 88% 86%, rgba(3,8,16,0.94), transparent 36%),
    linear-gradient(118deg, transparent 0%, rgba(255,255,255,0.08) 42%, rgba(111,210,238,0.08) 49%, transparent 58%),
    linear-gradient(135deg, rgba(255,255,255,0.08), transparent 34%, rgba(64,217,255,0.06) 56%, rgba(0,0,0,0.34) 100%),
    linear-gradient(160deg, #243246 0%, #121b29 38%, #090f19 74%, #030711 100%);
  border-color: rgba(129,230,255,0.32);
  box-shadow:
    0 30px 74px rgba(8,16,28,0.36),
    0 0 0 1px rgba(146,232,255,0.14),
    0 0 64px rgba(64,217,255,0.12),
    inset 0 1px 0 rgba(255,255,255,0.2),
    inset 0 -14px 28px rgba(0,0,0,0.38);
}

.pricing-card-premium-family.pricing-card-metal-titanium .pricing-card-body {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.055), transparent 20%),
    linear-gradient(124deg, rgba(154,240,255,0.08), transparent 38%, rgba(255,255,255,0.04) 48%, transparent 58%),
    linear-gradient(160deg, #172334 0%, #0c1421 58%, #050914 100%);
  border-color: rgba(129,230,255,0.16);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    inset 0 -1px 0 rgba(0,0,0,0.34);
}

.pricing-card-premium-family.pricing-card-metal-titanium .pricing-card-body::before {
  background:
    linear-gradient(112deg,
      transparent 0%,
      transparent 38%,
      rgba(154,240,255,0.14) 47%,
      rgba(255,255,255,0.2) 50%,
      rgba(64,217,255,0.12) 54%,
      transparent 64%,
      transparent 100%);
  opacity: 0;
  transform: translateX(-128%) skewX(-14deg);
}

.pricing-card-premium-family.pricing-card-metal-titanium:hover .pricing-card-body::before {
  animation: pricing-card-body-sheen 820ms ease-out both;
  opacity: 0.72;
}

.pricing-card-premium-family.pricing-card-metal-titanium .pricing-card-body::after {
  box-shadow:
    inset 0 0 0 1px rgba(154,240,255,0.08),
    inset 12px 10px 18px rgba(255,255,255,0.035),
    inset -18px -18px 22px rgba(0,0,0,0.22),
    inset 0 -3px 0 rgba(0,0,0,0.16);
}

.pricing-card-metal-titanium::after {
  content: "";
  position: absolute;
  inset: -20%;
  background: linear-gradient(118deg,
    transparent 36%,
    rgba(123,231,255,0.1) 47%,
    rgba(255,255,255,0.11) 50%,
    rgba(86,163,196,0.1) 53%,
    transparent 64%);
  transform: translateX(-130%) skewX(-16deg);
  animation: titanium-card-sheen 5s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes titanium-card-sheen {
  0%, 60%, 100% { transform: translateX(-130%) skewX(-16deg); }
  22%, 38%      { transform: translateX(130%)  skewX(-16deg); }
}

.pricing-card-metal-titanium.revealed {
  transform: translateY(-12px) scale(1.02);
}

.pricing-card-metal-titanium:hover {
  transform: translateY(-16px) scale(1.03);
  border-color: rgba(145,236,255,0.46);
  box-shadow:
    0 42px 92px rgba(8,16,28,0.42),
    0 0 0 1px rgba(145,236,255,0.2),
    0 0 82px rgba(64,217,255,0.18),
    inset 0 1px 0 rgba(255,255,255,0.24),
    inset 0 -14px 30px rgba(0,0,0,0.4);
}

.pricing-card-metal-titanium .pricing-card-topline {
  background: linear-gradient(90deg,
    rgba(64,217,255,0) 0%,
    rgba(64,217,255,0.68) 24%,
    rgba(243,253,255,0.96) 50%,
    rgba(93,154,190,0.68) 76%,
    rgba(64,217,255,0) 100%);
  filter: drop-shadow(0 0 14px rgba(64,217,255,0.28));
}

.pricing-card-metal-titanium .pricing-card-badge {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.22), rgba(255,255,255,0.04)),
    linear-gradient(135deg, rgba(188,244,255,0.22), rgba(64,217,255,0.14) 54%, rgba(5,18,31,0.86));
  border-color: rgba(128,231,255,0.34);
  color: #d9f9ff;
  text-shadow: 0 1px 0 rgba(0,0,0,0.24);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.22),
    inset 0 -1px 0 rgba(0,0,0,0.28),
    0 10px 24px rgba(64,217,255,0.12);
}

.pricing-card-metal-titanium .pricing-card-tier-icon {
  --pricing-card-icon-ink: #f6fdff;
  --pricing-card-icon-rim: color-mix(in srgb, var(--plan-pro-bright) 86%, white 14%);
  --pricing-card-icon-core-top: color-mix(in srgb, var(--plan-pro-bright) 54%, var(--plan-pro-core) 46%);
  --pricing-card-icon-core-bottom: color-mix(in srgb, var(--plan-pro-deep) 68%, #11263c 32%);
  --pricing-card-icon-gloss: rgba(255,255,255,0.46);
  --pricing-card-icon-halo: color-mix(in srgb, var(--plan-pro-core) 52%, transparent);
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.36), transparent 30%),
    linear-gradient(180deg, var(--pricing-card-icon-core-top) 0%, var(--pricing-card-icon-core-bottom) 100%);
  text-shadow: 0 1px 2px rgba(3,10,18,0.38);
}

.pricing-card-metal-titanium .pricing-card-tier-icon::after {
  background: radial-gradient(circle, color-mix(in srgb, var(--plan-pro-core) 48%, transparent), transparent 70%);
  opacity: 0.96;
}

:root:not([data-theme]) .pricing-card-premium-family {
  --pricing-card-ingot-top: #fff6d8;
  --pricing-card-ingot-face: #ffe08a;
  --pricing-card-ingot-core: #f3ba33;
  --pricing-card-ingot-deep: #cc8a14;
  --pricing-card-ingot-shadow: #87530e;
  --pricing-card-ingot-rim: #fff0bf;
  --pricing-card-text-strong: #261405;
  --pricing-card-text-soft: #6c4710;
  box-shadow:
    0 24px 54px rgba(212,131,16,0.12),
    0 0 0 1px rgba(255,225,151,0.14),
    inset 0 1px 0 rgba(255,255,255,0.48),
    inset 0 -12px 24px rgba(130,79,8,0.1);
}

:root:not([data-theme]) .pricing-card-premium-family .pricing-card-topline {
  filter: drop-shadow(0 0 6px rgba(245,180,29,0.10));
}

:root:not([data-theme]) .pricing-card-premium-family .pricing-card-badge {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.72), rgba(255,255,255,0.18)),
    linear-gradient(135deg, rgba(255,224,125,0.28), rgba(245,180,29,0.16));
  border-color: rgba(212,131,16,0.28);
  color: #b8790c;
  text-shadow: none;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.62),
    0 8px 18px rgba(245,180,29,0.08);
}
:root:not([data-theme]) .pricing-card-metal-platinum .pricing-card-badge {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.72), rgba(255,255,255,0.18)),
    linear-gradient(135deg, rgba(210,210,235,0.38), rgba(150,150,180,0.20));
  border-color: rgba(120,120,155,0.32);
  color: #505070;
  text-shadow: none;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.62),
    0 8px 18px rgba(150,150,180,0.08);
}
:root:not([data-theme]) .pricing-card-metal-rosegold .pricing-card-badge {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.72), rgba(255,255,255,0.18)),
    linear-gradient(135deg, rgba(245,152,176,0.36), rgba(224,80,110,0.18));
  border-color: rgba(180,60,90,0.30);
  color: #a0304a;
  text-shadow: none;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.62),
    0 8px 18px rgba(224,80,110,0.08);
}

:root:not([data-theme]) .pricing-card-premium-family .pricing-card-tier {
  color: #221208;
}

:root:not([data-theme]) .pricing-card-premium-family .pricing-card-currency {
  color: #b8790c;
}

:root:not([data-theme]) .pricing-card-premium-family .pricing-card-price {
  color: #f0aa0d;
  text-shadow: 0 8px 18px rgba(245,180,29,0.10);
}

:root:not([data-theme]) .pricing-card-premium-family .pricing-card-billing {
  color: color-mix(in srgb, #8f5d08 62%, var(--text-muted) 38%);
}

:root:not([data-theme]) .pricing-card-premium-family .pricing-card-note {
  color: color-mix(in srgb, #6b4f17 20%, var(--text-muted) 80%);
}

:root:not([data-theme]) .pricing-card-premium-family .pricing-card-features li {
  color: color-mix(in srgb, #6b4f17 18%, var(--text-muted) 82%);
}

:root:not([data-theme]) .pricing-card-premium-family .pricing-card-features li::before {
  box-shadow:
    0 0 0 4px rgba(245,180,29,0.14),
    0 0 8px rgba(245,180,29,0.08);
}

:root:not([data-theme]) .pricing-card-metal-platinum {
  --pricing-card-ingot-top: #fff7e4;
  --pricing-card-ingot-face: #edf3fb;
  --pricing-card-ingot-core: #cfd9e8;
  --pricing-card-ingot-deep: #96a8c2;
  --pricing-card-ingot-shadow: #61748f;
  --pricing-card-ingot-rim: #f5f8fc;
  --pricing-card-text-strong: #1d2b3d;
  --pricing-card-text-soft: #5b6f89;
  box-shadow:
    0 24px 54px rgba(147,159,183,0.14),
    0 0 0 1px rgba(235,240,248,0.12),
    inset 0 1px 0 rgba(255,255,255,0.5),
    inset 0 -12px 24px rgba(96,116,143,0.1);
}

:root:not([data-theme]) .pricing-card-metal-platinum .pricing-card-topline {
  background: linear-gradient(90deg,
    rgba(255,247,226,0)   0%,
    rgba(255,247,226,0.88) 20%,
    rgba(221,230,242,0.9) 48%,
    rgba(209,188,141,0.46) 70%,
    rgba(255,247,226,0) 100%);
  filter: drop-shadow(0 0 8px rgba(186,192,210,0.12));
}

:root:not([data-theme]) .pricing-card-metal-platinum .pricing-card-tier {
  color: #1e2d43;
}

:root:not([data-theme]) .pricing-card-metal-platinum .pricing-card-metal-label {
  color: color-mix(in srgb, #8d9bb0 74%, #b49a62 26%);
  opacity: 0.92;
}

:root:not([data-theme]) .pricing-card-metal-platinum .pricing-card-currency {
  color: #7b8faa;
}

:root:not([data-theme]) .pricing-card-metal-platinum .pricing-card-price {
  color: color-mix(in srgb, #8fa4c2 78%, #e6d2a2 22%);
  text-shadow: 0 8px 18px rgba(170,184,205,0.08);
}

:root:not([data-theme]) .pricing-card-metal-platinum .pricing-card-billing {
  color: color-mix(in srgb, #6b7f98 66%, var(--text-muted) 34%);
}

:root:not([data-theme]) .pricing-card-metal-platinum .pricing-card-note {
  color: color-mix(in srgb, #53667f 18%, var(--text-muted) 82%);
}

:root:not([data-theme]) .pricing-card-metal-platinum .pricing-card-features li {
  color: color-mix(in srgb, #4b617c 16%, var(--text-muted) 84%);
}

:root:not([data-theme]) .pricing-card-metal-platinum .pricing-card-features li::before {
  box-shadow:
    0 0 0 4px rgba(185,199,219,0.12),
    0 0 8px rgba(185,199,219,0.08);
}

:root:not([data-theme]) .pricing-card-metal-platinum .pricing-card-cta {
  border: none;
  background: linear-gradient(180deg, #fdfefe 0%, #e8eef7 54%, #c7d1df 100%);
  color: #1b2738;
  box-shadow: 0 8px 18px rgba(176,188,206,0.12);
}

:root:not([data-theme]) .pricing-card-metal-platinum .pricing-card-cta:hover:not(:disabled) {
  border: none;
  background: linear-gradient(180deg, #edf4f7 0%, #d9e5ed 54%, #c1d2df 100%);
  box-shadow: 0 10px 22px rgba(176,188,206,0.14);
}

:root:not([data-theme]) .pricing-card-metal-rosegold {
  --pricing-card-ingot-top: #fff0f3;
  --pricing-card-ingot-face: #f8c8d3;
  --pricing-card-ingot-core: #ea97aa;
  --pricing-card-ingot-deep: #c66480;
  --pricing-card-ingot-shadow: #7f3348;
  --pricing-card-ingot-rim: #ffe4ea;
  --pricing-card-text-strong: #44111f;
  --pricing-card-text-soft: #8e3e55;
  box-shadow:
    0 26px 58px rgba(222,116,145,0.14),
    0 0 0 1px rgba(250,210,221,0.12),
    inset 0 1px 0 rgba(255,255,255,0.5),
    inset 0 -12px 24px rgba(140,63,84,0.1);
}

:root:not([data-theme]) .pricing-card-metal-rosegold .pricing-card-topline {
  background: linear-gradient(90deg,
    rgba(255,214,224,0)   0%,
    rgba(255,214,224,0.76) 28%,
    rgba(255,244,246,0.96) 50%,
    rgba(245,152,176,0.76) 72%,
    rgba(255,214,224,0) 100%);
  filter: drop-shadow(0 0 8px rgba(224,80,110,0.14));
}

:root:not([data-theme]) .pricing-card-metal-rosegold .pricing-card-tier {
  color: #3d1020;
}

:root:not([data-theme]) .pricing-card-metal-rosegold .pricing-card-metal-label {
  color: color-mix(in srgb, #b14b64 84%, #ffd6e0 16%);
  opacity: 0.94;
}

:root:not([data-theme]) .pricing-card-metal-rosegold .pricing-card-currency {
  color: #b15069;
}

:root:not([data-theme]) .pricing-card-metal-rosegold .pricing-card-price {
  color: #e46a89;
  text-shadow: 0 8px 18px rgba(224,80,110,0.12);
}

:root:not([data-theme]) .pricing-card-metal-rosegold .pricing-card-billing {
  color: color-mix(in srgb, #8d334b 66%, var(--text-muted) 34%);
}

:root:not([data-theme]) .pricing-card-metal-rosegold .pricing-card-note {
  color: color-mix(in srgb, #6b3042 18%, var(--text-muted) 82%);
}

:root:not([data-theme]) .pricing-card-metal-rosegold .pricing-card-features li {
  color: color-mix(in srgb, #6b3042 16%, var(--text-muted) 84%);
}

:root:not([data-theme]) .pricing-card-metal-rosegold .pricing-card-features li::before {
  box-shadow:
    0 0 0 4px rgba(236,141,166,0.12),
    0 0 8px rgba(224,80,110,0.08);
}

:root:not([data-theme]) .pricing-card-metal-rosegold .pricing-card-cta {
  border: none;
  background: linear-gradient(180deg, #ffd7e2 0%, #f49ab2 56%, #dc6484 100%);
  color: #3a0e1b;
  box-shadow: 0 8px 18px rgba(224,80,110,0.12);
}

:root:not([data-theme]) .pricing-card-metal-rosegold .pricing-card-cta:hover:not(:disabled) {
  border: none;
  background: linear-gradient(180deg, #ffe1e8 0%, #f8aac0 56%, #e77494 100%);
  box-shadow: 0 10px 22px rgba(224,80,110,0.14);
}

:root:not([data-theme]) .pricing-card-metal-titanium {
  --pricing-card-accent: #39d7ff;
  --pricing-card-accent-soft: rgba(57,215,255,0.2);
  --pricing-card-accent-border: rgba(126,231,255,0.34);
  --pricing-card-accent-light: #d8f8ff;
  --pricing-card-accent-bright: #8cebff;
  --pricing-card-accent-deep: #117fa3;
  --pricing-card-accent-ink: #041018;
  --pricing-card-ingot-top: #edf7ff;
  --pricing-card-ingot-face: #324155;
  --pricing-card-ingot-core: #151f2d;
  --pricing-card-ingot-deep: #08101b;
  --pricing-card-ingot-shadow: #030711;
  --pricing-card-ingot-rim: #98e9ff;
  --pricing-card-text-strong: #f4fbff;
  --pricing-card-text-soft: #b0c1d4;
  background:
    radial-gradient(ellipse at 78% 8%, rgba(154,240,255,0.14), transparent 20%),
    radial-gradient(ellipse at 88% 86%, rgba(3,8,16,0.94), transparent 36%),
    linear-gradient(118deg, transparent 0%, rgba(255,255,255,0.08) 42%, rgba(111,210,238,0.08) 49%, transparent 58%),
    linear-gradient(135deg, rgba(255,255,255,0.08), transparent 34%, rgba(64,217,255,0.06) 56%, rgba(0,0,0,0.34) 100%),
    linear-gradient(160deg, #243246 0%, #121b29 38%, #090f19 74%, #030711 100%);
  box-shadow:
    0 30px 74px rgba(8,16,28,0.34),
    0 0 0 1px rgba(146,232,255,0.14),
    0 0 64px rgba(64,217,255,0.12),
    inset 0 1px 0 rgba(255,255,255,0.2),
    inset 0 -14px 28px rgba(0,0,0,0.38);
}

:root:not([data-theme]) .pricing-card-premium-family.pricing-card-metal-titanium .pricing-card-body {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.055), transparent 20%),
    linear-gradient(124deg, rgba(154,240,255,0.08), transparent 38%, rgba(255,255,255,0.04) 48%, transparent 58%),
    linear-gradient(160deg, #172334 0%, #0c1421 58%, #050914 100%);
  border-color: rgba(129,230,255,0.16);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    inset 0 -1px 0 rgba(0,0,0,0.34);
}

:root:not([data-theme]) .pricing-card-premium-family.pricing-card-metal-titanium .pricing-card-body::before {
  background:
    linear-gradient(112deg,
      transparent 0%,
      transparent 38%,
      rgba(154,240,255,0.14) 47%,
      rgba(255,255,255,0.2) 50%,
      rgba(64,217,255,0.12) 54%,
      transparent 64%,
      transparent 100%);
  opacity: 0;
  transform: translateX(-128%) skewX(-14deg);
}

:root:not([data-theme]) .pricing-card-premium-family.pricing-card-metal-titanium:hover .pricing-card-body::before {
  animation: pricing-card-body-sheen 820ms ease-out both;
  opacity: 0.72;
}

:root:not([data-theme]) .pricing-card-premium-family.pricing-card-metal-titanium .pricing-card-body::after {
  box-shadow:
    inset 0 0 0 1px rgba(154,240,255,0.08),
    inset 12px 10px 18px rgba(255,255,255,0.035),
    inset -18px -18px 22px rgba(0,0,0,0.22),
    inset 0 -3px 0 rgba(0,0,0,0.16);
}

:root:not([data-theme]) .pricing-card-metal-titanium .pricing-card-badge {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.22), rgba(255,255,255,0.04)),
    linear-gradient(135deg, rgba(188,244,255,0.22), rgba(64,217,255,0.14) 54%, rgba(5,18,31,0.86));
  border-color: rgba(128,231,255,0.34);
  color: #d9f9ff;
  text-shadow: 0 1px 0 rgba(0,0,0,0.24);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.22),
    inset 0 -1px 0 rgba(0,0,0,0.28),
    0 10px 24px rgba(64,217,255,0.12);
}

:root:not([data-theme]) .pricing-card-metal-titanium .pricing-card-topline {
  background: linear-gradient(90deg,
    rgba(64,217,255,0) 0%,
    rgba(64,217,255,0.68) 24%,
    rgba(243,253,255,0.96) 50%,
    rgba(93,154,190,0.68) 76%,
    rgba(64,217,255,0) 100%);
  filter: drop-shadow(0 0 14px rgba(64,217,255,0.28));
}

:root:not([data-theme]) .pricing-card-metal-titanium .pricing-card-tier,
:root:not([data-theme]) .pricing-card-metal-titanium .pricing-card-price {
  color: #f4fbff;
  text-shadow:
    0 1px 0 rgba(0,0,0,0.22),
    0 12px 26px rgba(64,217,255,0.14);
}

:root:not([data-theme]) .pricing-card-metal-titanium .pricing-card-metal-label,
:root:not([data-theme]) .pricing-card-metal-titanium .pricing-card-currency,
:root:not([data-theme]) .pricing-card-metal-titanium .pricing-card-billing {
  color: #9cecff;
}

:root:not([data-theme]) .pricing-card-metal-titanium .pricing-card-note,
:root:not([data-theme]) .pricing-card-metal-titanium .pricing-card-features li {
  color: #b7c6d7;
}

:root:not([data-theme]) .pricing-card-metal-titanium .pricing-card-features li::before {
  box-shadow:
    0 0 0 4px rgba(64,217,255,0.14),
    0 0 10px rgba(64,217,255,0.16);
}

:root:not([data-theme]) .pricing-card-metal-titanium .pricing-card-cta {
  border: none;
  background: linear-gradient(180deg, #a9f2ff 0%, #38d7ff 54%, #0f7fa2 100%);
  color: #041018;
  box-shadow: 0 10px 24px rgba(64,217,255,0.16);
}

:root:not([data-theme]) .pricing-card-metal-titanium .pricing-card-cta:hover:not(:disabled) {
  border: none;
  background: linear-gradient(180deg, #c4f7ff 0%, #59e0ff 54%, #1994b8 100%);
  box-shadow: 0 12px 28px rgba(64,217,255,0.2);
}

:root:not([data-theme]) .pricing-card-metal-gold .pricing-card-cta {
  border: none;
  background: linear-gradient(180deg, #ffd86f 0%, #f4b523 56%, #e39c09 100%);
  box-shadow: 0 8px 18px color-mix(in srgb, var(--pricing-card-accent) 12%, transparent);
}

:root:not([data-theme]) .pricing-card-metal-gold .pricing-card-cta:hover:not(:disabled) {
  border: none;
  background: linear-gradient(180deg, #ffdf82 0%, #f8bf34 56%, #e8a413 100%);
  box-shadow: 0 10px 22px color-mix(in srgb, var(--pricing-card-accent) 14%, transparent);
}

:root:not([data-theme]) .pricing-card-cta-featured::after {
  display: none;
}

.pricing-card-cta-featured {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--premium-gold-bright), var(--premium-gold-core) 58%, var(--premium-gold-deep));
  color: var(--premium-gold-ink);
  border-color: rgba(245,180,29,0.24);
  box-shadow: 0 16px 32px rgba(245,180,29,0.24);
}

.pricing-card-cta-featured::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent 38%, rgba(255,255,255,0.18) 50%, transparent 62%);
  transform: translateX(-120%) skewX(-18deg);
  animation: premium-card-sheen 4.8s ease-in-out infinite;
  pointer-events: none;
}

.pricing-card-cta-featured:hover:not(:disabled) {
  background: linear-gradient(135deg, #ffe07d, #f8c13a 56%, #df901d);
  border-color: rgba(245,180,29,0.32);
  color: #211208;
}

@keyframes premium-card-sheen {
  0%, 64%, 100% { transform: translateX(-120%) skewX(-18deg); }
  24%, 40% { transform: translateX(120%) skewX(-18deg); }
}

@keyframes premium-card-icon-drift {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-1.5px);
  }
}

@keyframes premium-card-enter {
  from {
    opacity: 0;
    transform: translateY(26px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.section-title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.section-title::before {
  content: '';
  width: 2px; height: 1em;
  background: var(--accent);
  flex-shrink: 0;
}

.cmd-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
  gap: 0.5rem;
}

.cmd-card {
  position: relative;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 0.82rem 0.9rem;
  display: flex;
  flex-direction: column;
  transition: border-color var(--t), background var(--t);
  overflow: hidden;
  cursor: default;
  animation: card-slide 0.32s var(--ease) both;
  animation-delay: calc(var(--card-index, 0) * 38ms);
}

.cmd-card::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.28s;
  background: radial-gradient(
    260px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(249,115,22,0.06), transparent 55%
  );
  pointer-events: none;
}

.cmd-card:hover {
  border-color: var(--accent-border);
  background: var(--surface-2);
}
.cmd-card:hover::after { opacity: 1; }

@keyframes card-slide {
  from { opacity: 0; transform: translateX(-10px); }
  to   { opacity: 1; transform: translateX(0); }
}

.cmd-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.38rem;
}
.cmd-badge {
  font-family: var(--mono);
  font-size: 0.64rem;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid var(--accent-border);
  padding: 0.1rem 0.38rem;
  border-radius: var(--r-sm);
  font-weight: 500;
}
.cmd-title {
  font-weight: 600;
  font-size: 0.84rem;
  margin-bottom: 0.12rem;
}
.cmd-desc {
  color: var(--text-muted);
  font-size: 0.75rem;
  line-height: 1.5;
  flex: 1;
}

.public-commands-page {
  max-width: 860px;
  margin: 0 auto;
}
.public-commands-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.public-commands-body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.cmd-category-block {
  background: var(--surface-1);
  border: 1px solid var(--border-hi);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.cmd-category-head {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  padding: 0.55rem 0.75rem;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.cmd-category-title {
  font-weight: 700;
  font-size: 0.82rem;
}
.cmd-category-desc {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-left: auto;
}
.cmd-rows {
  display: flex;
  flex-direction: column;
}
.cmd-row {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  padding: 0.38rem 0.75rem;
  border-bottom: 1px solid var(--border);
  transition: background var(--t);
}
.cmd-row:last-child { border-bottom: none; }
.cmd-row:hover { background: var(--surface-2); }
.cmd-row .cmd-badge {
  flex-shrink: 0;
  white-space: nowrap;
}
.cmd-row-body {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  min-width: 0;
  flex-wrap: wrap;
}
.cmd-row-title {
  font-weight: 600;
  font-size: 0.78rem;
  white-space: nowrap;
}
.cmd-row-summary {
  font-size: 0.74rem;
  color: var(--text-muted);
  min-width: 0;
}
