:root {
  --bg: #020814;
  --panel: #07152a;
  --panel-strong: #0a1d37;
  --line: rgba(78, 150, 255, 0.22);
  --line-strong: rgba(61, 150, 255, 0.42);
  --text: #eef5ff;
  --muted: #8ea6c5;
  --dim: #5f789a;
  --blue: #087bff;
  --blue-soft: #32a9ff;
  --green: #38d39f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 50% 0, rgba(15, 107, 230, 0.2), transparent 32rem),
    linear-gradient(180deg, #030a16, #020713 48%, #01050d);
  color: var(--text);
  font-family: "DM Sans", Arial, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(39, 128, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(39, 128, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img,
svg {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.page-header,
main,
.site-footer {
  width: min(100%, 1460px);
  margin: 0 auto;
  padding-left: 56px;
  padding-right: 56px;
}

.page-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  background: rgba(2, 8, 20, 0.86);
  border-bottom: 1px solid rgba(57, 132, 255, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-size: 1.32rem;
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(39, 143, 255, 0.8));
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(18px, 2.1vw, 34px);
  flex: 1;
}

.main-nav a,
.main-nav button {
  color: #dbe8fb;
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 0.76rem;
  font-family: inherit;
  font-weight: 800;
  text-transform: uppercase;
  transition: color 180ms ease;
  cursor: pointer;
}

.main-nav a:hover,
.main-nav button:hover,
.nav-dropdown:focus-within > button {
  color: var(--blue-soft);
}

.main-nav svg {
  width: 14px;
  height: 14px;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown > button::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.nav-menu {
  position: absolute;
  left: 50%;
  top: calc(100% + 16px);
  display: grid;
  min-width: 190px;
  padding: 10px;
  border: 1px solid rgba(79, 148, 247, 0.22);
  border-radius: 8px;
  background: rgba(4, 13, 28, 0.96);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.34), 0 0 30px rgba(0, 119, 255, 0.12);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -6px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-menu a {
  justify-content: flex-start;
  padding: 11px 12px;
  border-radius: 6px;
}

.nav-menu a:hover {
  background: rgba(18, 112, 255, 0.12);
  color: var(--blue-soft);
}

.nav-dropdown:hover .nav-menu,
.nav-dropdown:focus-within .nav-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-action,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-size: 0.86rem;
  font-weight: 800;
  white-space: nowrap;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.nav-action,
.btn-primary {
  padding: 0 28px;
  background: linear-gradient(135deg, #0b84ff, #126bff);
  color: #fff;
  box-shadow: 0 0 24px rgba(0, 119, 255, 0.28);
}

.nav-action {
  text-transform: uppercase;
}

.btn-secondary {
  padding: 0 22px;
  background: rgba(7, 18, 35, 0.78);
  border-color: rgba(119, 155, 213, 0.3);
}

.nav-action:hover,
.btn:hover {
  transform: translateY(-2px);
}

.product-hero {
  display: grid;
  grid-template-columns: minmax(310px, 0.9fr) minmax(360px, 1.05fr) minmax(230px, 0.55fr);
  align-items: center;
  gap: 34px;
  min-height: 430px;
  padding-top: 72px;
  padding-bottom: 48px;
}

.product-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--blue-soft);
  font-size: 1.08rem;
  font-weight: 800;
}

.product-kicker svg {
  width: 25px;
  height: 25px;
}

.hero-copy h1 {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(2.45rem, 4vw, 3.65rem);
  font-weight: 800;
  line-height: 1;
}

.hero-copy p:not(.product-kicker) {
  max-width: 520px;
  margin: 0 0 34px;
  color: #bfd0e7;
  font-size: 1.05rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.motogu-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 380px;
}

.motogu-visual::before {
  content: "";
  position: absolute;
  inset: -12% -10%;
  background:
    radial-gradient(circle at center, rgba(0, 126, 255, 0.2), transparent 16rem),
    radial-gradient(ellipse at center, rgba(49, 139, 255, 0.12), transparent 28rem);
  filter: blur(10px);
  mask-image: radial-gradient(ellipse at center, #000 0%, #000 50%, transparent 78%);
}

.visual-orbit {
  position: absolute;
  width: 340px;
  aspect-ratio: 1;
  border: 1px dashed rgba(56, 153, 255, 0.35);
  border-radius: 50%;
  animation: orbitSpin 20s linear infinite;
}

.orbit-b {
  width: 430px;
  transform: rotate(-18deg);
  animation: orbitSpinReverse 28s linear infinite;
}

.code-phone {
  position: relative;
  z-index: 2;
  width: 166px;
  height: 322px;
  border: 5px solid #123b68;
  border-radius: 32px;
  background: linear-gradient(145deg, #071629, #0a2342);
  box-shadow: 0 0 22px rgba(35, 141, 255, 0.86), 0 0 80px rgba(0, 119, 255, 0.42);
  overflow: hidden;
  animation: phoneHover 5.6s ease-in-out infinite;
}

.phone-notch {
  position: absolute;
  left: 50%;
  top: 10px;
  z-index: 2;
  width: 82px;
  height: 18px;
  border-radius: 0 0 12px 12px;
  background: #010610;
  transform: translateX(-50%);
}

.phone-shield {
  position: absolute;
  inset: 54px 36px 48px;
  display: grid;
  place-items: center;
  clip-path: polygon(50% 0, 88% 22%, 88% 70%, 50% 100%, 12% 70%, 12% 22%);
  background: linear-gradient(180deg, rgba(20, 142, 255, 0.72), rgba(6, 40, 79, 0.18));
  border: 1px solid rgba(95, 181, 255, 0.7);
  box-shadow: inset 0 0 28px rgba(0, 132, 255, 0.32);
  animation: shieldPulse 3.8s ease-in-out infinite;
}

.phone-shield svg {
  width: 52px;
  height: 52px;
  color: #d9edff;
  filter: drop-shadow(0 0 18px rgba(36, 151, 255, 0.9));
}

.visual-node {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 60px;
  height: 68px;
  clip-path: polygon(50% 0, 94% 24%, 94% 74%, 50% 100%, 6% 74%, 6% 24%);
  border: 1px solid rgba(74, 163, 255, 0.36);
  background: rgba(8, 36, 72, 0.62);
  color: var(--blue-soft);
  box-shadow: 0 0 26px rgba(12, 126, 255, 0.18);
  animation: nodeFloat 5s ease-in-out infinite;
}

.visual-node svg {
  width: 25px;
  height: 25px;
}

.n1 { left: 9%; top: 22%; }
.n2 { left: 10%; bottom: 26%; animation-delay: 0.6s; }
.n3 { right: 10%; top: 24%; animation-delay: 0.9s; }
.n4 { right: 8%; bottom: 25%; animation-delay: 1.2s; }

.platform-ring {
  position: absolute;
  z-index: 1;
  bottom: 18px;
  width: 330px;
  height: 96px;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at center, rgba(25, 135, 255, 0.44), transparent 28%),
    repeating-radial-gradient(ellipse at center, rgba(37, 143, 255, 0.52) 0 2px, transparent 2px 15px);
  filter: drop-shadow(0 0 32px rgba(12, 122, 255, 0.7));
  opacity: 0.78;
  transform: perspective(300px) rotateX(66deg);
  animation: ringPulse 3.6s ease-in-out infinite;
}

.support-panel {
  display: grid;
  gap: 20px;
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(11, 39, 76, 0.72), rgba(5, 16, 32, 0.78));
}

.support-panel div {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 2px 12px;
}

.support-panel svg {
  grid-row: span 2;
  width: 30px;
  height: 30px;
  color: var(--blue-soft);
}

.support-panel span {
  color: #9eb0c9;
  font-weight: 800;
}

.support-panel strong {
  color: #fff;
  font-size: 1.02rem;
}

.summary-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(8, 29, 58, 0.56);
}

.summary-strip article {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 4px 14px;
  min-height: 112px;
  padding: 22px;
  border-right: 1px solid rgba(78, 150, 255, 0.16);
}

.summary-strip article:last-child {
  border-right: 0;
}

.summary-strip svg {
  grid-row: span 2;
  width: 38px;
  height: 38px;
  color: var(--blue-soft);
}

.summary-strip h3,
.capability-grid h3,
.detail-list h3,
.simple-cta h2 {
  margin: 0 0 5px;
  color: #f3f7ff;
  font-size: 1rem;
}

.summary-strip p,
.capability-grid p,
.detail-list p,
.simple-cta p {
  margin: 0;
  color: #a8bad3;
  font-size: 0.92rem;
}

.capabilities-section,
.details-section,
.resources-section {
  padding-top: 66px;
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 30px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue-soft);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2.55vw, 2.15rem);
  line-height: 1.15;
}

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

.capability-grid article,
.detail-list,
.snapshot-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(11, 39, 76, 0.76), rgba(5, 16, 32, 0.82)),
    radial-gradient(circle at 20% 0%, rgba(12, 124, 255, 0.16), transparent 16rem);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.22);
}

