/* Bones Machina — Complementos Comerciais (Bones API, Simulador de Tokens, Portal de Keys, Checkout Automático e Admin)
   Integrado sobre a identidade oficial v4.4 (Manrope, preto frio, osso e menta). */

/* Ajuste da dobra inicial (Hero Above-the-Fold):
   Garante que cabeçalho, selo, título, subtítulo, emblema 3D, botões e aviso pós-compra
   apareçam 100% visíveis ao abrir a página (100svh), sem cortar e sem precisar dar scroll. */
body.landing-v2.premium .nav-wrap {
  height: clamp(56px, 7.2svh, 74px);
}

@media (min-width: 801px) {
  body.landing-v2.premium .nav-wrap {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
  }
  body.landing-v2.premium .nav-wrap > .brand {
    justify-self: start;
  }
  body.landing-v2.premium .desktop-nav {
    justify-self: center;
    gap: clamp(18px, 2.3vw, 34px);
    white-space: nowrap;
  }
  body.landing-v2.premium .nav-cta {
    justify-self: end;
  }
}

@media (min-width: 801px) and (max-width: 960px) {
  body.landing-v2.premium .nav-wrap {
    grid-template-columns: auto 1fr auto;
    gap: 14px;
  }
  body.landing-v2.premium .desktop-nav {
    gap: 14px;
    font-size: 13px;
  }
}

body.landing-v2.premium .hero-v2 {
  min-height: calc(100svh - clamp(56px, 7.2svh, 74px));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: clamp(8px, 1.8svh, 24px);
  padding-bottom: clamp(10px, 2svh, 24px);
}

body.landing-v2.premium .hero-v2-copy {
  flex: 0 0 auto;
}

body.landing-v2.premium .hero-label-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin-inline: auto;
}

body.landing-v2.premium .hero-label {
  padding: 4px 12px;
  font-size: 11px !important;
}

body.landing-v2.premium .hero-v2 h1 {
  font-size: clamp(36px, min(5vw, 7.6svh), 72px);
  line-height: 1.04;
  margin-block: clamp(8px, 1.5svh, 18px) clamp(6px, 1.2svh, 14px);
}

body.landing-v2.premium .hero-v2-description {
  font-size: clamp(13.5px, min(1.25vw, 2.15svh), 17px);
  line-height: 1.45;
  max-width: 560px;
  margin-inline: auto;
  text-wrap: balance;
}

body.landing-v2.premium .machine-stage {
  flex: 0 0 auto;
  height: clamp(190px, 34svh, 340px);
  margin-block: clamp(2px, 0.6svh, 8px);
}

body.landing-v2.premium .orbit-system {
  inset: 0;
  --satellite-x: clamp(160px, 27svh, 258px);
  --satellite-y: clamp(50px, 8.5svh, 84px);
  --satellite-size: clamp(46px, 7.5svh, 72px);
  --satellite-period: 16s;
}

body.landing-v2.premium .orbit-system .machine-sculpture {
  width: clamp(190px, 33.5svh, 340px);
  transform: translate3d(-50%, -50%, 0);
  animation: none !important;
}

body.landing-v2.premium .satellite-ring,
body.landing-v2.premium .satellite {
  top: 50%;
}

/* Órbita 3D contínua e fluida dos 3 elementos ao redor do emblema central
   (passando pela frente no arco inferior z-index:3 e por trás no arco superior z-index:0,
   independente da configuração de redução de animação do Windows). */
body.landing-v2.premium .orbit-system .satellite-idea {
  --satellite-delay: -9.3333s;
}

body.landing-v2.premium .orbit-system .satellite-youtube {
  --satellite-delay: -14.6667s;
}

body.landing-v2.premium .orbit-system .satellite-gear {
  --satellite-delay: -4s;
}

body.landing-v2.premium .orbit-system .satellite {
  animation:
    bones-satellite-orbit var(--satellite-period) linear var(--satellite-delay) infinite both,
    bones-satellite-layer var(--satellite-period) steps(1, end) var(--satellite-delay) infinite both !important;
  animation-play-state: running, running !important;
  will-change: transform, opacity;
}

body.landing-v2.premium .orbit-system .satellite-gear .satellite-core svg {
  animation: bones-gear-spin 20s linear infinite !important;
  animation-play-state: running !important;
}

body.landing-v2.premium .machine-stage .youtube-stars i {
  animation: youtube-twinkle var(--twinkle, 8s) ease-in-out var(--twinkle-delay, 0s) infinite !important;
  animation-play-state: running !important;
}

body.landing-v2.premium.orbit-paused .orbit-system .satellite,
body.landing-v2.premium.orbit-paused .orbit-system .satellite-gear .satellite-core svg,
body.landing-v2.premium.orbit-paused .machine-stage .youtube-stars i {
  animation-play-state: paused !important;
}

@keyframes bones-emblem-hover {
  0%, 100% { transform: translate3d(-50%, -50%, 0) rotate(-0.5deg); }
  50% { transform: translate3d(-50%, calc(-50% - 6px), 0) rotate(0.5deg); }
}

@keyframes bones-gear-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes bones-satellite-layer {
  0%, 100% { z-index: 3; }
  50% { z-index: 0; }
}

