/* Loja do M0ssChid — palco preto de "galeria" (referência: Refero, Apple iPhone 18 Pro), verde do plugin como única cor de compra */
@font-face { font-family: "Inter"; src: url("/fonts/Inter.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Space Mono"; src: url("/fonts/SpaceMono-Regular.ttf"); font-display: swap; }

:root {
  --obsidian: #000; --graphite: #0e0e0e; --carbon: #1d1d1f; --steel: #333336; --slate: #6e6e73; --ash: #86868b;
  --porcelain: #f5f5f7; --lime: #bee06e; --lime-link: #cdeb87; --lilac: #bea0f0; --new: #e0782f; --red: #ff6b5b;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--obsidian); color: var(--porcelain);
  font: 400 17px/1.47 "Inter", system-ui, sans-serif; letter-spacing: -0.022em; -webkit-font-smoothing: antialiased;
}
a { color: var(--lime-link); text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; }
.wrap { width: min(1080px, 100% - 40px); margin: 0 auto; }
.wrap-wide { padding: 0 clamp(16px, 3vw, 36px); }

/* ---------- navegação: barra da marca (Moss) + barra do produto (M0ssChid), como na referência */
.gnav { background: var(--obsidian); height: 68px; font-size: 13px; }
.gnav .wrap-wide { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.gnav .brand { display: inline-flex; align-items: center; gap: 12px; font: 700 26px "Inter"; letter-spacing: -0.02em; }
.gnav .brand img { border-radius: 50%; box-shadow: 0 0 0 2px rgba(190, 160, 240, .35), 0 0 18px rgba(190, 160, 240, .25); }
.gnav-link { color: rgba(255, 255, 255, .8); }
/* aba do produto: o M0ssChid é um dos produtos da marca */
.tab {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 980px;
  font: 600 15px "Inter"; color: var(--ash); box-shadow: inset 0 0 0 1px var(--steel); transition: color .2s, background .2s;
}
.tab:hover { text-decoration: none; color: var(--porcelain); }
.tab.on { color: var(--porcelain); background: rgba(255, 255, 255, .08); }
.tab .live { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 8px var(--lime); }
.nav {
  position: sticky; top: 0; z-index: 10; height: 52px; background: rgba(14, 14, 14, .72);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid #282828;
}
.nav .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { font: 600 19px "Inter"; color: var(--porcelain); letter-spacing: .01em; }
.brand:hover { text-decoration: none; }
.nav .links { display: flex; gap: 22px; margin-left: auto; font-size: 12px; }
.nav .links a { color: rgba(255, 255, 255, .8); }
.nav .pill { margin-left: 0; }
@media (max-width: 640px) { .nav .links { display: none; } .nav .pill { margin-left: auto; } }

/* ---------- botões */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer;
  border-radius: 980px; padding: 8px 16px; font: 500 14px "Inter", sans-serif; letter-spacing: -0.016em;
  background: var(--lime); color: #11160b; transition: transform .2s, filter .2s, box-shadow .2s;
}
.pill:hover { text-decoration: none; filter: brightness(1.08); transform: translateY(-1px); }
.pill.big { padding: 15px 30px; font-size: 17px; }
.pill.line { background: transparent; color: var(--porcelain); box-shadow: inset 0 0 0 1px var(--slate); }
.pill.line:hover { box-shadow: inset 0 0 0 1px var(--porcelain); }
.pill.block { display: flex; width: 100%; }
.pill:disabled { opacity: .5; cursor: wait; transform: none; }
.capsule {
  display: inline-flex; align-items: center; border-radius: 36px; padding: 10px 18px;
  background: rgba(66, 66, 69, .72); color: rgba(255, 255, 255, .8); font-size: 14px;
}
.capsule b { color: var(--porcelain); font-weight: 600; margin-right: 6px; }

/* ---------- herói */
.hero { position: relative; text-align: center; padding: 84px 0 0; overflow: hidden; }
.eyebrow { font-size: 14px; color: var(--ash); }
.eyebrow .new { color: var(--new); font-weight: 600; margin-right: 6px; }
.hero .name { font: 600 32px/1.13 "Inter"; margin: 10px 0 6px; letter-spacing: .004em; }
.display { font: 600 clamp(44px, 8vw, 88px)/1.08 "Inter", system-ui, sans-serif; letter-spacing: -0.035em; margin: 0; }
.chord {
  display: inline-block; position: relative; text-align: center; vertical-align: bottom; white-space: nowrap;
  color: var(--lime); height: 1.1em; overflow: hidden; transition: width .5s cubic-bezier(.2, .8, .2, 1);
}
.chord span { display: inline-block; animation: chordIn .55s cubic-bezier(.2, .8, .2, 1) both; }
.chord span.out { position: absolute; top: 0; left: 50%; translate: -50% 0; animation: chordOut .45s ease-in both; }
@keyframes chordIn { from { transform: translateY(70%); opacity: 0; filter: blur(6px); } }
@keyframes chordOut { to { transform: translateY(-70%); opacity: 0; filter: blur(6px); } }
.buy-row { display: flex; gap: 12px; justify-content: center; align-items: center; flex-wrap: wrap; margin: 34px 0 0; }

.stage { position: relative; margin: 64px auto 0; width: min(1000px, 100%); perspective: 1400px; }
.glow {
  position: absolute; inset: 8% 6% -10%; z-index: 0; filter: blur(70px); opacity: .55;
  background: radial-gradient(40% 50% at 30% 55%, rgba(190, 224, 110, .55), transparent 70%),
              radial-gradient(40% 50% at 72% 45%, rgba(190, 160, 240, .45), transparent 70%);
  animation: breathe 7s ease-in-out infinite;
}
@keyframes breathe { 50% { opacity: .9; transform: scale(1.06); } }
.device {
  position: relative; z-index: 1; width: 100%; transform-origin: 50% 100%;
  transform: rotateX(var(--tilt, 22deg)) scale(var(--zoom, .9));
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .7)); height: auto;
  border-radius: 1.96% / 3.81%;               /* os cantos de 22 px do plugin (1120 × 578) */
}
.fade-bottom { height: 120px; background: linear-gradient(transparent, var(--obsidian)); margin-top: -120px; position: relative; z-index: 2; }

