/* JC Studios: light gray and white "liquid glass" look. Glass = frosted white + blur + soft highlight, never coloured edges. */
:root {
  --bg: #9a9fa7;
  --text: #0f1114;
  --muted: rgba(15, 17, 20, .7);
  --faint: rgba(15, 17, 20, .5);
  --glass: linear-gradient(140deg, rgba(255, 255, 255, .42), rgba(255, 255, 255, .14) 60%, rgba(255, 255, 255, .22));
  --glass-strong: linear-gradient(140deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, .2) 60%, rgba(255, 255, 255, .3));
  --stroke: rgba(255, 255, 255, .5);
  --hi: inset 0 1.5px 0 rgba(255, 255, 255, .85), inset 1px 0 0 rgba(255, 255, 255, .25), inset 0 -1px 0 rgba(255, 255, 255, .2), inset 0 -18px 36px -18px rgba(255, 255, 255, .25);
  --shadow: 0 22px 50px rgba(25, 28, 34, .22), 0 3px 10px rgba(25, 28, 34, .1);
  --ink: #15171b;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --r-lg: 28px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI", Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img { display: block; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* Soft white and gray shapes moving behind the glass */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: linear-gradient(160deg, #c3c7cd 0%, #9ca1a9 45%, #6f747c 100%); }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); will-change: transform; }