@keyframes bones-satellite-orbit {
  0% { transform: translate(calc(-50% + var(--satellite-x) * 1), -50%) scale(0.98); opacity: 0.84; }
  2.78% { transform: translate(calc(-50% + var(--satellite-x) * 0.9848), calc(-50% + var(--satellite-y) * 0.1736)) scale(1.0008); opacity: 0.868; }
  5.56% { transform: translate(calc(-50% + var(--satellite-x) * 0.9397), calc(-50% + var(--satellite-y) * 0.342)) scale(1.021); opacity: 0.895; }
  8.33% { transform: translate(calc(-50% + var(--satellite-x) * 0.866), calc(-50% + var(--satellite-y) * 0.5)) scale(1.04); opacity: 0.92; }
  11.11% { transform: translate(calc(-50% + var(--satellite-x) * 0.766), calc(-50% + var(--satellite-y) * 0.6428)) scale(1.0571); opacity: 0.943; }
  13.89% { transform: translate(calc(-50% + var(--satellite-x) * 0.6428), calc(-50% + var(--satellite-y) * 0.766)) scale(1.0719); opacity: 0.963; }
  16.67% { transform: translate(calc(-50% + var(--satellite-x) * 0.5), calc(-50% + var(--satellite-y) * 0.866)) scale(1.0839); opacity: 0.979; }
  19.44% { transform: translate(calc(-50% + var(--satellite-x) * 0.342), calc(-50% + var(--satellite-y) * 0.9397)) scale(1.0928); opacity: 0.99; }
  22.22% { transform: translate(calc(-50% + var(--satellite-x) * 0.1736), calc(-50% + var(--satellite-y) * 0.9848)) scale(1.0982); opacity: 0.998; }
  25% { transform: translate(-50%, calc(-50% + var(--satellite-y) * 1)) scale(1.1); opacity: 1; }
  27.78% { transform: translate(calc(-50% - var(--satellite-x) * 0.1736), calc(-50% + var(--satellite-y) * 0.9848)) scale(1.0982); opacity: 0.998; }
  30.56% { transform: translate(calc(-50% - var(--satellite-x) * 0.342), calc(-50% + var(--satellite-y) * 0.9397)) scale(1.0928); opacity: 0.99; }
  33.33% { transform: translate(calc(-50% - var(--satellite-x) * 0.5), calc(-50% + var(--satellite-y) * 0.866)) scale(1.0839); opacity: 0.979; }
  36.11% { transform: translate(calc(-50% - var(--satellite-x) * 0.6428), calc(-50% + var(--satellite-y) * 0.766)) scale(1.0719); opacity: 0.963; }
  38.89% { transform: translate(calc(-50% - var(--satellite-x) * 0.766), calc(-50% + var(--satellite-y) * 0.6428)) scale(1.0571); opacity: 0.943; }
  41.67% { transform: translate(calc(-50% - var(--satellite-x) * 0.866), calc(-50% + var(--satellite-y) * 0.5)) scale(1.04); opacity: 0.92; }
  44.44% { transform: translate(calc(-50% - var(--satellite-x) * 0.9397), calc(-50% + var(--satellite-y) * 0.342)) scale(1.021); opacity: 0.895; }
  47.22% { transform: translate(calc(-50% - var(--satellite-x) * 0.9848), calc(-50% + var(--satellite-y) * 0.1736)) scale(1.0008); opacity: 0.868; }
  50% { transform: translate(calc(-50% - var(--satellite-x) * 1), -50%) scale(0.98); opacity: 0.84; }
  52.78% { transform: translate(calc(-50% - var(--satellite-x) * 0.9848), calc(-50% - var(--satellite-y) * 0.1736)) scale(0.9592); opacity: 0.812; }
  55.56% { transform: translate(calc(-50% - var(--satellite-x) * 0.9397), calc(-50% - var(--satellite-y) * 0.342)) scale(0.939); opacity: 0.785; }
  58.33% { transform: translate(calc(-50% - var(--satellite-x) * 0.866), calc(-50% - var(--satellite-y) * 0.5)) scale(0.92); opacity: 0.76; }
  61.11% { transform: translate(calc(-50% - var(--satellite-x) * 0.766), calc(-50% - var(--satellite-y) * 0.6428)) scale(0.9029); opacity: 0.737; }
  63.89% { transform: translate(calc(-50% - var(--satellite-x) * 0.6428), calc(-50% - var(--satellite-y) * 0.766)) scale(0.8881); opacity: 0.717; }
  66.67% { transform: translate(calc(-50% - var(--satellite-x) * 0.5), calc(-50% - var(--satellite-y) * 0.866)) scale(0.8761); opacity: 0.701; }
  69.44% { transform: translate(calc(-50% - var(--satellite-x) * 0.342), calc(-50% - var(--satellite-y) * 0.9397)) scale(0.8672); opacity: 0.69; }
  72.22% { transform: translate(calc(-50% - var(--satellite-x) * 0.1736), calc(-50% - var(--satellite-y) * 0.9848)) scale(0.8618); opacity: 0.682; }
  75% { transform: translate(-50%, calc(-50% - var(--satellite-y) * 1)) scale(0.86); opacity: 0.68; }
  77.78% { transform: translate(calc(-50% + var(--satellite-x) * 0.1736), calc(-50% - var(--satellite-y) * 0.9848)) scale(0.8618); opacity: 0.682; }
  80.56% { transform: translate(calc(-50% + var(--satellite-x) * 0.342), calc(-50% - var(--satellite-y) * 0.9397)) scale(0.8672); opacity: 0.69; }
  83.33% { transform: translate(calc(-50% + var(--satellite-x) * 0.5), calc(-50% - var(--satellite-y) * 0.866)) scale(0.8761); opacity: 0.701; }
  86.11% { transform: translate(calc(-50% + var(--satellite-x) * 0.6428), calc(-50% - var(--satellite-y) * 0.766)) scale(0.8881); opacity: 0.717; }
  88.89% { transform: translate(calc(-50% + var(--satellite-x) * 0.766), calc(-50% - var(--satellite-y) * 0.6428)) scale(0.9029); opacity: 0.737; }
  91.67% { transform: translate(calc(-50% + var(--satellite-x) * 0.866), calc(-50% - var(--satellite-y) * 0.5)) scale(0.92); opacity: 0.76; }
  94.44% { transform: translate(calc(-50% + var(--satellite-x) * 0.9397), calc(-50% - var(--satellite-y) * 0.342)) scale(0.939); opacity: 0.785; }
  97.22% { transform: translate(calc(-50% + var(--satellite-x) * 0.9848), calc(-50% - var(--satellite-y) * 0.1736)) scale(0.9592); opacity: 0.812; }
  100% { transform: translate(calc(-50% + var(--satellite-x) * 1), -50%) scale(0.98); opacity: 0.84; }
}

body.landing-v2.premium .hero-after-orbit {
  flex: 0 0 auto;
  padding-bottom: 0;
}

body.landing-v2.premium .hero-after-orbit .hero-actions {
  margin-top: clamp(4px, 1svh, 12px);
  gap: 12px;
}

body.landing-v2.premium .hero-after-orbit .button {
  min-width: 0;
  width: auto;
  min-height: clamp(40px, 6svh, 48px);
  padding-block: clamp(8px, 1.2svh, 12px);
  padding-inline: 15px;
  gap: 9px;
  font-size: clamp(13px, 1.9svh, 15px);
}

body.landing-v2.premium .hero-after-orbit .hero-v2-note {
  margin-top: clamp(7px, 1.3svh, 14px);
  font-size: clamp(12px, 1.75svh, 14px);
  line-height: 1.4;
}

@media (max-width: 600px) {
  body.landing-v2.premium .hero-v2 h1 {
    font-size: clamp(30px, min(8.4vw, 5.6svh), 46px);
  }
  body.landing-v2.premium .hero-v2-description {
    max-width: 36ch;
  }
  body.landing-v2.premium .machine-stage {
    height: clamp(168px, 27svh, 240px);
  }
  body.landing-v2.premium .orbit-system .machine-sculpture {
    width: clamp(168px, 26.5svh, 235px);
  }
  body.landing-v2.premium .orbit-system {
    --satellite-x: min(33vw, 136px);
    --satellite-y: clamp(42px, 6.8svh, 64px);
    --satellite-size: 46px;
  }
  body.landing-v2.premium .hero-after-orbit .hero-actions {
    gap: 8px;
  }
  body.landing-v2.premium .hero-after-orbit .button {
    width: auto;
    max-width: 100%;
    padding-inline: 13px;
    gap: 8px;
  }
}

