:root {
  --bg: #08040f;
  --panel: rgba(19, 10, 25, 0.86);
  --panel-soft: rgba(30, 17, 40, 0.88);
  --panel-border: rgba(255, 128, 0, 0.28);
  --text: #f4ebff;
  --muted: #c6b2d8;
  --orange: #ff8b1e;
  --orange-strong: #ffb300;
  --purple-line: rgba(185, 62, 255, 0.22);
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, system-ui, sans-serif;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(6, 3, 10, 0.36) 0%, rgba(10, 4, 14, 0.84) 38%, rgba(7, 3, 12, 0.98) 100%),
    url('./assets/header_no_logo.png') center top / cover no-repeat;
}
.site-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(255, 91, 0, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(9, 4, 12, 0.08), rgba(7, 3, 12, 0.9) 72%);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 26px;
  background: rgba(8, 5, 14, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
}

.brand-mini img { width: 120px; filter: drop-shadow(0 4px 10px rgba(0,0,0,0.4)); }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  font-family: Orbitron, Inter, sans-serif;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: #f3edf8;
  transition: color .2s ease, transform .2s ease;
}
.nav-links a:hover,
.nav-links a.active { color: var(--orange-strong); transform: translateY(-1px); }
.nav-cta {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 145, 0, 0.35);
  background: linear-gradient(180deg, rgba(255, 145, 0, 0.16), rgba(255, 145, 0, 0.05));
  font-weight: 700;
}

.section-shell {
  width: min(1260px, calc(100% - 40px));
  margin: 0 auto;
}

.hero { padding: 32px 0 14px; }
.hero-visual {
  position: relative;
  min-height: 560px;
  border-radius: 24px;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.hero-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.04) brightness(0.96);
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255, 102, 0, 0.10), rgba(7, 3, 12, 0.05) 30%, rgba(7,3,12,0.22) 100%);
}
.hero-gear {
  position: relative;
  z-index: 2;
  width: min(420px, 64vw);
  opacity: 0.72;
  animation: spin 16s linear infinite;
  filter: drop-shadow(0 0 24px rgba(255, 154, 27, 0.16));
}
.hero-logo {
  position: absolute;
  z-index: 3;
  width: min(560px, 76vw);
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.42));
}

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

.panel-frame {
  position: relative;
  background: linear-gradient(180deg, rgba(23, 12, 31, 0.92), rgba(12, 7, 18, 0.94));
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.panel-frame::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(174, 79, 255, 0.12);
  border-radius: calc(var(--radius) - 8px);
  pointer-events: none;
}

.intro-panel-wrap { margin-top: 18px; }
.intro-banner {
  min-height: 352px;
  overflow: hidden;
}
.intro-banner-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 8, 22, 0.10) 0%, rgba(17, 8, 22, 0.08) 22%, rgba(12, 7, 18, 0.22) 34%, rgba(12, 7, 18, 0.82) 48%, rgba(12, 7, 18, 0.92) 100%),
    url('./assets/apresentation.png') left center / cover no-repeat;
}
.intro-banner-copy {
  position: relative;
  z-index: 1;
  margin-left: auto;
  max-width: 69%;
  padding: 32px 42px 28px 42px;
}
.eyebrow,
.section-head h2,
.step-no,
.button-primary,
.button-secondary,
.nav-links a,
.play-anywhere h3,
.play-card strong,
.info-card h3,
.mini-card h3,
.feature-card h3,
.step-copy h3,
.globe-icon {
  font-family: Orbitron, Inter, sans-serif;
}
.eyebrow {
  margin: 0 0 8px;
  color: var(--orange-strong);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 14px;
}
.eyebrow.white { color: #f3ebff; }
.intro-banner-copy h1,
.final-cta-copy h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 0.95;
  text-transform: uppercase;
}
.intro-banner-copy p,
.final-cta-copy p,
.info-card p,
.mini-card p,
.step-copy p,
.play-card span,
.feature-card p {
  color: var(--muted);
  line-height: 1.6;
}
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.chip {
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 132, 0, 0.24);
  background: rgba(255, 144, 0, 0.08);
  font-size: 13px;
  font-weight: 600;
}