.b1 { width: 620px; height: 620px; left: -160px; top: -200px; background: radial-gradient(circle, rgba(255, 255, 255, .85), transparent 70%); animation: drift 22s var(--ease) infinite alternate; }
.b2 { width: 560px; height: 560px; right: -160px; top: 30vh; background: radial-gradient(circle, #4f545c, transparent 70%); opacity: .7; animation: drift 26s var(--ease) infinite alternate-reverse; }
.b3 { width: 540px; height: 540px; left: 30vw; bottom: -240px; background: radial-gradient(circle, #e4e6ea, transparent 70%); opacity: .7; animation: drift 30s var(--ease) infinite alternate; }
.dots { position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .5) 1.2px, transparent 1.6px); background-size: 26px 26px; -webkit-mask-image: linear-gradient(180deg, #000, rgba(0, 0, 0, .35)); mask-image: linear-gradient(180deg, #000, rgba(0, 0, 0, .35)); }
/* Chrome-like orbs and rings: something solid for the glass to blur and bend */
.orb { position: absolute; border-radius: 50%; will-change: transform; box-shadow: inset -14px -18px 40px rgba(20, 22, 28, .45), inset 10px 12px 30px rgba(255, 255, 255, .55), 0 30px 60px rgba(20, 22, 28, .25); background: radial-gradient(circle at 32% 28%, #ffffff 0%, #e6e8ec 12%, #a9aeb6 42%, #5d626b 78%, #3a3e45 100%); }
.o1 { width: 300px; height: 300px; right: -70px; top: 110px; animation: float 16s ease-in-out infinite alternate; }
.o2 { width: 170px; height: 170px; left: 5vw; top: 44vh; animation: float 13s ease-in-out infinite alternate-reverse; }
.o3 { width: 110px; height: 110px; right: 24vw; bottom: 8vh; animation: float 11s ease-in-out infinite alternate; }
.o4 { width: 70px; height: 70px; left: 32vw; top: 120px; animation: float 9s ease-in-out infinite alternate-reverse; }
.ring { position: absolute; border-radius: 50%; will-change: transform; border: 26px solid transparent; background: linear-gradient(140deg, #ffffff, #b4b9c1 40%, #545961) border-box; -webkit-mask: linear-gradient(#000 0 0) padding-box exclude, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) padding-box exclude, linear-gradient(#000 0 0); filter: drop-shadow(0 20px 30px rgba(20, 22, 28, .25)); }
.r1 { width: 380px; height: 380px; left: -110px; bottom: -90px; animation: spin 40s linear infinite; }
.r2 { width: 200px; height: 200px; right: 30vw; top: 40vh; border-width: 16px; opacity: .85; animation: spin 30s linear infinite reverse; }
.grain { position: absolute; inset: 0; background: radial-gradient(ellipse at top, rgba(255, 255, 255, .2), transparent 70%); }
@keyframes drift { to { transform: translate3d(90px, 70px, 0) scale(1.12); } }
@keyframes float { from { transform: translate3d(0, -18px, 0); } to { transform: translate3d(14px, 22px, 0); } }
@keyframes spin { to { transform: rotate(360deg); } }

.glass {
  background: var(--glass);
  border: 1px solid var(--stroke);
  box-shadow: var(--hi), var(--shadow);
  -webkit-backdrop-filter: blur(14px) saturate(180%) brightness(1.06);
  backdrop-filter: blur(14px) saturate(180%) brightness(1.06);
}

/* Pills */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--stroke); cursor: pointer; white-space: nowrap;
  font-size: 14.5px; font-weight: 600; letter-spacing: -.01em;
  transition: transform .25s var(--ease), background .25s, box-shadow .25s, opacity .2s;
}
.pill:hover { transform: translateY(-1px); }
.pill:active { transform: scale(.97); }
.pill-lg { height: 50px; padding: 0 24px; font-size: 16px; }
.pill-ghost { background: rgba(255, 255, 255, .32); box-shadow: var(--hi), 0 2px 8px rgba(28, 32, 42, .05); }
.pill-ghost:hover { background: rgba(255, 255, 255, .55); }
.pill-primary, .pill-discord {
  color: #fff;
  background: linear-gradient(180deg, #2c2f36, #111317);
  border-color: rgba(17, 19, 23, .9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 10px 26px rgba(17, 19, 23, .22);
}
.pill-primary:hover, .pill-discord:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 14px 32px rgba(17, 19, 23, .3); }
.pill-primary:disabled { cursor: not-allowed; opacity: .45; transform: none; box-shadow: none; }
.pill-tag { height: 34px; font-size: 13px; font-weight: 500; color: var(--muted); cursor: default; }
.pill-tag:hover { transform: none; }
.wide { width: 100%; }

/* Floating pill nav */
.nav-wrap { position: sticky; top: 14px; z-index: 40; display: flex; justify-content: center; padding: 0 16px; }
.nav {
  display: flex; align-items: center; gap: 12px; width: min(1040px, 100%);
  padding: 7px 7px 7px 16px; border-radius: 999px;
  background: var(--glass-strong);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.02em; font-size: 17px; }
.brand img { border-radius: 9px; }
.brand.small { font-size: 15px; gap: 8px; }
.nav-links { display: flex; gap: 2px; margin: 0 auto; }
.nav-links a { padding: 8px 14px; border-radius: 999px; color: var(--muted); font-size: 14.5px; font-weight: 500; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--text); background: rgba(17, 19, 23, .05); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.cart-btn { position: relative; padding: 0 14px; }
.cart-count {
  min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px;
  display: inline-grid; place-items: center; font-size: 12px; font-weight: 700;
  background: var(--ink); color: #fff;
}
.cart-count.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }
.account { position: relative; }
.me { padding: 0 14px 0 6px; }
.me img { width: 28px; height: 28px; border-radius: 50%; }
.me span { max-width: 120px; overflow: hidden; text-overflow: ellipsis; }
.menu { position: absolute; right: 0; top: calc(100% + 10px); min-width: 200px; padding: 8px; border-radius: 20px; background: rgba(228, 230, 234, .55); }
.menu-note { margin: 4px 10px 6px; font-size: 12.5px; color: var(--faint); }
.menu a { display: block; padding: 10px 12px; border-radius: 14px; font-size: 14.5px; }
.menu a:hover { background: rgba(17, 19, 23, .05); }

/* Hero */
main { width: min(1100px, 100%); margin: 0 auto; padding: 0 16px; }
.hero { text-align: center; padding: 96px 0 40px; display: flex; flex-direction: column; align-items: center; }
.hero h1 { margin: 22px 0 18px; font-size: clamp(40px, 7vw, 76px); line-height: 1.02; letter-spacing: -.045em; font-weight: 750; }
.shine { background: linear-gradient(100deg, #0f1114 10%, #3d4148 55%, #5d626b 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { max-width: 600px; margin: 0 0 30px; color: var(--muted); font-size: 18.5px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.stats { list-style: none; margin: 56px 0 0; padding: 8px; display: flex; border-radius: 999px; }
.stats li { display: flex; flex-direction: column; align-items: center; padding: 10px 30px; }
.stats li + li { border-left: 1px solid rgba(255, 255, 255, .35); }
.stats strong { font-size: 18px; letter-spacing: -.02em; }
.stats span { font-size: 12.5px; color: var(--faint); }

/* Sections */
.section { padding: 70px 0 10px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.section-head h2 { margin: 0; font-size: clamp(30px, 4vw, 42px); letter-spacing: -.035em; }
.section-head p { margin: 4px 0 0; color: var(--muted); }
.filters { display: flex; gap: 4px; padding: 5px; border-radius: 999px; overflow-x: auto; max-width: 100%; scrollbar-width: none; }
.chip { border: 0; background: transparent; padding: 8px 15px; border-radius: 999px; color: var(--muted); font-size: 14px; font-weight: 500; cursor: pointer; white-space: nowrap; transition: background .25s var(--ease), color .2s; }
.chip:hover { color: var(--text); }
.chip.is-on { color: #fff; background: var(--ink); box-shadow: 0 4px 12px rgba(17, 19, 23, .18); }

/* Product cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.card { position: relative; display: flex; flex-direction: column; padding: 22px; border-radius: var(--r-lg); overflow: hidden; transition: transform .35s var(--ease), box-shadow .3s; }
.card::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, -20%), rgba(255, 255, 255, .4), transparent 45%); opacity: 0; transition: opacity .3s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--hi), 0 22px 50px rgba(28, 32, 42, .12); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; }
.card.in { animation: rise .55s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.icon { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 6px 14px rgba(17, 19, 23, .15); }
.icon svg { width: 24px; height: 24px; }
.icon.bot { background: linear-gradient(150deg, #3a3e46, #111317); }
.icon.web { background: linear-gradient(150deg, #8a909b, #555b66); }
.icon.embed { background: linear-gradient(150deg, #b9bec7, #7f8590); }
.badge { font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .38); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6); color: var(--muted); }
.card h3 { margin: 0 0 6px; font-size: 20px; letter-spacing: -.02em; }
.card p { margin: 0 0 16px; color: var(--muted); font-size: 14.5px; }
.card ul { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 7px; font-size: 14px; color: rgba(17, 19, 23, .78); }
.card li { display: flex; gap: 8px; align-items: flex-start; }
.card li svg { width: 16px; height: 16px; margin-top: 3px; color: var(--ink); }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price { font-size: 26px; font-weight: 700; letter-spacing: -.03em; }
.price small { font-size: 13px; font-weight: 500; color: var(--faint); margin-left: 3px; letter-spacing: 0; }
.add.added { background: var(--ink); color: #fff; }

/* Steps + FAQ */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.steps li { padding: 24px; border-radius: var(--r-lg); }
.step-n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; font-size: 14px; }
.steps h3 { margin: 16px 0 6px; font-size: 18px; letter-spacing: -.02em; }
.steps p { margin: 0; color: var(--muted); font-size: 14.5px; }
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details { border-radius: 22px; padding: 0 22px; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--muted); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--muted); font-size: 15px; }

/* Footer */
.footer { padding: 80px 16px 28px; display: flex; justify-content: center; }
.footer-in { width: min(1040px, 100%); display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 14px 22px; border-radius: 999px; font-size: 14px; }
.muted { color: var(--faint); }
.footer-links { display: flex; gap: 18px; color: var(--muted); }
.footer-links a:hover { color: var(--text); }

/* Cart drawer */
.scrim { position: fixed; inset: 0; z-index: 60; background: rgba(40, 44, 52, .18); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); animation: fade .3s var(--ease); }
@keyframes fade { from { opacity: 0; } }
.drawer {
  position: fixed; z-index: 70; top: 12px; right: 12px; bottom: 12px; width: min(420px, calc(100vw - 24px));
  display: flex; flex-direction: column; border-radius: 32px; background: linear-gradient(160deg, rgba(240, 242, 245, .62), rgba(200, 204, 210, .5)); -webkit-backdrop-filter: blur(28px) saturate(170%); backdrop-filter: blur(28px) saturate(170%);
  transform: translateX(calc(100% + 24px)); transition: transform .5s var(--ease); visibility: hidden;
}
.drawer.open { transform: none; visibility: visible; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 22px 10px; }
.drawer-head h2 { margin: 0; font-size: 22px; letter-spacing: -.02em; }
.icon-btn { width: 38px; height: 38px; border-radius: 999px; border: 1px solid var(--stroke); background: rgba(255, 255, 255, .35); display: grid; place-items: center; cursor: pointer; }
.icon-btn:hover { background: rgba(255, 255, 255, .6); }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 14px; }
.line { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 20px; background: rgba(255, 255, 255, .34); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 4px 12px rgba(25, 28, 34, .08); margin-bottom: 8px; }
.line .icon { width: 40px; height: 40px; border-radius: 13px; }
.line .icon svg { width: 20px; height: 20px; }
.line-info { flex: 1; min-width: 0; }
.line-info strong { display: block; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.line-info span { font-size: 13px; color: var(--faint); }
.qty { display: flex; align-items: center; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .4); }
.qty button { width: 26px; height: 26px; border: 0; border-radius: 999px; background: transparent; cursor: pointer; font-size: 16px; line-height: 1; }
.qty button:hover { background: rgba(255, 255, 255, .7); }
.qty span { min-width: 18px; text-align: center; font-size: 14px; font-weight: 600; }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty svg { width: 40px; height: 40px; margin: 0 auto 12px; color: var(--faint); }
.drawer-foot { padding: 16px 22px 22px; border-top: 1px solid rgba(255, 255, 255, .35); }
.total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; color: var(--muted); }
.total strong { font-size: 24px; color: var(--text); letter-spacing: -.02em; }
.fine { margin: 10px 0 0; text-align: center; font-size: 12.5px; color: var(--faint); }

/* Toast */
.toast { position: fixed; z-index: 80; left: 50%; bottom: 24px; transform: translateX(-50%); padding: 12px 20px; border-radius: 999px; font-size: 14.5px; font-weight: 500; background: rgba(232, 234, 238, .7); animation: toast .4s var(--ease); max-width: calc(100vw - 32px); text-align: center; }
@keyframes toast { from { opacity: 0; transform: translate(-50%, 12px); } }

@media (max-width: 760px) {
  .o1 { width: 170px; height: 170px; right: -70px; top: 80px; }
  .o2 { width: 110px; height: 110px; left: -45px; top: 62vh; }
  .o3 { width: 80px; height: 80px; right: 8vw; bottom: 6vh; }
  .o4, .r2 { display: none; }
  .r1 { width: 260px; height: 260px; border-width: 20px; }
  .nav-links { display: none; }
  .nav { padding-left: 14px; }
  .nav-actions { margin-left: auto; }
  .brand span { display: none; }
  .me span, .pill-discord span { display: none; }
  .me { padding: 0 6px; }
  .pill-discord { padding: 0 13px; }
  .hero { padding-top: 64px; }
  .lead { font-size: 16.5px; }
  .stats { border-radius: 26px; }
  .stats li { padding: 8px 12px; }
  .stats strong { font-size: 15px; }
  .grid { grid-template-columns: 1fr; }
  .footer-in { border-radius: 26px; justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