.api-pack-section {
  background: radial-gradient(ellipse at 50% 0%, #1b3b4244, transparent 68%), #080c12;
  border-bottom: 1px solid #ffffff12;
}

.api-pill-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 44px;
}

.api-pill-strip span {
  font: 12px/1.4 var(--mono);
  letter-spacing: .04em;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid #9be4d32e;
  background: #101b22cc;
  color: #cfe8e2;
}

.token-calc-shell {
  margin-top: 38px;
  padding: 28px;
  border-radius: 16px;
  border: 1px solid #b8d8e629;
  background: linear-gradient(145deg, #131e2a99, #0c121b);
  box-shadow: inset 0 1px #ffffff08;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 32px;
  align-items: center;
}

.token-calc-controls label.calc-range-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 16px;
  color: #e6efec;
  margin-bottom: 12px;
}

.token-calc-controls label.calc-range-label strong {
  font-size: 24px;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.token-calc-controls input[type="range"] {
  width: 100%;
  accent-color: #9be4d3;
  cursor: pointer;
}

.calc-toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.calc-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 9px;
  border: 1px solid #b6d4e333;
  background: #0e1620;
  font-size: 14px;
  color: #cddbe2;
  cursor: pointer;
}

.calc-check input {
  accent-color: #9be4d3;
  width: 16px;
  height: 16px;
  margin: 0;
}

.token-calc-result {
  padding: 22px 24px;
  border-radius: 13px;
  border: 1px solid #8abcb566;
  background: radial-gradient(ellipse at 80% 0%, #2a525655, transparent 70%), #0e1821;
}

.token-calc-result .mini-label {
  display: block;
  margin-bottom: 8px;
}

.token-calc-result strong.calc-tokens-num {
  display: block;
  font-size: 36px;
  line-height: 1.15;
  letter-spacing: -.04em;
  color: #eff6f3;
  font-variant-numeric: tabular-nums;
}

.token-calc-result p {
  font-size: 14px !important;
  margin-top: 8px;
  color: #b5c6cf;
}

.topup-block {
  margin-top: 34px;
}

.topup-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.topup-header h3 {
  font-size: 20px;
  color: #e8efec;
}

.topup-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.topup-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border-radius: 13px;
  border: 1px solid #c5dfed24;
  background: linear-gradient(145deg, #111b2688, #0b1119);
}

.topup-card strong {
  display: block;
  font-size: 18px;
  color: #eff4f1;
}

.topup-card small {
  display: block;
  font-size: 13px;
  color: #9fb0bd;
  margin-top: 4px;
}

.topup-card .topup-cta {
  min-height: 44px;
  padding: 10px 16px;
  font-size: 14px !important;
  gap: 10px;
  flex: none;
}

/* Portal do Cliente (#portal e /obrigado) */
.portal-section {
  border-top: 1px solid #ffffff12;
  background: radial-gradient(ellipse at 20% 50%, #17323b3b, transparent 65%), #07090c;
}

.portal-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 32px;
  align-items: start;
}

.portal-card {
  padding: 28px;
  border-radius: 16px;
  border: 1px solid #bbd9e526;
  background: linear-gradient(145deg, #15202d8c, #0d131c);
  box-shadow: inset 0 1px #ffffff08;
}

.portal-card h3 {
  font-size: 22px;
  margin-bottom: 8px;
  color: #f0f2ec;
}

.portal-card > p {
  font-size: 15px !important;
  margin-bottom: 20px;
}

.portal-field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}

.portal-label {
  display: block;
  font-size: 13px;
  color: #b9cad4;
  margin-bottom: 6px;
}

.portal-input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 9px;
  border: 1px solid #adcbd047;
  background: #0c141e;
  color: #eef5f2;
  font-size: 15px;
}

.portal-input::placeholder {
  color: #6d7f8c;
}

.portal-input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.portal-result-box {
  margin-top: 18px;
  padding: 20px;
  border-radius: 13px;
  border: 1px solid #8abcb559;
  background: #0b141d;
}

.key-list {
  display: grid;
  gap: 10px;
  margin: 12px 0 16px;
}

.key-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #9be4d336;
  background: #111f29;
}

.key-item-meta {
  font: 11px/1.3 var(--mono);
  color: #9ec5bd;
  display: block;
  margin-bottom: 3px;
}

.key-code {
  font: 600 17px/1.3 var(--mono);
  letter-spacing: .04em;
  color: #e9fbf5;
  word-break: break-all;
}

.copy-key-btn {
  padding: 8px 13px;
  min-height: 38px;
  border-radius: 8px;
  border: 1px solid #b8e6d840;
  background: #193138;
  color: #dff8ef;
  font-size: 13px;
  font-weight: 600;
}

.copy-key-btn:hover {
  background: #24464f;
}

.portal-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid #ffffff14;
  font-size: 14px;
}

.portal-meta-grid strong {
  display: block;
  color: #eaf2ef;
  margin-top: 2px;
}

.portal-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  font: 600 11px/1.4 var(--mono);
  letter-spacing: .04em;
}

.status-pill.is-on {
  background: #1b4338;
  color: #a9f3d9;
  border: 1px solid #7fd8b955;
}

.status-pill.is-off {
  background: #1d2630;
  color: #b4c2ce;
  border: 1px solid #ffffff1f;
}

/* Complementos do Checkout Automático (checkout.html) */
.order-cat-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 5px;
  border-radius: 12px;
  border: 1px solid #b6d4e338;
  background: #0c131c;
  margin-bottom: 18px;
}

.order-cat-tab {
  min-height: 46px;
  padding: 10px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #a8bac7;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  transition: background .18s, color .18s;
}

.order-cat-tab[aria-selected="true"] {
  background: linear-gradient(140deg, #2b4a4e, #1a2c38);
  color: #e7fbf3;
  box-shadow: inset 0 1px #ffffff1c;
}

.order-cat-tab:hover {
  color: #effaf6;
}

.order-input-group {
  display: grid;
  gap: 14px;
}

.order-input {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  border-radius: 10px;
  border: 1px solid #adcbd061;
  background: #121e2b;
  color: #e8f5f0;
  font-size: 16px;
}

.order-input::placeholder {
  color: #748996;
}

.checkout-status-banner {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid #e6c68759;
  background: #2a2214;
  color: #f3dfb6;
  font-size: 14px;
  line-height: 1.55;
}

/* Painel Administrativo (/admin) unificado na identidade Bones v4.4 */
.admin-shell {
  padding-block: 42px 80px;
}

.admin-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 22px;
}

