:root {
  --bg: #f6f4ef;
  --paper: #fffdf8;
  --ink: #151517;
  --muted: #666b72;
  --line: #e5e0d6;
  --green: #0abf78;
  --green-dark: #07935e;
  --blue: #2277ff;
  --orange: #ff8d2a;
  --violet: #875bff;
  --pink: #ff4f8b;
  --shadow: 0 24px 70px rgba(40, 34, 24, .10);
  --site-width: 1720px;
  --scene-width: 1840px;
  --page-gutter: 56px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 0, rgba(10, 191, 120, .12), transparent 28rem),
    radial-gradient(circle at 90% 8%, rgba(255, 141, 42, .12), transparent 30rem),
    radial-gradient(rgba(40, 34, 24, 0.052) 1.2px, transparent 1.2px),
    var(--bg);
  background-size: auto, auto, 28px 28px, auto;
  font: 15px/1.55 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.topbar {
  position: sticky;
  top: 14px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 0 32px;
  border-radius: 20px;
  border: 1px solid rgba(229, 224, 214, 0.76);
  background: rgba(246, 244, 239, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 
    0 1px 2px rgba(40, 34, 24, 0.01),
    0 8px 30px rgba(40, 34, 24, 0.02);
  width: calc(100% - 40px);
  max-width: var(--site-width);
  margin: 14px auto 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; letter-spacing: -.02em; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  color: white;
  background: linear-gradient(135deg, #111, #35312b);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.16);
}
.nav-links { display: flex; align-items: center; gap: 28px; color: #34383d; font-weight: 650; }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.link-btn { color: #363b40; font-weight: 700; }
.primary-btn, .secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 850;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.primary-btn {
  color: white;
  background: var(--green);
  box-shadow: 0 18px 38px rgba(10, 191, 120, .25);
}
.primary-btn:hover, .secondary-btn:hover { transform: translateY(-2px); }
.primary-btn:hover { background: var(--green-dark); box-shadow: 0 24px 46px rgba(10, 191, 120, .32); }
.secondary-btn { border: 1px solid var(--line); background: white; box-shadow: 0 10px 28px rgba(40,34,24,.06); }
.small { min-height: 40px; padding: 9px 16px; font-size: 14px; }
.full { width: 100%; }

.section-pad {
  width: min(var(--site-width), calc(100% - var(--page-gutter)));
  margin: 0 auto;
  padding: 82px 0;
}
.hero { text-align: center; padding-top: 86px; }
.pill, .eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 8px 13px;
  border-radius: 999px;
  color: #126648;
  background: #e7f8ef;
  border: 1px solid #cbeedb;
  font-size: 12px;
  font-weight: 850;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
p, .hero-copy, .section-head p { text-wrap: pretty; }
h1 {
  max-width: 1120px;
  margin: 0 auto;
  font-size: clamp(50px, 8vw, 96px);
  line-height: .95;
  letter-spacing: -.075em;
}
h2 {
  margin-bottom: 14px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
  letter-spacing: -.055em;
}
.hero-copy {
  max-width: 880px;
  margin: 26px auto 0;
  color: var(--muted);
  font-size: 20px;
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.proof-strip {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 24px auto 0;
}
.proof-strip span {
  padding: 8px 12px;
  border: 1px solid rgba(229, 224, 214, .9);
  border-radius: 999px;
  color: #4f565d;
  background: rgba(255,255,255,.58);
  font-size: 13px;
  font-weight: 750;
}
.hero-stage {
  margin: 58px auto 0;
  padding: 16px;
  border-radius: 34px;
  background: rgba(255,255,255,.48);
  border: 1px solid rgba(229, 224, 214, .86);
  box-shadow: var(--shadow);
}
.store-window {
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  border: 1px solid #e7e2d8;
  text-align: left;
}
.window-top {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 46px;
  padding: 0 16px;
  border-bottom: 1px solid #ece7df;
  background: #fbfaf7;
}
.window-top span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ded8cd;
}
.window-top strong { margin-left: auto; color: #777; font-size: 12px; }
.store-grid { display: grid; grid-template-columns: 230px 1fr; min-height: 490px; }
.store-side {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px;
  background: #f7f5ef;
  border-right: 1px solid #ece7df;
}
.store-side b { margin-bottom: 12px; }
.store-side a {
  padding: 10px 12px;
  border-radius: 12px;
  color: #61666c;
  font-weight: 700;
}
.store-side a.active { color: #111; background: #fff; box-shadow: 0 8px 20px rgba(40,34,24,.06); }
.store-main { padding: 28px; }
.searchbar {
  height: 48px;
  display: flex;
  align-items: center;
  padding: 0 18px;
  border-radius: 16px;
  color: #9a9a9a;
  background: #f4f2ed;
}
.featured-card {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 22px;
  padding: 26px;
  min-height: 170px;
  border-radius: 24px;
  color: white;
  background:
    radial-gradient(circle at 78% 18%, rgba(255,255,255,.22), transparent 18rem),
    linear-gradient(135deg, #111, #243027 58%, #0abf78);
}
.featured-card.speed {
  background:
    radial-gradient(circle at 76% 12%, rgba(255,255,255,.22), transparent 17rem),
    radial-gradient(circle at 90% 80%, rgba(255,79,139,.5), transparent 18rem),
    linear-gradient(135deg, #14131a, #252033 50%, #875bff);
}
.featured-card h3 { margin: 12px 0 8px; font-size: 34px; letter-spacing: -.04em; }
.featured-card p { color: rgba(255,255,255,.76); margin-bottom: 0; }
.featured-card button {
  align-self: end;
  border: 0;
  border-radius: 999px;
  padding: 11px 18px;
  background: white;
  color: #111;
  font-weight: 850;
}
.tag, .status {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
}
.live { color: #075b3e; background: #ccf3dd; }
.soon { color: #8a4e08; background: #ffe3bd; }
.pro-tag, .hero-box-tag.pro { color: #064e3b; background: #bff8de; }
.lab { color: #3c3d8a; background: #e5e3ff; }
.idea { color: #38424c; background: #eceff2; }
.mini-apps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 18px;
}
.mini-apps div {
  min-height: 138px;
  padding: 18px;
  border: 1px solid #eee8de;
  border-radius: 20px;
  background: #fffdf8;
}
.mini-apps i {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: #f0eee7;
  font-style: normal;
  font-weight: 900;
}
.mini-apps b, .mini-apps span { display: block; }
.mini-apps span { color: var(--muted); font-size: 13px; }

.section-head { text-align: center; max-width: 780px; margin: 0 auto 42px; }
.section-head p { color: var(--muted); font-size: 18px; }
.tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.tabs button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px;
  background: #fffdf8;
  cursor: pointer;
  font-weight: 800;
}
.tabs button.active { color: white; border-color: #111; background: #111; }
.plugin-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.marketplace .plugin-grid {
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  width: 100%;
  margin: 0;
}
.plugin-card {
  position: relative;
  min-height: 288px;
  padding: 24px;
  border-radius: 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 14px 38px rgba(40,34,24,.05);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease;
}
.plugin-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(135deg, transparent, rgba(10, 191, 120, 0.32), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}
.plugin-card:hover::before {
  opacity: 1;
}
.plugin-card:hover { transform: translateY(-7px); box-shadow: 0 24px 48px rgba(40, 34, 24, 0.08); }
.plugin-card.hidden { display: none; }
.icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 24px;
  border-radius: 18px;
  overflow: hidden;
  color: white;
  font-weight: 900;
  background-size: 145%;
  background-position: center;
  background-repeat: no-repeat;
}
.icon.has-art { font-size: 0; }
.blue { background-color: var(--blue); }
.green { background-color: var(--green); }
.orange { background-color: var(--orange); }
.violet { background-color: var(--violet); }
.cyan { background-color: #16a7bf; }
.dark { background-color: #1d1d1f; }
.ramp { background-color: #875bff; background-image: linear-gradient(135deg, #875bff, #ff4f8b); }
.plugin-card .status { position: absolute; top: 24px; right: 24px; }
.plugin-card h3 { margin-bottom: 10px; font-size: 22px; letter-spacing: -.025em; }
.plugin-card p { color: var(--muted); }
.plugin-card a { position: absolute; left: 24px; bottom: 24px; color: var(--green-dark); font-weight: 850; }
.hero-plugin {
  min-height: 300px;
}
.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 16px;
  padding-right: 8px;
}
.feature-tags span {
  padding: 6px 9px;
  border-radius: 999px;
  color: #4d5359;
  background: #f1eee6;
  font-size: 12px;
  font-weight: 800;
}
.coming-soon-note {
  display: grid;
  gap: 4px;
  max-width: 640px;
  margin: 26px auto 0;
  padding: 16px 18px;
  border: 1px solid #cbeedb;
  border-radius: 18px;
  text-align: center;
  color: #126648;
  background: #e7f8ef;
}
.coming-soon-note span {
  color: #47705e;
}

.spotlight {
  width: min(var(--site-width), calc(100% - var(--page-gutter)));
  padding-top: 38px;
}
.spotlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.spotlight-grid article {
  min-height: 170px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    radial-gradient(circle at 100% 0, rgba(135,91,255,.11), transparent 12rem),
    var(--paper);
  box-shadow: 0 14px 38px rgba(40,34,24,.04);
}
.spotlight-grid b {
  display: block;
  margin-bottom: 10px;
  font-size: 20px;
  letter-spacing: -.03em;
}
.spotlight-grid span {
  color: var(--muted);
}

.detail-topbar {
  position: relative;
  z-index: 100;
}
.detail-page .detail-hero {
  text-align: center;
}
.video-shell {
  display: grid;
  place-items: center;
  gap: 10px;
  min-height: 440px;
  margin-top: 44px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 34px;
  color: white;
  background:
    linear-gradient(180deg, rgba(8,10,10,.1), rgba(6,8,8,.55)),
    var(--cover, linear-gradient(135deg, #121314, #252a29)) center/cover no-repeat;
  box-shadow: var(--shadow);
}
.video-shell.speed-video {
  background:
    linear-gradient(180deg, rgba(10,8,14,.1), rgba(8,6,12,.55)),
    var(--cover, linear-gradient(135deg, #14131a, #2a2340 52%, #875bff)) center/cover no-repeat;
}
.video-shell .play {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: white;
  color: #111;
  font-size: 26px;
  box-shadow: 0 20px 50px rgba(0,0,0,.22);
}
.video-shell strong {
  font-size: 26px;
  letter-spacing: -.03em;
}
.video-shell span {
  max-width: 560px;
  color: rgba(255,255,255,.72);
}

.split {
  display: grid;
  grid-template-columns: 1fr 430px;
  align-items: center;
  gap: 64px;
}
.split p { color: var(--muted); font-size: 18px; }
.check-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}
.check-list span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #2c3438;
  font-weight: 700;
}
.check-list span::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: white;
  background: var(--green);
  font-size: 12px;
}
.value-card {
  padding: 30px;
  border-radius: 28px;
  background: #121314;
  color: white;
  box-shadow: var(--shadow);
}
.value-card h3 { font-size: 26px; letter-spacing: -.04em; }
.cost-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  color: rgba(255,255,255,.74);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.cost-row b { color: white; }
.divider { height: 14px; }
.cost-row.total {
  align-items: center;
  margin-top: 6px;
  padding: 16px;
  border: 0;
  border-radius: 16px;
  color: #0b3d2b;
  background: #ccf3dd;
}
.cost-row.total b { color: #0b3d2b; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.price-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: relative;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--paper);
}
.price-card .primary-btn,
.price-card .secondary-btn,
.price-card .download-pair {
  margin-top: auto;
}
.price-card.highlight {
  border-color: #111;
  background: #fff;
  box-shadow: var(--shadow);
  transform: translateY(-10px);
}
.best {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #075b3e;
  background: #ccf3dd;
  font-size: 11px;
  font-weight: 900;
}
.price-card h3 { font-size: 24px; margin-bottom: 8px; }
.price-card p { min-height: 48px; color: var(--muted); }
.price {
  margin: 20px 0;
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -.045em;
}
.price small { font-size: 14px; letter-spacing: 0; }
.price-card ul {
  display: grid;
  gap: 12px;
  min-height: 152px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}
.price-card li::before { content: "✓"; color: var(--green); margin-right: 9px; font-weight: 900; }
.download-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.trust-row {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 24px;
  color: var(--muted);
  font-weight: 700;
}


.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.steps.steps-4 { grid-template-columns: repeat(4, 1fr); }
.steps article {
  padding: 28px;
  border-radius: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.steps span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  border-radius: 50%;
  color: white;
  background: #111;
  font-weight: 900;
}
.steps h3 { font-size: 22px; }
.steps p { color: var(--muted); margin-bottom: 0; }

.reviews {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.quote-card, .review-grid div {
  border-radius: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.quote-card { padding: 36px; }
.quote-card p { font-size: 26px; line-height: 1.25; letter-spacing: -.035em; }
.quote-card b, .quote-card span { display: block; }
.quote-card span { color: var(--muted); }
.review-grid { display: grid; gap: 18px; }
.review-grid div { padding: 26px; }
.review-grid b { display: block; margin-bottom: 6px; font-size: 20px; }
.review-grid span { color: var(--muted); }

.faq { max-width: 860px; }
.faq details {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  font-size: 20px;
  font-weight: 850;
}
.faq details p { margin: 12px 0 0; color: var(--muted); }

.footer {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 24px;
  width: min(var(--site-width), calc(100% - var(--page-gutter)));
  margin: 0 auto;
  padding: 42px 0 52px;
  border-top: 1px solid var(--line);
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-links { display: flex; gap: 18px; color: var(--muted); font-weight: 700; flex-wrap: wrap; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(229, 224, 214, 0.6);
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  flex-wrap: wrap;
  gap: 12px;
}
.studio-brand {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--ink);
  font-weight: 750;
}

/* ============ Brand logo ============ */
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 11px;
  overflow: hidden;
  flex: 0 0 auto;
}
.brand-mark img {
  width: 25px;
  height: 25px;
  object-fit: contain;
  display: block;
}

/* ============ Entrance animations ============ */
.fade-item {
  opacity: 0;
  transform: translateY(18px);
  animation: fadeUp .8s cubic-bezier(.22,.9,.3,1) forwards;
  animation-delay: calc(var(--d, 0) * .12s);
}
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.22,.9,.3,1), transform .7s cubic-bezier(.22,.9,.3,1);
  transition-delay: calc(var(--d, 0) * .1s);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ Platform badges ============ */
.platform-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 26px auto 0;
}
.platform-label { color: var(--muted); font-size: 13px; font-weight: 700; }
.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 15px;
  border: 1px solid rgba(229, 224, 214, .95);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(40,34,24,.05);
  transition: transform .18s ease, box-shadow .18s ease;
}
.platform-badge:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(40,34,24,.09); }
.detail-platform-strip {
  justify-content: flex-start;
  margin-left: 0;
  margin-right: 0;
}

/* ============ Hero product boxes ============ */
.hero-stage {
  position: relative;
  margin: 64px auto 0;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
}
.hero-glow {
  position: absolute;
  inset: 12% 8% 6%;
  border-radius: 50%;
  background:
    radial-gradient(closest-side, rgba(10,191,120,.14), transparent 70%),
    radial-gradient(closest-side at 70% 60%, rgba(135,91,255,.12), transparent 72%);
  z-index: 0;
}
.hero-boxes {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(10px, 4vw, 46px);
}
.hero-box {
  position: relative;
  display: block;
  width: min(380px, 42vw);
  border-radius: 14px;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
  box-shadow: 0 34px 44px rgba(20, 18, 30, 0.28);
  will-change: transform;
  perspective: 1000px;
}
.hero-box img { width: 100%; height: auto; display: block; border-radius: 14px; }
.hero-box::after {
  content: '';
  position: absolute;
  inset: -16px;
  border-radius: 28px;
  background: radial-gradient(circle, rgba(10, 191, 120, 0.22) 0%, transparent 70%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s ease;
  filter: blur(12px);
  pointer-events: none;
}
.hero-box.float-b::after {
  background: radial-gradient(circle, rgba(255, 127, 80, 0.22) 0%, transparent 70%);
}
.hero-box.float-c::after {
  background: radial-gradient(circle, rgba(45, 212, 191, 0.24) 0%, transparent 70%);
}
.hero-box.float-d::after {
  background: radial-gradient(circle, rgba(124, 92, 255, 0.26) 0%, transparent 70%);
}
.hero-box.float-e::after {
  background: radial-gradient(circle, rgba(110, 91, 255, 0.28) 0%, rgba(56, 182, 255, 0.14) 45%, transparent 70%);
}
.hero-box:hover::after {
  opacity: 1;
}
.hero-box.float-a:hover {
  transform: translateY(-10px) rotateX(4deg) rotateY(-6deg) scale(1.032);
  box-shadow: -15px 45px 55px rgba(20, 18, 30, 0.35);
}
.hero-box.float-b:hover {
  transform: translateY(-10px) rotateX(4deg) rotateY(6deg) scale(1.032);
  box-shadow: 15px 45px 55px rgba(20, 18, 30, 0.35);
}
.hero-box.float-c:hover {
  transform: translateY(-10px) rotateX(4deg) scale(1.032);
  box-shadow: 0 45px 55px rgba(20, 18, 30, 0.35);
}
.hero-box.float-d:hover {
  transform: translateY(-10px) rotateX(4deg) rotateY(-6deg) scale(1.032);
  box-shadow: -15px 45px 55px rgba(20, 18, 30, 0.35);
}
.hero-box.float-e:hover {
  transform: translateY(-10px) rotateX(4deg) rotateY(6deg) scale(1.032);
  box-shadow: 15px 45px 55px rgba(20, 18, 30, 0.35);
}
/* Ảnh box-looks.png có nhiều viền xám quanh box hơn các ảnh box khác -> zoom riêng cho đều mắt */
.box-img-zoom { display: block; overflow: hidden; border-radius: 14px; }
.box-img-zoom img { scale: 1.3; }
.product-shot:has(img[src*="box-looks"]) { overflow: hidden; }
.hero-box.deepglow-hero-box img[src*="box-deepglow"], .product-shot img[src*="box-deepglow"], .detail-box-shot img[src*="box-deepglow"] { object-fit: contain; aspect-ratio: auto; }
.product-shot img[src*="box-looks"] { scale: 1.3; }
.detail-box-shot:has(img[src*="box-looks"]) { overflow: hidden; border-radius: 14px; }
.detail-box-shot img[src*="box-looks"] { scale: 1.3; }
.float-a { animation: floaty 7s ease-in-out infinite; }
.float-b { animation: floaty 8.5s ease-in-out infinite reverse; margin-bottom: 14px; }
.float-c { animation: floaty 9.5s ease-in-out infinite; margin-bottom: 28px; }
.float-d { animation: floaty 8s ease-in-out infinite reverse; margin-bottom: 10px; }
.float-e { animation: floaty 9s ease-in-out infinite; margin-bottom: 20px; }
.float-f { animation: floaty 9.2s ease-in-out infinite reverse; margin-bottom: 8px; }
@keyframes floaty {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}
.hero-box-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
  color: white;
  backdrop-filter: blur(6px);
}
.hero-box-tag.live { background: rgba(10,191,120,.92); }
.hero-box-tag.free { background: rgba(255,141,42,.92); }
.hero-box-tag.new { background: rgba(124,92,255,.94); }
.status.new-tag { color: #4a2fa8; background: #e9e3ff; }
.deepglow-hero-box {
  width: min(380px, 42vw);
  background: #020913;
  overflow: visible;
}
.deepglow-hero-box img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  transform: scale(1.08);
  transform-origin: center bottom;
}
.os-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.os-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
}
.os-badge.os-win { color: var(--ink); background: rgba(255,255,255,0.7); }
.os-badge.os-mac {
  color: #8a6d08;
  background: #fff3c4;
  border-color: #ffe08a;
}
.os-badge.os-mac::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #e0a800;
}
.hero-caption {
  position: relative;
  z-index: 1;
  margin-top: 26px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

/* ============ Product cards (marketplace) ============ */
.plugin-card.product-card {
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  overflow: hidden;
  min-height: 530px;
}
.product-shot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 230px;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 45%, rgba(34, 211, 238, .26), transparent 42%),
    radial-gradient(circle at 82% 22%, rgba(124, 92, 255, .18), transparent 34%),
    linear-gradient(145deg, #020817, #07172b 58%, #03101f);
  border-radius: 20px 20px 0 0;
  border-right: 0;
  border-bottom: 1px solid rgba(186, 230, 253, .22);
  position: relative;
}
.product-shot img {
  width: auto;
  height: 100%;
  max-height: 180px;
  max-width: 100%;
  object-fit: contain;
  border-radius: 12px;
  transition: transform .35s cubic-bezier(.22,.9,.3,1);
  filter: drop-shadow(0 18px 34px rgba(0, 120, 255, .24));
}
.product-card:hover .product-shot img { transform: scale(1.06) rotate(-2deg); }
.deepglow-card .product-shot img {
  width: auto;
  height: 100%;
  max-height: 208px;
  object-fit: contain;
  box-shadow: none;
  filter: drop-shadow(0 18px 34px rgba(0, 120, 255, .28));
}
.product-info {
  display: flex;
  flex-direction: column;
  padding: 24px;
  text-align: left;
  flex-grow: 1;
}
.product-info .status {
  align-self: flex-start;
  margin-bottom: 10px;
}
.status.free { color: #8a4e08; background: #ffe3bd; }
.status.pro-tag { color: #064e3b; background: #bff8de; }
.product-info h3 {
  margin: 0 0 8px;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -.03em;
  color: var(--ink);
}
.product-info p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
}
.mini-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 16px;
}
.mini-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #faf8f2;
  color: #4d5359;
  font-size: 11.5px;
  font-weight: 750;
  box-shadow: 0 2px 4px rgba(40,34,24,0.02);
}
.card-link {
  color: var(--green-dark);
  font-weight: 850;
  font-size: 14px;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: transform 0.2s ease;
  align-self: flex-start;
}
.card-link:hover {
  transform: translateX(4px);
}
.plugin-card.product-card a.card-link { position: static; }

/* ============ Detail page additions ============ */
.detail-box-hero {
  display: grid;
  grid-template-columns: minmax(420px, .42fr) 1fr;
  gap: clamp(64px, 6vw, 116px);
  align-items: center;
  text-align: left;
}
.detail-box-hero h1 {
  max-width: 980px;
  margin-left: 0;
}
.detail-box-hero .hero-copy {
  max-width: 820px;
  margin-left: 0;
}
.detail-box-shot img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 34px 44px rgba(20,18,30,.26);
  animation: floaty 7.5s ease-in-out infinite;
  will-change: transform;
}
.deepglow-poster img {
  aspect-ratio: auto;
  object-fit: contain;
  background: #020913;
}
.deepglow-wide-shot {
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(186, 230, 253, .55);
  background: #020913;
  box-shadow: 0 24px 70px rgba(0, 80, 180, .12);
}
.deepglow-wide-shot img {
  display: block;
  width: 100%;
  height: auto;
}
.deepglow-scene {
  background:
    linear-gradient(180deg, rgba(0, 10, 24, .1), rgba(0, 8, 18, .72)),
    var(--cover, linear-gradient(135deg, #020817, #0a2740)) center/cover no-repeat;
}
.deepglow-page .pill {
  color: #075985;
  background: #e0f7ff;
  border-color: #bae6fd;
}
.deepglow-page .primary-btn {
  background: linear-gradient(135deg, #05c8ff, #0abf78);
  box-shadow: 0 18px 38px rgba(5, 200, 255, .24);
}
.deepglow-page .primary-btn:hover {
  background: linear-gradient(135deg, #00a6dd, #07935e);
}
.detail-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.pricing-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 860px;
  margin: 0 auto;
}
.pricing-strip article {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
}
.pricing-strip article .primary-btn,
.pricing-strip article .secondary-btn,
.pricing-strip article .download-pair,
.pricing-strip article .features-list {
  margin-top: auto;
}
.pricing-strip article.pro { border-color: #111; box-shadow: var(--shadow); }
.pricing-strip h3 { font-size: 20px; margin-bottom: 6px; }
.pricing-strip p { color: var(--muted); margin-bottom: 0; }

.price-val {
  margin: 14px 0 20px;
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -.04em;
}
.price-val small {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}
.badge-membership {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(10, 191, 120, .12);
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 900;
  margin-left: 6px;
  vertical-align: middle;
}
.features-list {
  margin: 16px 0 24px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  text-align: left;
}
.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #4f565d;
  font-size: 14px;
}
.features-list li::before {
  content: "✓";
  color: var(--green);
  font-weight: 900;
  flex-shrink: 0;
}
.download-section {
  margin-top: 52px;
  padding: 44px 28px;
  border-radius: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  text-align: center;
  box-shadow: 0 14px 38px rgba(40,34,24,.03);
}
.download-section h3 {
  font-size: 24px;
  margin-bottom: 8px;
  letter-spacing: -.03em;
}
.download-section p {
  color: var(--muted);
  margin-bottom: 32px;
  font-size: 15px;
}
.download-section .download-pair {
  max-width: 680px;
  margin: 0 auto;
}

/* ============ Reveal variants (wow) ============ */
.reveal-left { transform: translateX(-44px); }
.reveal-right { transform: translateX(44px); }
.reveal-zoom { transform: translateY(20px) scale(.92); }
.reveal-left.visible, .reveal-right.visible, .reveal-zoom.visible {
  transform: none;
}

/* Scroll-driven cinematic scale for video scenes (Chrome 115+) */
@supports (animation-timeline: view()) {
  .video-shell {
    animation: sceneIn linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 85%;
  }
  .video-shell.full-scene {
    animation: none;
    opacity: 1;
    transform: none;
  }
  @keyframes sceneIn {
    from { transform: scale(.88); opacity: .35; border-radius: 60px; }
    to { transform: scale(1); opacity: 1; border-radius: 34px; }
  }
  .hero-box img:not([src*="box-looks"]) {
    animation: boxTilt linear both;
    animation-timeline: view();
    animation-range: exit 0% exit 100%;
  }
  @keyframes boxTilt {
    to { transform: translateY(-26px); }
  }
}

/* ============ Full-scene video ============ */
.video-shell.full-scene {
  width: min(var(--scene-width), calc(100vw - var(--page-gutter)));
  min-height: 0;
  aspect-ratio: 4 / 3;
  max-height: 78vh;
  margin-left: calc((100% - min(var(--scene-width), calc(100vw - var(--page-gutter)))) / 2);
  padding: 0;
  background: #101112;
}
.video-shell video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #101112;
  border-radius: inherit;
}
.video-shell { position: relative; overflow: hidden; }
.video-shell .play, .video-shell strong, .video-shell span { position: relative; z-index: 1; }
.video-shell .video-veil {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(8,10,12,0) 40%, rgba(8,10,12,.55));
}

/* ============ Zalo community banner ============ */
.zalo-banner {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 44px 48px;
  border-radius: 32px;
  color: white;
  background:
    radial-gradient(circle at 88% -20%, rgba(255,255,255,.28), transparent 22rem),
    linear-gradient(120deg, #0052cc, #0068ff 55%, #38a1ff);
  box-shadow: 0 30px 60px rgba(0, 104, 255, .28);
}
.zalo-banner h2 { color: white; margin-bottom: 10px; font-size: clamp(28px, 3.6vw, 42px); }
.zalo-banner p { color: rgba(255,255,255,.86); font-size: 17px; max-width: 560px; margin-bottom: 0; }
.zalo-banner .gift-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.3);
  font-size: 12.5px;
  font-weight: 850;
  letter-spacing: .03em;
}
.zalo-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 17px 28px;
  border-radius: 999px;
  background: white;
  color: #0055d6;
  font-weight: 900;
  font-size: 17px;
  box-shadow: 0 16px 36px rgba(0,30,80,.3);
  transition: transform .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.zalo-btn:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 22px 46px rgba(0,30,80,.38); }
.zalo-btn small { display: block; font-size: 11.5px; font-weight: 750; color: #5b7ba8; }

/* ============ Coming soon mystery card ============ */
.product-card.soon { opacity: .82; }
.product-card.soon:hover { opacity: 1; }
.mystery-box {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 160px;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 30%, #2c2f3a, #14161d 75%);
  box-shadow: 0 10px 20px rgba(40, 34, 24, 0.15);
}
.mystery-box .q {
  font-size: 72px;
  font-weight: 900;
  color: rgba(255,255,255,.2);
  line-height: 1;
}
.mystery-box .mb-brand {
  position: absolute;
  top: 16px;
  left: 0;
  right: 0;
  text-align: center;
  color: rgba(255,255,255,.4);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .32em;
}
.ribbon {
  position: absolute;
  top: 20px;
  right: -54px;
  width: 190px;
  padding: 6px 0;
  text-align: center;
  transform: rotate(45deg);
  background: linear-gradient(90deg, #ffc42d, #ffaa00);
  color: #4a3400;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .05em;
  box-shadow: 0 4px 12px rgba(120,80,0,.28);
}
.status.soon-tag { color: #8a6d08; background: #fff3c4; }

@media (prefers-reduced-motion: reduce) {
  .fade-item, .reveal { opacity: 1; transform: none; animation: none; transition: none; }
  .float-a, .float-b, .float-c, .float-d, .float-e, .float-f, .detail-box-shot img { animation: none; }
}

@media (max-width: 960px) {
  .nav-links { display: none; }
  .store-grid, .split, .reviews { grid-template-columns: 1fr; }
  .store-side { display: none; }
  .plugin-grid, .marketplace .plugin-grid, .pricing-grid, .steps, .steps.steps-4 { grid-template-columns: 1fr 1fr; }
  .mini-apps { grid-template-columns: 1fr 1fr; }
  .spotlight-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .detail-box-hero { grid-template-columns: 1fr; text-align: center; }
  .detail-box-hero .detail-actions { justify-content: center; }
  .detail-box-shot { max-width: 320px; margin: 0 auto; }
}

@media (max-width: 640px) {
  .topbar { min-height: 66px; padding: 0 18px; }
  .detail-topbar .nav-actions .secondary-btn { display: none; }
  .plugin-card.product-card .product-shot { height: 190px; padding: 16px; }
  .zalo-banner { grid-template-columns: 1fr; padding: 32px 24px; text-align: center; }
  .zalo-banner .zalo-btn { justify-self: center; }
  .zalo-btn { white-space: normal; padding: 14px 22px; font-size: 15px; text-align: center; }
  .hero-boxes { flex-direction: column; align-items: center; }
  .hero-box { width: min(320px, 78vw); }
  .pricing-strip { grid-template-columns: 1fr; }
  .link-btn { display: none; }
  .section-pad { width: min(100% - 28px, 1180px); padding: 54px 0; }
  h1 { font-size: 46px; letter-spacing: -.055em; }
  h2 { font-size: 34px; }
  .hero-copy { font-size: 17px; }
  .hero-actions, .footer { flex-direction: column; align-items: stretch; }
  .hero-actions .primary-btn, .hero-actions .secondary-btn { width: 100%; }
  .detail-actions { flex-direction: column; align-items: stretch; }
  .detail-actions .primary-btn, .detail-actions .secondary-btn { width: 100%; text-align: center; }
  .plugin-grid, .marketplace .plugin-grid, .pricing-grid, .steps, .steps.steps-4, .mini-apps, .spotlight-grid { grid-template-columns: 1fr; }
  .download-pair { grid-template-columns: 1fr; }
  .video-shell { min-height: 320px; padding: 24px; }
  .video-shell.full-scene { width: calc(100vw - 28px); }
  .price-card.highlight { transform: none; }
  .featured-card { flex-direction: column; }
  .trust-row { justify-content: flex-start; }
  .footer-links { flex-direction: column; }
  .footer-top { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ============ Member Portal Styles ============ */
.auth-page {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 64px;
  width: min(var(--site-width), calc(100% - var(--page-gutter)));
  margin: 0 auto;
  min-height: calc(100vh - 120px - 76px);
  padding: 56px 0;
}
.auth-info-column {
  text-align: left;
}
.auth-info-column h1 {
  font-size: 46px;
  margin-left: 0;
  margin-bottom: 16px;
  letter-spacing: -.05em;
  line-height: 1.1;
}
.auth-info-column p {
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 32px;
}
.auth-zalo-promo {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: 18px;
  background: white;
  border: 1px solid var(--line);
  margin-top: 36px;
  box-shadow: 0 10px 28px rgba(40,34,24,.04);
}
.auth-zalo-promo .qr-img {
  width: 120px;
  height: 120px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 4px;
  background: white;
  flex-shrink: 0;
}
.auth-zalo-promo .qr-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.auth-zalo-promo-text h4 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 850;
  color: var(--ink);
}
.auth-zalo-promo-text p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}

@media (max-width: 960px) {
  .auth-page {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 32px 0;
  }
  .auth-info-column {
    text-align: center;
  }
  .auth-info-column h1 {
    font-size: 36px;
  }
  .auth-zalo-promo {
    justify-content: center;
  }
}
@media (max-width: 640px) {
  .auth-zalo-promo {
    flex-direction: column;
    text-align: center;
    padding: 16px;
  }
}
.auth-container {
  width: 100%;
  max-width: 480px;
  padding: 40px;
  border-radius: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.auth-container h2 {
  font-size: 28px;
  letter-spacing: -.03em;
  margin-bottom: 24px;
  text-align: center;
}
.auth-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  padding: 4px;
  border-radius: 14px;
  background: #f4f2ed;
  border: 1px solid #ece7df;
}
.auth-tab-btn {
  flex: 1;
  border: 0;
  padding: 10px;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  cursor: pointer;
  transition: background .18s ease, color .18s ease;
}
.auth-tab-btn.active {
  background: white;
  color: var(--ink);
  box-shadow: 0 4px 12px rgba(40,34,24,.05);
}
.auth-panel {
  display: none;
  text-align: left;
}
.auth-panel.active {
  display: block;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 750;
  color: var(--ink);
  font-size: 14px;
}
.form-control {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #faf8f2;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  transition: border-color .18s ease, background .18s ease;
}
.form-control:focus {
  outline: 0;
  border-color: var(--green);
  background: white;
  box-shadow: 0 0 0 3px rgba(10, 191, 120, 0.1);
}
.auth-panel p {
  color: var(--muted);
  font-size: 14px;
  margin: 12px 0 24px;
}
.auth-link {
  display: inline-block;
  color: var(--green-dark);
  font-weight: 750;
  font-size: 13.5px;
  margin-top: 14px;
}
.qr-box {
  text-align: center;
  padding: 24px;
  border-radius: 20px;
  background: #faf8f2;
  border: 1px solid var(--line);
  margin-bottom: 24px;
}
.qr-code {
  width: 240px;
  height: 240px;
  margin: 0 auto 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: grid;
  place-items: center;
  position: relative;
}
.qr-code img {
  width: 220px;
  height: 220px;
  display: block;
}
.qr-details {
  text-align: left;
  font-size: 13.5px;
  display: grid;
  gap: 6px;
}
.qr-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed var(--line);
  padding-bottom: 4px;
}
.qr-row b {
  color: var(--ink);
}
.payment-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
  padding: 12px;
  border-radius: 10px;
  background: #e7f8ef;
  border: 1px solid #cbeedb;
  color: #126648;
  font-size: 13.5px;
  font-weight: 750;
}
.status-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(18,102,72,.2);
  border-top-color: #126648;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Google Button Styles */
.google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  height: 48px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease;
  margin-top: 16px;
}
.google-btn:hover {
  background: #faf8f2;
  border-color: #d1c9bd;
}
.google-icon {
  width: 18px;
  height: 18px;
  display: block;
}
.auth-separator {
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  margin: 20px 0;
}
.auth-separator::before,
.auth-separator::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--line);
}
.auth-separator:not(:empty)::before {
  margin-right: .5em;
}
.auth-separator:not(:empty)::after {
  margin-left: .5em;
}

@media (max-width: 480px) {
  .auth-container {
    padding: 28px 20px;
    border-radius: 20px;
    border: 0;
    box-shadow: none;
    background: transparent;
  }
}

/* ============ Profile Widget & Modal Styles ============ */
.profile-widget {
  position: relative;
  display: inline-block;
}
.profile-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: white;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 700;
  color: var(--ink);
  transition: background .18s ease;
}
.profile-btn:hover {
  background: #faf8f2;
}
.profile-btn .avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--green-dark);
  color: white;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
}
.profile-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 8px;
  width: 280px;
  padding: 20px;
  border-radius: 20px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 10px 32px rgba(40,34,24,.1);
  z-index: 1000;
  text-align: left;
}
.profile-dropdown.active {
  display: block;
}