.section-head {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: center;
  padding-top: 72px;
  margin-bottom: 28px;
}
.section-head.inside-frame { padding-top: 12px; }
.section-head span {
  flex: 0 0 120px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 154, 27, 0.85), transparent);
}
.section-head h2 {
  margin: 0;
  font-size: clamp(24px, 3.4vw, 40px);
  color: var(--orange-strong);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.feature-carousel {
  overflow: hidden;
  padding: 28px 0;
}
.feature-track {
  display: flex;
  gap: 22px;
  width: max-content;
  padding: 0 22px;
  animation: feature-scroll 45s linear infinite;
  will-change: transform;
}
.feature-carousel:hover .feature-track { animation-play-state: paused; }
@keyframes feature-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 11px)); }
}
.feature-card {
  flex: 0 0 300px;
  min-height: 372px;
  padding: 30px 22px 24px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(53, 51, 61, 0.96), rgba(20, 19, 27, 0.98));
  border: 2px solid rgba(223, 164, 255, 0.26);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.04), 0 16px 28px rgba(0,0,0,0.34);
  text-align: center;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 154, 27, 0.45);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.05), 0 22px 38px rgba(0,0,0,0.42);
}
.feature-card img {
  width: 112px;
  height: 112px;
  object-fit: contain;
  margin: 6px auto 18px;
}
.feature-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  color: var(--orange-strong);
}
.feature-card p {
  margin: 0;
  font-size: 14px;
}

.card-grid {
  display: grid;
  gap: 20px;
}
.five-up { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.mini-card {
  min-height: 100%;
  padding: 22px 18px 20px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(25, 14, 35, 0.95), rgba(12, 8, 18, 0.92));
  border: 1px solid rgba(154, 69, 255, 0.18);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.26);
  text-align: center;
}
.mini-card img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin: 0 auto 16px;
}

.mini-card h3 {
  margin: 0 0 10px;
  color: var(--orange-strong);
  font-size: 17px;
}
.mini-card p { margin: 0; font-size: 14px; }
.compact-cards .mini-card { padding-top: 22px; }

.how-wrap { padding-top: 6px; }
.how-panel {
  padding: 24px 24px 28px;
  overflow: hidden;
}
.how-panel::after {
  content: "";
  position: absolute;
  left: -20px;
  bottom: -6px;
  width: 240px;
  height: 220px;
  background: linear-gradient(90deg, rgba(12,7,18,0.0), rgba(12,7,18,0.0)), url('./assets/apresentation.png') left bottom / contain no-repeat;
  opacity: 0.55;
  pointer-events: none;
}
.styled-how-grid {
  display: grid;
  grid-template-columns: 1fr 44px 1fr 44px 1fr 44px 1fr;
  gap: 18px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.styled-step {
  min-height: 285px;
  padding: 18px 18px 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(31, 21, 43, 0.92), rgba(17, 11, 24, 0.94));
  border: 1px solid rgba(255, 138, 30, 0.24);
  box-shadow: 0 14px 28px rgba(0,0,0,0.26);
}
.step-copy h3 {
  margin: 10px 0 8px;
  color: var(--orange-strong);
  font-size: 19px;
  text-transform: uppercase;
}
.step-copy p { margin: 0; font-size: 15px; }
.step-no {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ff9d1e, #ff6000);
  color: #210b00;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 30px;
}
.step-icon {
  margin-top: 20px;
  color: var(--orange-strong);
  font-size: 58px;
  font-weight: 900;
  line-height: 1;
}
.step-arrow {
  color: var(--orange-strong);
  font-size: 80px;
  font-weight: 700;
  text-align: center;
}
.step-emulator-logos {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.step-emulator-logos img { height: 32px; width: auto; }
.step-emulator-logos span { color: var(--muted); font-weight: 600; }

.play-anywhere {
  margin-top: 24px;
  padding: 18px 24px 6px;
}
.play-anywhere h3 {
  margin: 0 0 16px;
  color: var(--orange-strong);
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 0.05em;
}
.compact-play-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.play-grid {
  display: grid;
}
.play-card {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255,255,255,0.07);
  padding: 18px;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
  text-align: left;
}
.wide-play-card strong { color: #fff; font-size: 18px; display:block; }
.logo-pair {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
}
.logo-pair img { height: 36px; width: auto; object-fit: contain; }
.globe-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--orange-strong);
  font-size: 34px;
}