/* ---------- faixas */
.band { padding: 110px 0; }
.band.carbon { background: linear-gradient(#1d1d1f, #151516 420px); }
.band h2 { font: 600 clamp(32px, 5vw, 56px)/1.07 "Inter"; letter-spacing: -0.03em; margin: 0 0 14px; }
.band .lead { color: var(--ash); font-size: 19px; max-width: 640px; margin: 0 0 48px; }
.band .lead b { color: var(--porcelain); font-weight: 600; }

.tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.tile {
  background: var(--obsidian); border-radius: 28px; padding: 30px; overflow: hidden; position: relative;
  grid-column: span 2; display: flex; flex-direction: column; gap: 10px;
}
.tile.w3 { grid-column: span 3; }
.tile.w4 { grid-column: span 4; }
.tile h3 { font: 600 24px/1.17 "Inter"; margin: 0; letter-spacing: -0.01em; }
.tile p { margin: 0; color: var(--ash); font-size: 15px; }
.tile p b { color: var(--porcelain); font-weight: 600; }
.tile img { border-radius: 16px; margin-top: auto; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.tile:hover img { transform: scale(1.03); }
.metric { font: 600 clamp(52px, 7vw, 76px)/1 "Inter"; letter-spacing: -0.04em; color: var(--porcelain); }
.metric small { font-size: .4em; letter-spacing: -0.01em; color: var(--ash); margin-left: 4px; }
.metric.lime { color: var(--lime); }
.metric.lilac { color: var(--lilac); }
@media (max-width: 860px) {
  .tiles { grid-template-columns: 1fr 1fr; }
  .tile, .tile.w3, .tile.w4 { grid-column: span 2; }
  .tile.half { grid-column: span 1; }
}

/* ---------- sons em movimento */
.marquee { overflow: hidden; padding: 6px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee .row { display: flex; gap: 12px; width: max-content; animation: slide 60s linear infinite; margin-bottom: 12px; }
.marquee .row.rev { animation-direction: reverse; animation-duration: 75s; }
.marquee:hover .row { animation-play-state: paused; }
.marquee span {
  white-space: nowrap; border-radius: 980px; padding: 12px 20px; font-size: 15px; font-weight: 500;
  background: var(--carbon); color: var(--porcelain); box-shadow: inset 0 0 0 1px var(--steel);
}
.marquee span:nth-child(5n+1) { color: var(--lime); }
.marquee span:nth-child(7n+3) { color: var(--lilac); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- compra */
.panel { background: var(--carbon); border-radius: 28px; padding: clamp(28px, 5vw, 56px); }
.buy { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .buy { grid-template-columns: 1fr; } }
.price { font: 600 clamp(56px, 8vw, 88px)/1 "Inter"; letter-spacing: -0.04em; }
.checks { list-style: none; padding: 0; margin: 26px 0 0; }
.checks li { padding: 12px 0 12px 32px; border-top: 1px solid var(--steel); position: relative; color: var(--ash); font-size: 15px; }
.checks li b { color: var(--porcelain); font-weight: 600; }
.checks li::before {
  content: ""; position: absolute; left: 4px; top: 17px; width: 12px; height: 7px;
  border-left: 2px solid var(--lime); border-bottom: 2px solid var(--lime); transform: rotate(-45deg);
}
.methods { display: flex; gap: 8px; margin-bottom: 8px; }
.methods span { font-size: 12px; font-weight: 600; border-radius: 980px; padding: 6px 12px; background: rgba(255, 255, 255, .06); color: var(--porcelain); }
label { display: block; font-size: 12px; color: var(--ash); margin: 16px 0 6px 20px; }
input {
  width: 100%; padding: 14px 22px; border-radius: 980px; border: 1px solid var(--slate);
  background: rgba(255, 255, 255, .04); color: var(--porcelain); font: inherit; transition: border-color .2s, background .2s;
}
input:focus { outline: 2px solid var(--lime); outline-offset: 1px; border-color: transparent; background: rgba(255, 255, 255, .07); }
form .pill.block { margin-top: 26px; }
.pay { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 26px; }
@media (max-width: 480px) { .pay { grid-template-columns: 1fr; } }
.secure { display: flex; gap: 10px; align-items: flex-start; color: var(--ash); font-size: 13px; line-height: 1.45; margin: 4px 0 0; }
.secure b { color: var(--porcelain); font-weight: 600; }
.lock {
  flex: none; width: 12px; height: 10px; margin-top: 6px; border-radius: 2px; background: var(--lime); position: relative;
}
.lock::before {
  content: ""; position: absolute; left: 2px; top: -6px; width: 8px; height: 8px; border: 2px solid var(--lime);
  border-bottom: 0; border-radius: 5px 5px 0 0; box-sizing: border-box;
}
.err { color: var(--red); min-height: 1.4em; margin-top: 12px; font-size: 14px; text-align: center; }
.fine { color: var(--ash); font-size: 12px; line-height: 1.5; margin-top: 14px; }

footer { border-top: 1px solid #1f1f1f; padding: 30px 0 46px; color: var(--ash); font-size: 12px; }
.foot { display: flex; align-items: center; gap: 10px; }
.foot img { border-radius: 50%; }
.foot b { color: var(--porcelain); font-weight: 600; }
.privacy { color: var(--slate); font-size: 11px; margin-top: 14px; }

/* ---------- entrada ao rolar */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .8, .2, 1); }
.reveal.on { opacity: 1; transform: none; }
.tiles .reveal:nth-child(3n+2) { transition-delay: .08s; }
.tiles .reveal:nth-child(3n) { transition-delay: .16s; }
.rise { animation: rise 1s cubic-bezier(.2, .8, .2, 1) both; }
.rise.d1 { animation-delay: .12s; } .rise.d2 { animation-delay: .24s; } .rise.d3 { animation-delay: .4s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }

/* ---------- página do pedido */
.order { max-width: 620px; margin: 56px auto 80px; text-align: center; }
.order h1 { font: 600 clamp(34px, 6vw, 48px)/1.1 "Inter"; letter-spacing: -0.03em; margin: 0; }
.order .sub { color: var(--ash); margin: 8px 0 26px; font-size: 15px; }
.seg { display: inline-flex; background: var(--obsidian); border-radius: 980px; padding: 4px; box-shadow: inset 0 0 0 1px var(--steel); margin-bottom: 26px; }
.seg button {
  border: 0; background: transparent; color: var(--ash); font: 500 14px "Inter"; padding: 9px 22px; border-radius: 980px; cursor: pointer;
  transition: background .25s, color .25s;
}
.seg button.on { background: var(--porcelain); color: #111; }
.seg button:disabled { cursor: wait; }
.key {
  font-family: "Space Mono", monospace; font-size: clamp(17px, 3.6vw, 26px); letter-spacing: .03em; color: var(--lime);
  background: var(--obsidian); border-radius: 22px; padding: 22px 10px; margin: 18px 0; user-select: all;
  box-shadow: inset 0 0 0 1px rgba(190, 224, 110, .4), 0 0 60px rgba(190, 224, 110, .12);
  animation: rise .8s cubic-bezier(.2, .8, .2, 1) both;
}
.stack { display: grid; gap: 10px; margin-top: 8px; }
.steps { text-align: left; color: var(--ash); padding-left: 20px; margin: 26px 0 0; }
.steps li { margin: 8px 0; }
.steps b { color: var(--porcelain); }
.wait { color: var(--ash); font-size: 14px; margin-top: 22px; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); margin-right: 8px; animation: pulse 1.2s infinite; }
@keyframes pulse { 50% { opacity: .2; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .device { transform: none; }
}