.admin-card {
  padding: 24px;
  border-radius: 16px;
  border: 1px solid #b6d4e333;
  background: linear-gradient(145deg, #141f2b99, #0c131c);
  margin-bottom: 22px;
}

.admin-card h2, .admin-card h3 {
  color: #eff3ee;
  margin-bottom: 8px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.admin-table th, .admin-table td {
  padding: 11px 12px;
  border-bottom: 1px solid #ffffff14;
  text-align: left;
  vertical-align: middle;
}

.admin-table th {
  font: 600 11px/1.4 var(--mono);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #9cb4c0;
}

.admin-form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.admin-textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 9px;
  border: 1px solid #adcbd047;
  background: #0c141e;
  color: #eef5f2;
  font: inherit;
  font-size: 14px;
}

.webhook-list {
  display: grid;
  gap: 10px;
}

.webhook-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 15px;
  border-radius: 10px;
  border: 1px solid #ffffff14;
  background: #0b121a;
  font-size: 14px;
}

.webhook-item code {
  font-family: var(--mono);
  color: #bfece0;
  word-break: break-all;
}

@media (max-width: 960px) {
  .token-calc-shell,
  .portal-grid,
  .admin-grid-2 {
    grid-template-columns: 1fr;
  }
  .topup-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .portal-field-grid,
  .portal-meta-grid,
  .order-cat-tabs {
    grid-template-columns: 1fr;
  }
  .key-item {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Área do Cliente Autenticada (/conta) */
.account-shell {
  padding-block: 44px 88px;
}

.account-auth-wrap {
  max-width: 540px;
  margin: 18px auto 0;
}

.account-tabs-two {
  grid-template-columns: 1fr 1fr;
}

.account-feedback {
  margin-top: 14px;
  padding: 13px 16px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.5;
}

.account-feedback.is-error {
  border: 1px solid #f8717155;
  background: #2b1418;
  color: #fecaca;
}

.account-feedback.is-ok {
  border: 1px solid #7fd8b966;
  background: #122c26;
  color: #cbf7e6;
}

.account-feedback.is-info {
  border: 1px solid #e6c68759;
  background: #282113;
  color: #f3dfb6;
}

.account-hero-card {
  display: grid;
  grid-template-columns: 1.25fr .95fr;
  gap: 28px;
  align-items: center;
  padding: 30px;
  border-radius: 18px;
  border: 1px solid #9be4d336;
  background: radial-gradient(ellipse at 90% 0%, #244a4e52, transparent 65%), linear-gradient(145deg, #14212e9e, #0b1119);
  box-shadow: inset 0 1px #ffffff0d;
  margin-bottom: 28px;
}

.account-plan-title {
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.15;
  letter-spacing: -.03em;
  color: #f1f6f3;
  margin: 8px 0 10px;
}

.account-plan-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 26px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #ffffff14;
  font-size: 14px;
  color: #9fb3bf;
}

.account-plan-stats strong {
  display: block;
  font-size: 16px;
  color: #eef5f2;
  margin-top: 2px;
}

.account-download-panel {
  padding: 22px;
  border-radius: 14px;
  border: 1px solid #b6d4e32b;
  background: #0c141ecc;
  display: grid;
  gap: 12px;
}

.account-keys-grid {
  display: grid;
  gap: 22px;
}

.account-key-card {
  padding: 26px 28px;
  border-radius: 18px;
  border: 1px solid #bbd9e529;
  background: linear-gradient(145deg, #131e2b99, #0c121b);
  box-shadow: inset 0 1px #ffffff08;
}

.account-key-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid #ffffff14;
}

.account-key-code-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.account-key-code {
  font: 700 clamp(18px, 2.2vw, 23px)/1.25 var(--mono);
  letter-spacing: .05em;
  color: #ebfcf6;
}

.account-key-panels {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 20px;
  margin-top: 20px;
}

.account-subpanel {
  padding: 20px;
  border-radius: 14px;
  border: 1px solid #ffffff14;
  background: #0b131c;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.account-subpanel h4 {
  font-size: 16px;
  color: #edf4f1;
  margin: 4px 0 6px;
}

.usage-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 6px;
}

.usage-metric-box {
  padding: 12px 13px;
  border-radius: 10px;
  border: 1px solid #ffffff12;
  background: #101b26;
}

.usage-metric-box span {
  display: block;
  font-size: 12px;
  color: #9ab0bc;
}

.usage-metric-box strong {
  display: block;
  font-size: 18px;
  color: #eff8f4;
  margin-top: 3px;
  font-variant-numeric: tabular-nums;
}

.usage-bar-wrap {
  margin-top: 10px;
}

.usage-bar-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #a8bcc7;
  margin-bottom: 6px;
}

.usage-bar-track {
  height: 9px;
  border-radius: 999px;
  background: #162432;
  overflow: hidden;
  border: 1px solid #ffffff12;
}

.usage-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #6ad0b5, #9be4d3);
  transition: width .35s ease;
}

.usage-bar-fill.is-warn {
  background: linear-gradient(90deg, #e7b963, #f59e0b);
}

.reset-confirm-box {
  margin-top: 10px;
  padding: 14px;
  border-radius: 11px;
  border: 1px solid #e6c68766;
  background: #261f12;
  font-size: 13px;
  color: #f4e2bc;
}

.reset-confirm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.status-pill.is-warn {
  background: #3a2d15;
  color: #f8dfa5;
  border: 1px solid #eab30855;
}

@media (max-width: 960px) {
  .account-hero-card,
  .account-key-panels {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .usage-metrics-grid {
    grid-template-columns: 1fr;
  }
}

/* Alinhamento exato de âncoras abaixo do cabeçalho fixo (.site-header):
   Evita a soma duplicada de scroll-padding-top (100px) + scroll-margin-top (75px) que exibia a faixa anterior. */
html:has(body.landing-v2.premium) {
  scroll-padding-top: calc(clamp(56px, 7.2svh, 74px) + 1px);
}

body.landing-v2.premium :is(.section, .editor-section) {
  scroll-margin-top: 0 !important;
}

/* Seção #por-dentro em layout split 2 colunas (referência visual v4.5):
   Coluna esquerda: pílula POR DENTRO, título com destaque menta, subtítulo, CTAs e checks.
   Coluna direita: janela real do Bones Editor com emblema 3D no canto superior direito e barra de prévia. */
body.landing-v2.premium .editor-split-section {
  min-height: calc(100svh - clamp(56px, 7.2svh, 74px));
  display: flex;
  align-items: center;
  padding-block: clamp(22px, 3.2svh, 42px);
  background:
    radial-gradient(ellipse at 72% 46%, rgba(44, 114, 118, 0.22), transparent 58%),
    radial-gradient(ellipse at 18% 30%, rgba(25, 52, 78, 0.22), transparent 52%),
    #07090c;
  border-block: 1px solid rgba(255, 255, 255, 0.06);
  overflow-x: clip;
}

body.landing-v2.premium .editor-split-container {
  width: min(1350px, calc(100% - 72px));
  max-width: 1350px;
}

body.landing-v2.premium .editor-split-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.25fr);
  gap: clamp(36px, 3.6vw, 52px);
  align-items: center;
}