.final-cta-wrap { padding: 78px 0 80px; }
@media (max-width: 1200px) {
  .styled-how-grid { grid-template-columns: 1fr 30px 1fr 30px 1fr 30px 1fr; }
}

@media (max-width: 1100px) {
  .nav-links { gap: 18px; }
  .five-up { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .styled-how-grid {
    grid-template-columns: 1fr 34px 1fr;
  }
  .styled-how-grid .step-arrow:nth-of-type(4),
  .styled-how-grid .step-arrow:nth-of-type(6),
  .styled-how-grid .styled-step:nth-of-type(5),
  .styled-how-grid .styled-step:nth-of-type(7) {
    display: none;
  }
  .intro-banner-copy { max-width: 76%; }
}

@media (max-width: 760px) {
  .topbar {
    flex-wrap: wrap;
    justify-content: center;
    padding: 14px 14px 16px;
  }
  .brand-mini { width: 100%; display: grid; place-items: center; }
  .nav-links {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 14px;
  }
  .nav-links a { font-size: 12px; }
  .nav-cta { display: none; }
  .hero { padding-top: 18px; }
  .hero-visual { min-height: 300px; border-radius: 18px; }
  .hero-gear { width: min(220px, 54vw); }
  .hero-logo { width: min(310px, 78vw); }
  .section-shell { width: min(100%, calc(100% - 22px)); }
  .intro-banner { min-height: 430px; }
  .intro-banner-bg {
    background:
      linear-gradient(180deg, rgba(13, 8, 19, 0.18), rgba(12, 7, 18, 0.58) 44%, rgba(12, 7, 18, 0.92) 76%, rgba(12, 7, 18, 0.97) 100%),
      url('./assets/apresentation.png') left top / cover no-repeat;
  }
  .intro-banner-copy { max-width: 100%; padding: 20px; }
  .intro-banner-copy h1 { font-size: 32px; }
  .section-head { gap: 10px; padding-top: 52px; }
  .section-head span { flex-basis: 40px; }
  .section-head h2 { font-size: 22px; text-align: center; }
  .feature-card { flex-basis: 260px; min-height: 330px; }
  .five-up,
  .compact-play-grid { grid-template-columns: 1fr; }
  .how-panel { padding: 18px 14px 20px; }
  .styled-how-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .step-arrow { display: none !important; }
  .styled-how-grid .styled-step:nth-of-type(5),
  .styled-how-grid .styled-step:nth-of-type(7) {
    display: block;
  }

}

/* MergeBot final CTA: imagem base + conteudo HTML real */
.final-cta-wrap {
  padding: 78px 0 80px;
}

.final-cta-overlay {
  min-height: 326px;
  overflow: hidden;
}

.final-cta-backdrop {
  position: absolute;
  inset: 0;
  background: url('./assets/final_cta_banner_bg.png') center center / cover no-repeat;
}

.final-cta-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 8, 28, 0.20) 0%, rgba(20, 8, 28, 0.08) 20%, rgba(20, 8, 28, 0.26) 38%, rgba(20, 8, 28, 0) 62%);
  pointer-events: none;
}

.final-cta-copy {
  position: relative;
  z-index: 2;
  max-width: 58%;
  padding: 34px 34px 30px 52px;
}

.final-kicker,
.final-cta-copy h2,
.button-primary,
.button-secondary {
  font-family: Orbitron, Inter, sans-serif;
}

.final-kicker {
  margin: 0 0 10px;
  color: #f5efff;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.05;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.final-cta-copy h2 {
  margin: 0 0 18px;
  color: #ff6800;
  font-size: clamp(38px, 4vw, 66px);
  line-height: 0.9;
  text-transform: uppercase;
}

.final-description {
  margin: 0;
  color: #f7ecff;
  font-size: clamp(16px, 2vw, 28px);
  line-height: 1.35;
  font-weight: 500;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  min-width: 180px;
  padding: 0 24px;
  border-radius: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}