.capability-grid article {
  min-height: 250px;
  padding: 28px;
}

.capability-grid svg {
  width: 54px;
  height: 54px;
  margin-bottom: 26px;
  color: var(--blue-soft);
  filter: drop-shadow(0 0 16px rgba(0, 126, 255, 0.36));
}

.capability-grid h3 {
  font-size: 1.14rem;
  line-height: 1.25;
}

.capability-grid p {
  font-size: 0.95rem;
  line-height: 1.55;
}

.details-layout {
  display: grid;
  grid-template-columns: 0.58fr 1fr;
  gap: 28px;
}

.detail-list {
  display: grid;
  gap: 28px;
  padding: 28px;
}

.detail-list article {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 4px 16px;
}

.detail-list svg {
  grid-row: span 2;
  width: 36px;
  height: 36px;
  color: var(--blue-soft);
}

.snapshot-card {
  padding: 28px;
}

.snapshot-card h3 {
  margin: 0 0 24px;
  font-size: 1.28rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  color: #c4d3e8;
}

th,
td {
  padding: 13px 10px;
  border-bottom: 1px solid rgba(84, 143, 219, 0.16);
  text-align: left;
}

th {
  color: #899dbb;
  font-size: 0.84rem;
}

.clear {
  color: var(--green);
  font-weight: 800;
}