body.landing-v2.premium .editor-split-copy {
  text-align: left;
  min-width: 0;
}

body.landing-v2.premium .editor-eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  margin-bottom: 20px;
}

body.landing-v2.premium .editor-eyebrow-pill .eyebrow {
  margin: 0;
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.12em;
  color: #cbd8d6;
}

body.landing-v2.premium .editor-pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: #83d6c5;
  box-shadow: 0 0 10px rgba(131, 214, 197, 0.65);
  flex: none;
}

body.landing-v2.premium .editor-split-section .editor-split-title {
  font-size: clamp(38px, min(3.9vw, 6.5svh), 52px);
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -0.042em;
  color: #f3f2ed;
  margin: 0;
  text-wrap: initial;
}

body.landing-v2.premium .editor-split-section .editor-split-title .editor-title-mint {
  display: block;
  text-wrap: balance;
  background: linear-gradient(100deg, #9beed5 0%, #75d4b8 55%, #5dbb9f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #7fd8be;
}

body.landing-v2.premium .editor-split-lead {
  font-size: clamp(15px, 1.18vw, 17px);
  line-height: 1.58;
  color: #a6b4c0;
  margin: 18px 0 0;
  max-width: 44ch;
  text-wrap: balance;
}

body.landing-v2.premium .editor-split-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
}

body.landing-v2.premium .editor-split-actions .button {
  min-width: 0;
  width: auto;
  min-height: 48px;
  padding: 11px 17px;
  gap: 9px;
  font-size: 14.5px;
  border-radius: 10px;
}

body.landing-v2.premium .editor-cta-demo small {
  font-size: 12.5px;
  font-weight: 500;
  color: #96aab6;
}

body.landing-v2.premium .editor-split-checks {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  font-size: 13px;
  color: #9fb0bc;
}

body.landing-v2.premium .editor-split-checks li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

body.landing-v2.premium .editor-split-checks li > span {
  color: #7fd8be;
  font-weight: 700;
  font-size: 13px;
}

body.landing-v2.premium .editor-split-stage {
  position: relative;
  min-width: 0;
  padding-top: 20px;
  padding-right: 24px;
}

body.landing-v2.premium .editor-card-frame {
  position: relative;
  border-radius: 16px;
  border: 1px solid rgba(154, 198, 208, 0.24);
  background: linear-gradient(165deg, #15202b 0%, #0b1118 60%, #101922 100%);
  box-shadow:
    0 30px 75px rgba(0, 0, 0, 0.68),
    0 0 0 1px rgba(255, 255, 255, 0.03),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

body.landing-v2.premium .editor-card-frame:hover {
  border-color: rgba(131, 214, 197, 0.44);
  box-shadow:
    0 34px 80px rgba(0, 0, 0, 0.72),
    0 0 36px rgba(114, 210, 182, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.11);
}

body.landing-v2.premium .editor-corner-emblem {
  position: absolute;
  top: -36px;
  right: -24px;
  width: clamp(78px, 6.8vw, 102px);
  height: auto;
  z-index: 4;
  pointer-events: none;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.75));
}

body.landing-v2.premium .editor-card-inner {
  border-radius: 15px;
  overflow: hidden;
}

body.landing-v2.premium .editor-card-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 82px 14px 18px;
  background: linear-gradient(180deg, rgba(24, 35, 46, 0.94), rgba(14, 21, 29, 0.94));
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

body.landing-v2.premium .editor-topbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

body.landing-v2.premium .editor-topbar-kicker {
  font: 600 10.5px/1 var(--mono);
  letter-spacing: 0.08em;
  color: #8fa5b2;
  white-space: nowrap;
}

body.landing-v2.premium .editor-topbar-project {
  font-size: 13px;
  font-weight: 600;
  color: #e6eef0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.landing-v2.premium .editor-ready-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(127, 216, 190, 0.12);
  border: 1px solid rgba(127, 216, 190, 0.3);
  color: #9be8d0;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
  flex: none;
}

body.landing-v2.premium .editor-card-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #090d13;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

body.landing-v2.premium .editor-card-viewport {
  display: block;
  position: relative;
  overflow: hidden;
  padding-block: clamp(16px, 2.4svh, 24px);
  padding-inline: 12px;
  background: #090c11;
}

body.landing-v2.premium .editor-card-viewport .editor-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

@media (max-width: 980px) {
  body.landing-v2.premium .editor-split-section {
    min-height: 0;
    padding-block: 56px;
  }
  body.landing-v2.premium .editor-split-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  body.landing-v2.premium .editor-split-section .editor-split-title {
    font-size: clamp(34px, 6.8vw, 46px);
  }
}

@media (max-width: 600px) {
  body.landing-v2.premium .editor-split-container {
    width: calc(100% - 40px);
  }
  body.landing-v2.premium .editor-split-section .editor-split-title {
    font-size: clamp(30px, 8.2vw, 38px);
  }
  body.landing-v2.premium .editor-split-actions .button {
    font-size: 13.5px;
    padding: 10px 14px;
    min-height: 45px;
  }
  body.landing-v2.premium .editor-split-stage {
    padding-top: 14px;
    padding-right: 6px;
  }
  body.landing-v2.premium .editor-corner-emblem {
    width: 62px;
    top: -22px;
    right: -8px;
  }
  body.landing-v2.premium .editor-card-topbar {
    padding: 9px 52px 9px 12px;
    gap: 8px;
  }
  body.landing-v2.premium .editor-topbar-kicker {
    display: none;
  }
  body.landing-v2.premium .editor-topbar-project {
    font-size: 11.5px;
  }
  body.landing-v2.premium .editor-ready-pill {
    font-size: 10.5px;
    padding: 3px 8px;
  }
}

/* Seção #demo ("O App Rodando" / "ELA RODANDO DE VERDADE"):
   Centraliza selo, título, player 16:9 e aviso inferior no mesmo eixo e garante respiro
   simétrico acima e abaixo ao clicar no atalho do cabeçalho, sem encostar na barra do Windows. */
body.landing-v2.premium .demo-section {
  --demo-avail-h: calc(100svh - clamp(56px, 7.2svh, 74px) - 1px);
  min-height: var(--demo-avail-h);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-block: clamp(18px, 2.8svh, 34px);
}

body.landing-v2.premium .demo-section .section-heading {
  width: 100%;
  max-width: 820px;
  margin: 0 auto clamp(12px, 1.8svh, 18px);
  text-align: center;
}

body.landing-v2.premium .demo-section .section-heading .eyebrow {
  font-size: clamp(10.5px, 1.4svh, 12px);
  line-height: 1.35;
}

body.landing-v2.premium .demo-section .section-heading h2 {
  font-size: clamp(25px, min(3.1vw, 4.6svh), 40px);
  line-height: 1.1;
  margin-block: clamp(5px, 0.9svh, 10px) 0;
}