.button-primary {
  background: linear-gradient(180deg, #ffab1f, #ff6c00);
  color: #280d00;
  box-shadow: 0 8px 20px rgba(255, 117, 0, 0.28);
}

.button-secondary {
  background: linear-gradient(180deg, #2ea6ff, #245ed9);
  color: #fff;
  box-shadow: 0 8px 20px rgba(37, 92, 214, 0.30);
}

.button-primary:hover,
.button-secondary:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

@media (max-width: 760px) {
  .final-cta-overlay {
    min-height: 420px;
  }

  .final-cta-backdrop {
    background-position: 68% center;
  }

  .final-cta-copy {
    max-width: 100%;
    padding: 22px 18px;
  }

  .final-kicker {
    font-size: 15px;
  }

  .final-cta-copy h2 {
    font-size: 36px;
    margin-bottom: 12px;
  }

  .final-description {
    font-size: 16px;
  }

  .cta-actions {
    flex-direction: column;
  }

  .button-primary,
  .button-secondary {
    width: 100%;
  }
}

/* MergeBot safe how-icons V9 */
.step-icon {
  margin-top: 20px;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  color: var(--orange-strong, #ffb300);
  font-size: 0;
  line-height: 1;
}

.step-icon svg,
.globe-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.step-arrow {
  display: grid;
  place-items: center;
  min-width: 44px;
  font-size: 0;
  color: var(--orange-strong, #ffb300);
}

.step-arrow span {
  width: 30px;
  height: 30px;
  border-top: 8px solid currentColor;
  border-right: 8px solid currentColor;
  transform: rotate(45deg);
  filter: drop-shadow(0 0 8px rgba(255, 139, 0, 0.18));
}

.globe-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  color: var(--orange-strong, #ffb300);
  font-size: 0;
}

@media (max-width: 760px) {
  .step-arrow {
    display: none !important;
  }
}
/* End MergeBot safe how-icons V9 */

/* HERO PLATFORM CARDS V11_1 START */
.hero-platform-badges {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 72%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: min(470px, 88vw);
}

.platform-card {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
  padding: 10px 15px;
  border-radius: 15px;
  border: 1px solid rgba(255, 154, 27, 0.28);
  background: linear-gradient(180deg, rgba(27, 17, 39, 0.94), rgba(13, 8, 21, 0.94));
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.38), inset 0 0 0 1px rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(7px);
}

.platform-card-icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  object-fit: contain;
}

.platform-card-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.platform-card-label {
  color: #cbb8de;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.platform-card-title {
  margin-top: 4px;
  color: #ffffff;
  font-family: Orbitron, Inter, sans-serif;
  font-size: 17px;
  font-weight: 800;
}

@media (max-width: 760px) {
  .hero-platform-badges {
    top: 69%;
    width: min(330px, 88vw);
    gap: 8px;
  }

  .platform-card {
    min-width: 0;
    flex: 1 1 0;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 13px;
  }

  .platform-card-icon {
    width: 29px;
    height: 29px;
    flex-basis: 29px;
  }

  .platform-card-label {
    font-size: 8px;
  }

  .platform-card-title {
    font-size: 13px;
  }
}
/* HERO PLATFORM CARDS V11_1 END */

/* HERO PLATFORM OFFSET V11_3 START */
@media (min-width: 761px) {
  .hero-visual {
    overflow: visible;
    margin-bottom: 50px;
  }

  .hero-backdrop,
  .hero-visual::after {
    border-radius: 24px;
  }

  .hero-platform-badges {
    transform: translate(-50%, 50px) !important;
  }
}
/* HERO PLATFORM OFFSET V11_3 END */



/* MERGEBOT PORTAL + MOBILE R2 V1 START */
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mode-switcher {
  display: inline-flex;
  padding: 4px;
  border: 1px solid rgba(255, 154, 27, 0.22);
  border-radius: 999px;
  background: rgba(12, 7, 18, 0.72);
}

.mode-switcher a {
  min-width: 62px;
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--muted);
  font-family: Orbitron, Inter, sans-serif;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  transition: background .2s ease, color .2s ease;
}

.mode-switcher a.active {
  color: #250d00;
  background: linear-gradient(180deg, #ffb121, #ff7600);
}

.platform-card-link {
  color: inherit;
  transition: transform .2s ease, border-color .2s ease;
}

.platform-card-link:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 154, 27, 0.56);
}