.clear::before {
  content: "✓";
  margin-right: 6px;
}

.snapshot-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
  color: #7c91ae;
  font-size: 0.92rem;
}

.snapshot-footer a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--blue-soft);
  font-weight: 800;
}

.simple-cta {
  max-width: 980px;
  margin: 0 auto;
  padding: 28px 0 20px;
  text-align: center;
}

.simple-cta h2 {
  margin: 0 auto 22px;
  max-width: 820px;
  font-size: clamp(1.85rem, 3vw, 3rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.simple-cta > p:not(.eyebrow) {
  max-width: 840px;
  margin: 0 auto 42px;
  color: #93a5bf;
  font-size: clamp(0.98rem, 1.25vw, 1.12rem);
  line-height: 1.65;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.8fr repeat(3, 1fr);
  gap: 38px;
  margin-top: 70px;
  padding-top: 38px;
  padding-bottom: 34px;
  border-top: 1px solid rgba(76, 140, 218, 0.18);
}

.footer-brand p {
  max-width: 310px;
  margin: 18px 0 0;
  color: #8aa0bd;
}

.footer-group {
  display: grid;
  align-content: start;
  gap: 9px;
}

.footer-group h3 {
  margin: 0 0 8px;
  font-size: 0.84rem;
}

.footer-group a {
  color: #92a7c3;
  font-size: 0.9rem;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(76, 140, 218, 0.14);
  color: #6f85a3;
  font-size: 0.85rem;
}

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

@keyframes orbitSpinReverse {
  from { transform: rotate(-18deg); }
  to { transform: rotate(-378deg); }
}

@keyframes phoneHover {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes shieldPulse {
  0%, 100% { opacity: 0.82; filter: brightness(1); }
  50% { opacity: 1; filter: brightness(1.25); }
}

@keyframes ringPulse {
  0%, 100% {
    opacity: 0.58;
    transform: perspective(300px) rotateX(66deg) scale(0.96);
  }
  50% {
    opacity: 0.9;
    transform: perspective(300px) rotateX(66deg) scale(1.05);
  }
}

@keyframes nodeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

@media (max-width: 1180px) {
  .product-hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-copy p:not(.product-kicker),
  .product-kicker {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

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

  .summary-strip,
  .capability-grid,
  .details-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 860px) {
  .page-header,
  main,
  .site-footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .main-nav {
    display: none;
  }

  .summary-strip,
  .capability-grid,
  .details-layout,
  .support-panel {
    grid-template-columns: 1fr;
  }

  .summary-strip article {
    border-right: 0;
    border-bottom: 1px solid rgba(78, 150, 255, 0.16);
  }

  .details-section {
    overflow-x: hidden;
  }

  .snapshot-card {
    overflow-x: auto;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .brand {
    font-size: 1.05rem;
  }

  .nav-action {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.7rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.2rem, 12vw, 3rem);
  }

  .motogu-visual {
    min-height: 330px;
  }

  .code-phone {
    width: 140px;
    height: 272px;
  }

  .visual-node {
    display: none;
  }

  .visual-orbit {
    width: 280px;
  }

  .orbit-b {
    width: 330px;
  }

  .platform-ring {
    width: 260px;
  }

  .btn,
  .hero-actions .btn,
  .cta-actions .btn {
    width: 100%;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .visual-orbit,
  .code-phone,
  .phone-shield,
  .visual-node,
  .platform-ring {
    animation: none;
  }
}

.monetra-page {
  background:
    radial-gradient(circle at 55% 0, rgba(112, 72, 255, 0.2), transparent 32rem),
    radial-gradient(circle at 85% 24rem, rgba(32, 154, 255, 0.12), transparent 28rem),
    linear-gradient(180deg, #030916, #020713 48%, #01050d);
}

.monetra-page .product-kicker,
.monetra-page .eyebrow,
.monetra-page .snapshot-footer a,
.monetra-page .resource-grid a {
  color: var(--purple-soft);
}

.monetra-page .btn-primary {
  background: linear-gradient(135deg, #7c5cff, #3d2bb5);
  box-shadow: 0 0 24px rgba(122, 92, 255, 0.3);
}

.monetra-page .motogu-visual::before {
  background:
    radial-gradient(circle at center, rgba(122, 92, 255, 0.2), transparent 16rem),
    radial-gradient(ellipse at center, rgba(49, 139, 255, 0.1), transparent 28rem);
}

.monetra-page .visual-orbit {
  border-color: rgba(157, 119, 255, 0.35);
}

.monetra-page .code-phone {
  border-color: #2d276a;
  box-shadow: 0 0 22px rgba(122, 92, 255, 0.76), 0 0 80px rgba(0, 119, 255, 0.26);
}

.monetra-page .phone-shield {
  background: linear-gradient(180deg, rgba(122, 92, 255, 0.72), rgba(6, 40, 79, 0.18));
  border-color: rgba(171, 137, 255, 0.7);
}

.monetra-page .visual-node,
.monetra-page .support-panel svg,
.monetra-page .summary-strip svg,
.monetra-page .capability-grid svg,
.monetra-page .detail-list svg,
.monetra-page .resource-grid svg {
  color: var(--purple-soft);
}

.monetra-page .platform-ring {
  background:
    radial-gradient(ellipse at center, rgba(122, 92, 255, 0.42), transparent 28%),
    repeating-radial-gradient(ellipse at center, rgba(122, 92, 255, 0.5) 0 2px, transparent 2px 15px);
}