body.landing-v2.premium .demo-section .demo-player {
  width: min(100%, 820px, max(300px, calc((var(--demo-avail-h) - clamp(198px, 29svh, 232px)) * 16 / 9)));
  max-width: none;
  margin: 0 auto;
  border-radius: 18px;
}

body.landing-v2.premium .demo-section:has(.demo-links > :not([hidden])) .demo-player {
  width: min(100%, 780px, max(300px, calc((var(--demo-avail-h) - clamp(244px, 34svh, 278px)) * 16 / 9)));
}

body.landing-v2.premium .demo-section .demo-cover {
  gap: 12px;
  font-size: clamp(14px, 1.9svh, 16px);
}

body.landing-v2.premium .demo-section .demo-play {
  width: clamp(60px, 8svh, 72px);
  height: clamp(42px, 5.6svh, 50px);
  border-radius: 14px;
  font-size: clamp(18px, 2.2svh, 21px);
}

body.landing-v2.premium .demo-section .demo-links:not(:has(> :not([hidden]))) {
  display: none;
}

body.landing-v2.premium .demo-section .demo-links {
  margin-top: clamp(8px, 1.4svh, 14px);
}

body.landing-v2.premium .demo-section .demo-note {
  margin-top: clamp(10px, 1.5svh, 14px);
  font-size: clamp(12px, 1.6svh, 13px);
  line-height: 1.4;
  text-align: center;
}

@media (max-width: 600px) {
  body.landing-v2.premium .demo-section {
    min-height: 0;
    padding-block: 48px;
  }
  body.landing-v2.premium .demo-section .section-heading,
  body.landing-v2.premium .demo-section .demo-player {
    width: 100%;
  }
}

/* Seção "O QUE ELA FAZ" (.craft-bento-section):
   Texto à esquerda, os 2 cards principais empilhados em coluna à direita (com carrossel 16:9 ampliado em Cenas Reais)
   e o retângulo "Ilimitado" fechando a base inteira — 100% visível na tela sem corte. */
body.landing-v2.premium .craft-bento-section {
  --craft-avail-h: calc(100svh - clamp(56px, 7.2svh, 74px) - 1px);
  min-height: var(--craft-avail-h);
  display: flex;
  align-items: center;
  width: min(1350px, calc(100% - 64px));
  max-width: 1350px;
  padding-block: clamp(14px, 2.2svh, 28px);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

body.landing-v2.premium .craft-bento-layout {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.35fr);
  gap: clamp(10px, 1.6svh, 16px) clamp(26px, 3vw, 44px);
  align-items: center;
}

body.landing-v2.premium .craft-bento-copy {
  text-align: left;
  margin: 0;
  max-width: 450px;
  min-width: 0;
}

body.landing-v2.premium .craft-bento-copy .editor-eyebrow-pill {
  margin-bottom: clamp(14px, 2svh, 20px);
}

body.landing-v2.premium .craft-bento-copy .editor-eyebrow-pill .eyebrow {
  margin: 0;
}

body.landing-v2.premium .craft-bento-copy h2 {
  font-size: clamp(32px, min(3.4vw, 5.5svh), 48px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin: 0;
  text-wrap: initial;
}

body.landing-v2.premium .craft-bento-copy > p:last-child {
  font-size: clamp(14.5px, min(1.15vw, 2.1svh), 16.5px);
  line-height: 1.55;
  margin: clamp(12px, 1.8svh, 18px) 0 0;
  max-width: 42ch;
  text-wrap: balance;
}

body.landing-v2.premium .craft-stack-col {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.5svh, 15px);
  min-width: 0;
}

body.landing-v2.premium .craft-stack-col .craft-card {
  min-height: 0 !important;
  padding: clamp(12px, 1.8svh, 18px) clamp(18px, 2vw, 24px);
  border-radius: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.92fr);
  gap: clamp(14px, 1.8vw, 22px);
  align-items: center;
}

body.landing-v2.premium .craft-stack-col .craft-card.craft-footage {
  overflow: visible;
  z-index: 6;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.15fr);
  padding: clamp(12px, 1.8svh, 18px) clamp(16px, 1.8vw, 22px);
}

body.landing-v2.premium .craft-stack-col .craft-card.craft-footage::after {
  border-radius: inherit;
}

body.landing-v2.premium .craft-stack-col .craft-card.craft-footage:has(.craft-carousel-slot:hover) {
  translate: none !important;
  z-index: 12;
}

body.landing-v2.premium .craft-stack-col .craft-card-body {
  min-width: 0;
}

body.landing-v2.premium .craft-stack-col .craft-card-top {
  justify-content: flex-start;
  gap: 10px;
  flex-wrap: wrap;
}

body.landing-v2.premium .craft-stack-col .micro-badge {
  font-size: 10px;
  line-height: 1.3;
  padding: 2px 7px;
}

body.landing-v2.premium .craft-stack-col .small-glyph {
  font-size: 20px;
  line-height: 1;
}

body.landing-v2.premium .craft-stack-col .craft-card h3 {
  font-size: clamp(18px, min(1.6vw, 2.95svh), 22px);
  line-height: 1.18;
  margin: clamp(6px, 0.95svh, 10px) 0 clamp(5px, 0.75svh, 8px);
}

body.landing-v2.premium .craft-stack-col .craft-card p {
  font-size: clamp(12.5px, min(1vw, 1.82svh), 14px);
  line-height: 1.45;
  max-width: 46ch;
  margin: 0;
}

body.landing-v2.premium .craft-stack-col .craft-card-media {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Carrossel 16:9 ampliado em Cenas Reais com expansão sutil em HD ao passar o mouse */
body.landing-v2.premium .craft-stack-col .craft-carousel {
  width: 100%;
  align-items: flex-end;
}

body.landing-v2.premium .craft-carousel-slot {
  position: relative;
  width: min(100%, 408px, calc(clamp(145px, 25.2svh, 228px) * 16 / 9));
  aspect-ratio: 16 / 9;
}

body.landing-v2.premium .craft-carousel-stage {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border-radius: 11px;
  border: 1px solid rgba(155, 228, 211, 0.3);
  background: #080c12;
  overflow: hidden;
  cursor: pointer;
  z-index: 2;
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.58),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition:
    width 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    border-radius 0.38s ease,
    border-color 0.25s ease,
    box-shadow 0.38s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

@media (hover: hover) and (pointer: fine) {
  body.landing-v2.premium .craft-carousel-slot:hover .craft-carousel-stage {
    width: clamp(460px, min(46vw, calc(46svh * 16 / 9)), 648px);
    transform: translateY(-38%);
    border-radius: 14px;
    border-color: rgba(155, 228, 211, 0.68);
    box-shadow:
      0 32px 80px rgba(0, 0, 0, 0.88),
      0 0 0 1px rgba(155, 228, 211, 0.22),
      0 0 38px rgba(131, 214, 197, 0.18),
      inset 0 1px 0 rgba(255, 255, 255, 0.14);
    z-index: 20;
  }
}

body.landing-v2.premium .craft-carousel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.48s ease, transform 0.48s ease !important;
  pointer-events: none;
}