.platform-card-active {
  border-color: rgba(255, 154, 27, 0.48);
}

.portal-body {
  min-height: 100vh;
}

.platform-gateway {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 44px 20px;
}

.gateway-shell {
  width: min(1060px, 100%);
  text-align: center;
}

.gateway-brand {
  position: relative;
  width: min(460px, 78vw);
  height: 230px;
  margin: 0 auto -8px;
  display: grid;
  place-items: center;
}

.gateway-gear {
  position: absolute;
  width: 218px;
  opacity: .62;
  animation: spin 18s linear infinite;
  filter: drop-shadow(0 0 24px rgba(255, 154, 27, .16));
}

.gateway-logo {
  position: relative;
  z-index: 1;
  width: min(430px, 82vw);
  filter: drop-shadow(0 16px 26px rgba(0,0,0,.48));
}

.gateway-kicker {
  margin: 0 0 10px;
  color: var(--orange-strong);
  font-family: Orbitron, Inter, sans-serif;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 12px;
}

.gateway-shell h1 {
  margin: 0;
  font-family: Orbitron, Inter, sans-serif;
  font-size: clamp(30px, 5vw, 58px);
  line-height: 1;
  text-transform: uppercase;
}

.gateway-description {
  max-width: 720px;
  margin: 18px auto 30px;
  color: var(--muted);
  line-height: 1.65;
}

.gateway-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.gateway-card {
  position: relative;
  min-height: 300px;
  padding: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  border-radius: 24px;
  border: 1px solid rgba(255, 139, 30, .28);
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 128, 0, .13), transparent 34%),
    linear-gradient(180deg, rgba(30, 17, 40, .96), rgba(12, 7, 18, .96));
  box-shadow: var(--shadow);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.gateway-card:hover {
  transform: translateY(-7px);
  border-color: rgba(255, 154, 27, .64);
  box-shadow: 0 26px 55px rgba(0,0,0,.5);
}

.gateway-card-icon {
  width: 76px;
  height: 76px;
  padding: 13px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.08);
}

.gateway-card-icon img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.gateway-card-copy {
  margin-top: 22px;
}

.gateway-card-copy > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.gateway-card-copy strong {
  display: block;
  margin-top: 3px;
  color: var(--orange-strong);
  font-family: Orbitron, Inter, sans-serif;
  font-size: 38px;
}

.gateway-card-copy p {
  max-width: 390px;
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.gateway-action {
  margin-top: auto;
  padding-top: 25px;
  color: #fff;
  font-family: Orbitron, Inter, sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.gateway-reset {
  margin-top: 24px;
  padding: 9px 14px;
  border: 0;
  background: transparent;
  color: #9d8baa;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
}

.mobile-site .site-bg::after {
  background:
    radial-gradient(circle at 75% 15%, rgba(255, 108, 0, .14), transparent 27%),
    linear-gradient(180deg, rgba(9,4,12,.1), rgba(7,3,12,.92) 76%);
}

.mobile-hero {
  padding-top: 34px;
}

.mobile-hero-panel {
  min-height: 600px;
  padding: 52px;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 30px;
  align-items: center;
  overflow: hidden;
}

.mobile-hero-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 76% 42%, rgba(255, 125, 0, .11), transparent 26%);
}

.mobile-hero-copy,
.mobile-hero-visual {
  position: relative;
  z-index: 2;
}

.mobile-hero-copy h1 {
  margin: 0;
  font-family: Orbitron, Inter, sans-serif;
  font-size: clamp(42px, 6vw, 78px);
  line-height: .95;
  text-transform: uppercase;
}

.mobile-hero-copy h1 span {
  color: var(--orange-strong);
}

.mobile-hero-copy > p:not(.eyebrow) {
  max-width: 660px;
  margin: 22px 0 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 17px;
}

.mobile-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 30px;
}

.mobile-secondary {
  background: linear-gradient(180deg, rgba(69, 46, 87, .96), rgba(30, 19, 41, .96));
}

.mobile-release-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: #bdaeca;
  font-size: 13px;
}

.release-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #e0a52b;
  box-shadow: 0 0 12px rgba(224, 165, 43, .45);
}