/* Modal Overlay */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(40, 34, 24, 0.4);
  backdrop-filter: blur(4px);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  padding: 16px;
}
.modal-overlay.active {
  display: flex;
}
.modal-card {
  width: 100%;
  max-width: 460px;
  background: white;
  border-radius: 28px;
  border: 1px solid var(--line);
  box-shadow: 0 20px 48px rgba(40,34,24,.15);
  padding: 36px;
  position: relative;
  text-align: center;
}
.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--muted);
  font-size: 20px;
  padding: 4px;
}

/* ============ Profile Menu Item Styles ============ */
.profile-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background .18s ease, color .18s ease;
}
.profile-menu-item:hover {
  background: #faf8f2;
}
.profile-menu-item svg {
  color: var(--muted);
  flex-shrink: 0;
  transition: color .18s ease;
}
.profile-menu-item:hover svg {
  color: var(--ink);
}
.profile-menu-item.deactive:hover {
  background: #fff0f1;
  color: #ff4757;
}
.profile-menu-item.deactive:hover svg {
  color: #ff4757;
}

/* ============ Floating Zalo Widget ============ */
.zalo-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
}
.zalo-float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #0068ff;
  border: 0;
  box-shadow: 0 8px 24px rgba(0, 104, 255, 0.3);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.zalo-float-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 28px rgba(0, 104, 255, 0.4);
}
.zalo-float-popover {
  display: none;
  position: absolute;
  bottom: 72px;
  right: 0;
  width: 220px;
  padding: 16px;
  border-radius: 16px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 10px 32px rgba(40, 34, 24, 0.12);
  text-align: center;
  z-index: 1000;
}
.zalo-float-popover.active {
  display: block;
}
.zalo-float-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--muted);
  font-size: 16px;
}