body.landing-v2.premium .craft-carousel-slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

body.landing-v2.premium .craft-carousel-counter {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 2;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(7, 11, 16, 0.78);
  border: 1px solid rgba(155, 228, 211, 0.28);
  backdrop-filter: blur(6px);
  color: #dff7ef;
  font: 600 10px/1.2 var(--mono);
  letter-spacing: 0.06em;
  pointer-events: none;
}

body.landing-v2.premium .craft-carousel-bar {
  width: min(100%, 408px, calc(clamp(145px, 25.2svh, 228px) * 16 / 9));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: clamp(6px, 0.9svh, 9px);
}

body.landing-v2.premium .craft-carousel-bar .craft-caption {
  margin: 0;
  text-align: left;
}

body.landing-v2.premium .craft-carousel-dots {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
}

body.landing-v2.premium .craft-carousel-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(180, 198, 210, 0.34);
  cursor: pointer;
  transition: width 0.25s ease, background-color 0.25s ease !important;
}

body.landing-v2.premium .craft-carousel-dot:hover {
  background: rgba(180, 198, 210, 0.62);
}

body.landing-v2.premium .craft-carousel-dot.is-active {
  width: 20px;
  background: #83d6c5;
  box-shadow: 0 0 10px rgba(131, 214, 197, 0.45);
}

@keyframes voice-wave-flow {
  0%, 100% {
    height: max(5px, calc(var(--bar) * 0.28));
    opacity: 0.52;
    filter: brightness(0.9);
  }
  32% {
    height: min(100%, calc(var(--bar) * 1.06));
    opacity: 1;
    filter: brightness(1.16);
  }
  58% {
    height: max(6px, calc(var(--bar) * 0.52));
    opacity: 0.76;
    filter: brightness(0.98);
  }
  80% {
    height: min(100%, calc(var(--bar) * 0.88));
    opacity: 0.94;
    filter: brightness(1.08);
  }
}

body.landing-v2.premium .craft-stack-col .voice-wave {
  width: 100%;
  height: clamp(68px, 10.6svh, 96px);
  margin: 0;
  gap: 3px;
  contain: layout paint;
}

body.landing-v2.premium .craft-stack-col .voice-wave i {
  width: auto;
  max-width: none;
  flex: 1 1 0;
  min-width: 2px;
  border-radius: 999px;
  will-change: height, opacity;
  animation: voice-wave-flow 1.8s ease-in-out calc(var(--i, 0) * -0.07s) infinite !important;
}

body.landing-v2.premium.motion-paused .craft-stack-col .voice-wave i {
  animation-play-state: paused !important;
}

body.landing-v2.premium .craft-stack-col .craft-caption {
  font-size: 10.5px;
  line-height: 1.3;
  margin: clamp(6px, 0.9svh, 9px) 0 0;
}

body.landing-v2.premium .craft-bento-bottom {
  grid-column: 1 / -1;
  min-height: 0 !important;
  padding: clamp(12px, 1.9svh, 20px) clamp(20px, 2.4vw, 28px);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

body.landing-v2.premium .craft-unlimited-copy {
  min-width: 0;
  flex: 1;
}

body.landing-v2.premium .craft-bento-bottom .craft-unlimited-copy h3 {
  font-size: clamp(18.5px, min(1.8vw, 3.1svh), 24px);
  line-height: 1.2;
  margin: clamp(4px, 0.7svh, 7px) 0 clamp(3px, 0.6svh, 6px);
}

body.landing-v2.premium .craft-bento-bottom .craft-unlimited-copy p {
  font-size: clamp(12.5px, min(1.02vw, 1.85svh), 14.5px);
  line-height: 1.45;
  max-width: 102ch;
  margin: 0;
}

@keyframes infinity-pulse-orbit {
  from {
    stroke-dashoffset: 1000;
  }
  to {
    stroke-dashoffset: 0;
  }
}

body.landing-v2.premium .craft-bento-bottom .craft-infinity {
  position: static;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(124px, min(12vw, 22svh), 168px);
  aspect-ratio: 184 / 84;
  padding: 0;
  font: inherit;
  text-shadow: none;
  transform: none;
  opacity: 1;
  background: radial-gradient(ellipse at 50% 50%, rgba(131, 214, 197, 0.11), transparent 68%);
}

body.landing-v2.premium .craft-infinity-svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
  filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.45));
}

body.landing-v2.premium .craft-infinity-halo {
  stroke: rgba(131, 214, 197, 0.18);
  stroke-width: 14;
  filter: blur(4px);
}