.release-dot.is-ready {
  background: #48d778;
  box-shadow: 0 0 12px rgba(72, 215, 120, .48);
}

.release-dot.is-error {
  background: #ff5d62;
  box-shadow: 0 0 12px rgba(255, 93, 98, .48);
}

.mobile-hero-visual {
  min-height: 430px;
  display: grid;
  place-items: center;
}

.mobile-gear {
  position: absolute;
  width: min(360px, 68vw);
  opacity: .67;
  animation: spin 18s linear infinite;
}

.mobile-logo {
  position: relative;
  z-index: 2;
  width: min(430px, 78vw);
  filter: drop-shadow(0 18px 25px rgba(0,0,0,.48));
}

.mobile-device-badge {
  position: absolute;
  z-index: 3;
  bottom: 20px;
  right: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(14, 9, 22, .9);
  border: 1px solid rgba(255,154,27,.33);
  box-shadow: 0 15px 32px rgba(0,0,0,.36);
}

.mobile-device-badge img {
  width: 40px;
  height: 40px;
}

.mobile-device-badge span,
.mobile-device-badge strong {
  display: block;
}

.mobile-device-badge span {
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.mobile-device-badge strong {
  margin-top: 3px;
  font-family: Orbitron, Inter, sans-serif;
  font-size: 17px;
}

.mobile-section {
  padding-bottom: 30px;
}

.download-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 22px;
}

.download-card,
.release-notes-card {
  padding: 30px;
}

.download-card-top {
  display: flex;
  align-items: center;
  gap: 16px;
}

.download-card-top img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.download-label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.download-card h3,
.release-notes-card h3,
.mobile-info-card h3,
.mobile-step h3 {
  margin: 4px 0 0;
  font-family: Orbitron, Inter, sans-serif;
}

.download-card h3 {
  color: var(--orange-strong);
  font-size: 24px;
}

.release-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 26px 0;
}

.release-facts > div {
  padding: 13px;
  border-radius: 13px;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.055);
}

.release-facts dt {
  color: #9f90ad;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 800;
}

.release-facts dd {
  margin: 4px 0 0;
  font-weight: 700;
}

.apk-download-button {
  width: 100%;
}

.apk-download-button.is-loading,
.apk-download-button.is-disabled {
  filter: grayscale(.35);
  opacity: .62;
  cursor: wait;
  pointer-events: none;
}

.download-source {
  margin: 15px 0 0;
  color: #9f90ad;
  line-height: 1.5;
  font-size: 12px;
}

.release-notes-card > h3 {
  color: #fff;
  font-size: clamp(22px, 3vw, 34px);
}

.release-notes {
  display: grid;
  gap: 11px;
  margin: 22px 0;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.55;
}

.release-notes li::marker {
  color: var(--orange-strong);
}

.release-error {
  padding: 12px 14px;
  border-radius: 12px;
  color: #ffb7ba;
  background: rgba(255, 70, 78, .09);
  border: 1px solid rgba(255, 70, 78, .2);
  font-size: 13px;
}

.release-refresh {
  padding: 10px 13px;
  border-radius: 11px;
  border: 1px solid rgba(255,154,27,.24);
  background: rgba(255,154,27,.07);
  color: #f6e8ff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.mobile-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}

.mobile-step {
  min-height: 230px;
  padding: 22px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(28,17,38,.94), rgba(13,8,20,.96));
  border: 1px solid rgba(255,154,27,.2);
}

.mobile-step > span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: rgba(255,137,19,.11);
  color: var(--orange-strong);
  font-family: Orbitron, Inter, sans-serif;
  font-size: 18px;
  font-weight: 800;
}

.mobile-step h3 {
  margin-top: 18px;
  color: var(--orange-strong);
  text-transform: uppercase;
}

.mobile-step p,
.mobile-info-card p {
  color: var(--muted);
  line-height: 1.55;
  font-size: 14px;
}

.mobile-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 26px 0 55px;
}

.mobile-info-card {
  min-height: 210px;
  padding: 24px;
  display: flex;
  gap: 17px;
  align-items: flex-start;
}

.mobile-info-card img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.mobile-info-card h3 {
  color: var(--orange-strong);
  font-size: 18px;
}