/* ============ Marketplace Sidebar Filter Layout ============ */
.marketplace {
  position: relative;
  z-index: 1;
}
.marketplace::before {
  content: '';
  position: absolute;
  top: 15%;
  left: -8%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(10, 191, 120, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: -1;
}
.marketplace::after {
  content: '';
  position: absolute;
  bottom: 15%;
  right: -8%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(255, 127, 80, 0.04) 0%, rgba(255, 255, 255, 0) 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: -1;
}
.marketplace-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}
.marketplace-sidebar {
  display: grid;
  gap: 24px;
  padding: 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(229, 224, 214, 0.7);
  box-shadow: 0 8px 32px rgba(40, 34, 24, 0.03), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  position: sticky;
  top: 100px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.marketplace-sidebar:hover {
  box-shadow: 0 12px 40px rgba(40, 34, 24, 0.05);
}
.filter-group h4 {
  font-size: 14px;
  font-weight: 850;
  text-transform: uppercase;
  color: var(--ink);
  margin-top: 0;
  margin-bottom: 14px;
  letter-spacing: 0.05em;
  border-bottom: 1px solid rgba(229, 224, 214, 0.4);
  padding-bottom: 6px;
}
.filter-checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 650;
  color: var(--ink);
  cursor: pointer;
  margin-bottom: 12px;
  user-select: none;
}
.filter-checkbox-label input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  border: 1.5px solid #d5cfc4;
  background: white;
  outline: none;
  transition: all 0.2s ease;
  display: inline-grid;
  place-items: center;
  position: relative;
  cursor: pointer;
}
.filter-checkbox-label input[type="checkbox"]:checked {
  background: var(--green);
  border-color: var(--green);
}
.filter-checkbox-label input[type="checkbox"]:checked::before {
  content: "";
  width: 5px;
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  position: absolute;
  top: 1.5px;
  left: 5px;
}
.filter-checkbox-label input[type="checkbox"]:focus {
  box-shadow: 0 0 0 3px rgba(10, 191, 120, 0.15);
}
.filter-checkbox-label:hover input[type="checkbox"] {
  border-color: var(--green);
}
.filter-count {
  margin-left: auto;
  font-size: 11px;
  font-weight: 750;
  color: var(--muted);
  background: rgba(229, 224, 214, 0.35);
  padding: 2px 6px;
  border-radius: 6px;
  transition: background 0.2s ease, color 0.2s ease;
}
.filter-checkbox-label:hover .filter-count {
  background: rgba(10, 191, 120, 0.1);
  color: var(--green-dark);
}
.marketplace-content {
  display: grid;
  gap: 24px;
}
.marketplace-search-bar {
  display: grid;
  gap: 12px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(229, 224, 214, 0.7);
  box-shadow: 0 8px 32px rgba(40, 34, 24, 0.03);
  border-radius: 20px;
  padding: 16px;
  text-align: left;
}
.search-input-wrapper {
  position: relative;
  width: 100%;
}
.search-input-wrapper .search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
}
.search-input-wrapper input {
  width: 100%;
  height: 48px;
  padding: 0 16px 0 48px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #faf8f2;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  transition: border-color .18s ease, background .18s ease;
}
.search-input-wrapper input:focus {
  outline: 0;
  border-color: var(--green);
  background: white;
  box-shadow: 0 0 0 3px rgba(10, 191, 120, 0.1);
}
.active-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.active-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f4f2ed;
  border: 1px solid #ece7df;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
}
.active-tag button {
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--muted);
  font-weight: 800;
  padding: 0;
  font-size: 11px;
}
.active-tag button:hover {
  color: #ff4757;
}