body.landing-v2.premium .craft-infinity-track {
  stroke: url(#inf-ribbon);
  stroke-width: 6.4;
}

body.landing-v2.premium .craft-infinity-gap {
  stroke: #0e141d;
  stroke-width: 11.8;
  stroke-dasharray: 28 944 28 0;
}

body.landing-v2.premium .craft-infinity-bridge {
  stroke: url(#inf-ribbon);
  stroke-width: 6.4;
  stroke-dasharray: 42 916 42 0;
}

body.landing-v2.premium .craft-infinity-pulse {
  stroke: #ebfff8;
  stroke-width: 2.6;
  stroke-linecap: round;
  opacity: 0.78;
  stroke-dasharray: 115 885;
  animation: infinity-pulse-orbit 3.8s linear infinite !important;
}

body.landing-v2.premium.motion-paused .craft-infinity-pulse {
  animation-play-state: paused !important;
}

@media (max-width: 980px) {
  body.landing-v2.premium .craft-bento-section {
    min-height: 0;
    padding-block: 56px;
  }
  body.landing-v2.premium .craft-bento-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  body.landing-v2.premium .craft-bento-copy {
    max-width: 600px;
  }
}

@media (max-width: 640px) {
  body.landing-v2.premium .craft-bento-section {
    width: calc(100% - 40px);
    padding-block: 48px;
  }
  body.landing-v2.premium .craft-stack-col .craft-card,
  body.landing-v2.premium .craft-stack-col .craft-card.craft-footage {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px;
  }
  body.landing-v2.premium .craft-stack-col .craft-carousel {
    align-items: stretch;
  }
  body.landing-v2.premium .craft-carousel-slot,
  body.landing-v2.premium .craft-carousel-bar {
    width: 100%;
  }
  body.landing-v2.premium .craft-bento-bottom {
    padding: 20px;
    gap: 14px;
  }
  body.landing-v2.premium .craft-bento-bottom .craft-infinity {
    width: 104px;
    padding: 0;
  }
}



/* Grid balanceado de 4 planos oficiais (2 Com API Casada + 2 Somente Software Sem API) & Página Central de Download (/download) */
.pricing-grid.pricing-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 880px;
  margin-inline: auto;
}

.plan-tier-block {
  max-width: 880px;
  margin-inline: auto;
}

.plan-tier-block + .plan-tier-block {
  margin-top: 52px;
  padding-top: 46px;
  border-top: 1px solid #ffffff14;
}

.plan-tier-head {
  text-align: center;
  margin-bottom: 24px;
}

.plan-tier-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 13px;
  border-radius: 999px;
  border: 1px solid #8fd8c742;
  background: #102122cc;
  color: #a9eedb;
  font: 700 11px/1.2 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.plan-tier-kicker.is-neutral {
  border-color: #b7d2df30;
  background: #111822cc;
  color: #bfd2dc;
}

.plan-tier-head h3 {
  font-size: clamp(21px, 2.5vw, 27px);
  color: #f0f6f3;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.plan-tier-head p {
  font-size: 14.5px;
  color: #a4bac6;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.55;
}

.plan-tier-block .api-pill-strip {
  margin: 16px auto 26px;
}

.download-shell {
  padding-block: 44px 88px;
}

.download-grid-top {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 22px;
  align-items: start;
}

.download-reqs-card {
  background: linear-gradient(155deg, #121d2a99, #0b1118);
}

.download-req-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
  font-size: 14px;
  line-height: 1.55;
  color: #b7cbd6;
}

.download-req-list li {
  padding-bottom: 12px;
  border-bottom: 1px solid #ffffff12;
}

.download-req-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.download-req-list strong {
  color: #eef6f3;
}

.download-pending-note {
  padding: 14px 16px;
  border-radius: 11px;
  border: 1px solid #e6c6874d;
  background: #241e12cc;
  color: #f2dfb7;
  font-size: 13.5px;
  line-height: 1.55;
}

.download-pending-note strong {
  display: block;
  color: #fff3d6;
  margin-bottom: 4px;
}

.download-pending-note p {
  margin: 0;
  color: #e8d4aa;
}

.download-sha-box {
  padding: 10px 12px;
  border-radius: 9px;
  border: 1px solid #ffffff14;
  background: #091018;
  font-size: 12px;
  color: #9ab0bc;
  word-break: break-all;
}

.download-sha-box code {
  font-family: var(--mono);
  color: #c4efe3;
}

.download-steps-section {
  margin-top: 38px;
}

.download-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.download-step-card {
  padding: 22px 22px 24px;
  border-radius: 16px;
  border: 1px solid #b8d6e326;
  background: linear-gradient(155deg, #131f2c94, #0b1119);
}

.download-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #7fd8b94d;
  background: #132a27;
  color: #9cead3;
  font: 700 12px/1 var(--mono);
  margin-bottom: 12px;
}

.download-step-card h3 {
  font-size: 18px;
  color: #eff6f3;
  margin-bottom: 8px;
}

.download-step-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #a9bec9;
  margin: 0;
}

@media (max-width: 960px) {
  .download-grid-top,
  .download-steps-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .pricing-grid.pricing-grid-two {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
}

/* ==========================================================================
   CONVERSA COM A MACHINA — MOCKUP DE CHAT FIEL (COMPACTO 100% ZOOM)
   ========================================================================== */
body.landing-v2.premium .production-section {
  padding-block: 48px;
}

body.landing-v2.premium .production-layout.chat-mode {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
  margin-top: 0;
}

.production-left-col {
  display: flex;
  flex-direction: column;
}

body.landing-v2.premium .production-section .editorial-heading {
  margin-bottom: 22px;
  gap: 0;
}

body.landing-v2.premium .production-section .editorial-heading .editor-eyebrow-pill {
  margin-bottom: 14px;
}

body.landing-v2.premium .production-section .editorial-heading .editor-eyebrow-pill .eyebrow {
  margin: 0;
}

body.landing-v2.premium .production-section .editorial-heading h2 {
  font-size: clamp(28px, 3.1vw, 40px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: #ffffff;
  margin: 0;
}

body.landing-v2.premium .production-section .editorial-heading h2 span {
  display: block;
  color: #c9ced6;
  font-weight: 600;
}

/* Coluna Esquerda — Lista dos 3 Passos */
.workflow-steps-clean {
  display: flex;
  flex-direction: column;
}

.workflow-step-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.workflow-step-item:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.workflow-num {
  font-family: var(--mono, monospace);
  font-size: 12px;
  font-weight: 700;
  color: #83d6c5;
  letter-spacing: 0.04em;
  padding-top: 2px;
  flex-shrink: 0;
}

.workflow-step-content h3 {
  font-size: 16.5px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 4px 0;
  letter-spacing: -0.02em;
}

.workflow-step-content p {
  font-size: 13px;
  line-height: 1.48;
  color: #94a3b8;
  margin: 0;
}

/* Coluna Direita — Card do Chat */
.chat-mockup-card {
  background: linear-gradient(180deg, #0f1520 0%, #0b0f16 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 18px 22px;
  box-shadow: 0 20px 44px -15px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.chat-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 12px;
}

.chat-card-title {
  font-family: var(--mono, monospace);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #64748b;
  text-transform: uppercase;
}

.chat-card-status {
  font-family: var(--mono, monospace);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #10b981;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.chat-status-dot {
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
}

.chat-card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-bubble-row {
  display: flex;
  width: 100%;
}

.chat-bubble-row.user-row {
  justify-content: flex-end;
}

.chat-bubble-row.bot-row {
  justify-content: flex-start;
  align-items: flex-start;
  gap: 9px;
}

.chat-bubble {
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.42;
}

.chat-bubble p {
  margin: 0;
}

.user-bubble {
  background: #17212e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom-right-radius: 4px;
  color: #f1f5f9;
  max-width: 86%;
}

.bot-bubble {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom-left-radius: 4px;
  color: #e2e8f0;
  max-width: 90%;
}

.chat-bot-avatar {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  flex-shrink: 0;
  margin-top: 3px;
  background: #1a222f;
  padding: 2px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.chat-pill-group {
  display: flex;
  gap: 6px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.chat-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 10.5px;
  color: #94a3b8;
  letter-spacing: -0.01em;
}

.chat-project-card {
  margin-top: 4px;
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.28);
  border-radius: 12px;
  padding: 11px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.project-card-info {
  display: flex;
  align-items: center;
  gap: 11px;
}

.project-check-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #6ee7b7;
  color: #064e3b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
  flex-shrink: 0;
}

.project-card-info strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.project-card-info span {
  display: block;
  font-size: 11px;
  color: #94a3b8;
  margin-top: 1px;
}

.project-open-action {
  font-size: 12.5px;
  font-weight: 600;
  color: #6ee7b7;
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: opacity 0.15s, transform 0.15s;
}

.project-open-action:hover {
  opacity: 0.85;
  transform: translateX(2px);
}

@media (max-width: 960px) {
  body.landing-v2.premium .production-layout.chat-mode {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