.mobile-info-card p {
  margin: 10px 0 15px;
}

.coming-tag {
  display: inline-flex;
  padding: 6px 9px;
  border-radius: 999px;
  color: #e5d6ef;
  background: rgba(169,81,255,.1);
  border: 1px solid rgba(169,81,255,.18);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

@media (max-width: 980px) {
  .nav-links.mobile-nav {
    display: none;
  }

  .mobile-hero-panel {
    grid-template-columns: 1fr;
    padding: 38px 28px;
  }

  .mobile-hero-visual {
    min-height: 330px;
  }

  .download-layout {
    grid-template-columns: 1fr;
  }

  .mobile-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mobile-info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .topbar {
    padding: 10px 12px;
  }

  .topbar .nav-links {
    display: none;
  }

  .brand-mini img {
    width: 92px;
  }

  .topbar-actions {
    gap: 7px;
  }

  .mode-switcher a {
    min-width: 48px;
    padding: 6px 8px;
    font-size: 9px;
  }

  .topbar-actions .nav-cta {
    padding: 8px 10px;
    font-size: 11px;
  }

  .gateway-brand {
    height: 180px;
  }

  .gateway-gear {
    width: 170px;
  }

  .gateway-options {
    grid-template-columns: 1fr;
  }

  .gateway-card {
    min-height: 240px;
    padding: 24px;
  }

  .mobile-hero {
    width: min(100% - 20px, 1260px);
    padding-top: 16px;
  }

  .mobile-hero-panel {
    padding: 30px 20px;
  }

  .mobile-hero-copy h1 {
    font-size: 40px;
  }

  .mobile-hero-copy > p:not(.eyebrow) {
    font-size: 15px;
  }

  .mobile-hero-actions {
    flex-direction: column;
  }

  .mobile-hero-actions .button-primary,
  .mobile-hero-actions .button-secondary {
    width: 100%;
  }

  .mobile-hero-visual {
    min-height: 260px;
  }

  .mobile-device-badge {
    right: 0;
    bottom: 0;
  }

  .mobile-section {
    width: min(100% - 20px, 1260px);
  }

  .release-facts {
    grid-template-columns: 1fr;
  }

  .mobile-steps {
    grid-template-columns: 1fr;
  }

  .mobile-step {
    min-height: 0;
  }

  .mobile-info-card {
    flex-direction: column;
  }
}
/* MERGEBOT PORTAL + MOBILE R2 V1 END */

/* MERGEBOT PORTAL + MOBILE STRUCTURE V2 START */
.portal-body .gateway-brand {
  margin-bottom: 34px;
}

.portal-body .gateway-kicker {
  margin-bottom: 14px;
}

.portal-body .gateway-description {
  margin-top: 22px;
  margin-bottom: 36px;
}

.mobile-site .feature-carousel,
.mobile-site .mini-card {
  background-color: rgba(18, 10, 25, .9);
}

.mobile-site #features,
.mobile-site #why {
  padding-bottom: 26px;
}

.download-wide-card {
  padding: 30px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .34fr);
  gap: 30px;
  align-items: center;
}

.download-wide-main .download-card-top {
  align-items: flex-start;
}

.download-wide-main .download-card-top h3 {
  margin: 4px 0 8px;
  color: var(--orange-strong);
  font-family: Orbitron, Inter, sans-serif;
  font-size: clamp(22px, 3vw, 31px);
}

.download-wide-main .download-card-top p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.download-wide-main code {
  color: #f6d8ff;
  font-family: Consolas, Monaco, monospace;
  font-size: .92em;
}

.release-facts-wide {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 0;
}

.download-wide-action {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}

.download-wide-action > span {
  color: #9f90ad;
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
}

.update-check-panel {
  padding: 32px;
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: 28px;
  align-items: stretch;
}

.update-check-summary,
.update-notes-box {
  min-width: 0;
}

.update-check-summary h3 {
  margin: 4px 0 14px;
  color: #fff;
  font-family: Orbitron, Inter, sans-serif;
  font-size: clamp(24px, 3vw, 36px);
}

.update-check-summary > p:not(.eyebrow):not(.release-error) {
  color: var(--muted);
  line-height: 1.6;
}