@media (max-width: 900px) {
  .marketplace-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .marketplace-sidebar {
    position: static;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

/* ============ Community Grid ============ */
.community-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 42px;
}
@media (max-width: 768px) {
  .community-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ============ Beta Badge Pulse Animation ============ */
@keyframes pulse-scale {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(10, 191, 120, 0.4); }
  70% { transform: scale(1.06); box-shadow: 0 0 0 5px rgba(10, 191, 120, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(10, 191, 120, 0); }
}
.beta-badge {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 99px;
  background: #e7f8ef;
  border: 1px solid #cbeedb;
  color: #126648;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  vertical-align: middle;
  margin-left: 4px;
  animation: pulse-scale 2.2s infinite ease-in-out;
}

.deepglow-controls-layout {
  display: grid;
  grid-template-columns: minmax(280px, 430px) 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.deepglow-controls-shot {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(125, 211, 252, .28);
  background: #111827;
  box-shadow: 0 24px 70px rgba(20, 18, 30, .14);
}
.deepglow-controls-shot img {
  display: block;
  width: 100%;
  height: auto;
}
.deepglow-control-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.deepglow-control-tabs article {
  padding: 22px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.78);
  text-align: left;
  box-shadow: 0 12px 34px rgba(40,34,24,.04);
}
.deepglow-control-tabs article:first-child {
  grid-column: 1 / -1;
}
.deepglow-control-tabs b {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
  letter-spacing: -.025em;
}
.deepglow-control-tabs span {
  color: var(--muted);
}
.deepglow-control-tabs ul {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 8px;
  line-height: 1.55;
}
.deepglow-control-tabs li::marker {
  color: var(--green);
}
.deepglow-control-tabs strong {
  color: var(--ink);
  font-weight: 850;
}
@media (max-width: 960px) {
  .deepglow-controls-layout,
  .deepglow-control-tabs {
    grid-template-columns: 1fr;
  }
  .deepglow-hero-box {
    width: min(320px, 78vw);
  }
}