.update-current-line {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 17px;
  color: #eee4f8;
  font-size: 13px;
}

.update-check-button {
  margin-top: 8px;
  border: 0;
  cursor: pointer;
}

.update-check-button:disabled {
  opacity: .66;
  cursor: wait;
  transform: none;
}

.update-last-check {
  display: block;
  margin-top: 11px;
  color: #9686a5;
  font-size: 11px;
}

.update-notes-box {
  padding: 24px;
  border-radius: 17px;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.065);
}

.update-notes-box .download-label strong {
  color: var(--orange-strong);
}

.update-notes-box .release-notes {
  margin-bottom: 0;
}

.installation-section {
  padding-bottom: 34px;
}

.installation-intro {
  padding: 30px 32px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.installation-intro h3 {
  max-width: 820px;
  margin: 4px 0 10px;
  color: #fff;
  font-family: Orbitron, Inter, sans-serif;
  font-size: clamp(22px, 3vw, 34px);
}

.installation-intro p:not(.eyebrow) {
  max-width: 900px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.installation-intro .apk-download-button {
  width: auto;
  min-width: 230px;
}

.installation-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  margin-top: 18px;
}

.install-card {
  min-height: 310px;
  padding: 23px;
  border-radius: 18px;
  border: 1px solid rgba(255, 154, 27, .2);
  background: linear-gradient(180deg, rgba(28, 17, 38, .95), rgba(12, 7, 19, .97));
  box-shadow: 0 14px 28px rgba(0,0,0,.24);
}

.install-card-warning {
  border-color: rgba(255, 180, 45, .36);
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 177, 33, .1), transparent 36%),
    linear-gradient(180deg, rgba(31, 18, 38, .96), rgba(13, 8, 20, .97));
}

.install-number {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: #2a1000;
  background: linear-gradient(180deg, #ffb721, #ff7600);
  box-shadow: 0 8px 18px rgba(255, 124, 0, .2);
  font-family: Orbitron, Inter, sans-serif;
  font-weight: 900;
}

.install-card h3 {
  margin: 18px 0 10px;
  color: var(--orange-strong);
  font-family: Orbitron, Inter, sans-serif;
  font-size: 17px;
  line-height: 1.18;
  text-transform: uppercase;
}

.install-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 13px;
}

.install-card strong {
  color: #f6ebff;
}

.install-tag {
  display: inline-flex;
  margin-top: 18px;
  padding: 6px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 154, 27, .19);
  background: rgba(255, 139, 30, .075);
  color: #eddbf9;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.installation-security-note {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 15px;
  border: 1px solid rgba(101, 169, 255, .2);
  background: rgba(37, 92, 214, .075);
  color: #c9bdd5;
  font-size: 12px;
  line-height: 1.6;
}

.installation-security-note strong {
  color: #fff;
}

.installation-security-note a {
  color: #8fc8ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.installation-security-note span {
  margin: 0 6px;
  color: #7f6e8d;
}

.configuration-grid {
  padding-bottom: 30px;
}

.mobile-final-cta .final-cta-backdrop {
  filter: saturate(.9) brightness(.72);
}

.mobile-final-cta .final-cta-copy {
  max-width: 62%;
}

.mobile-final-cta .apk-download-button {
  width: auto;
}

@media (max-width: 1080px) {
  .download-wide-card,
  .update-check-panel,
  .installation-intro {
    grid-template-columns: 1fr;
  }

  .release-facts-wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .installation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .installation-intro .apk-download-button {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .portal-body .gateway-brand {
    margin-bottom: 24px;
  }

  .portal-body .gateway-description {
    margin-bottom: 30px;
  }

  .release-facts-wide,
  .installation-grid {
    grid-template-columns: 1fr;
  }

  .download-wide-card,
  .update-check-panel,
  .installation-intro {
    padding: 23px 19px;
  }

  .install-card {
    min-height: 0;
  }

  .installation-security-note span {
    display: none;
  }

  .installation-security-note a {
    display: block;
    margin-top: 7px;
  }

  .mobile-final-cta .final-cta-copy {
    max-width: 100%;
  }
}
/* MERGEBOT PORTAL + MOBILE STRUCTURE V2 END */
