/* nimooo.cn — exclusive landing styles (do not reuse as shared template) */
:root {
  --nm-bg: #08050f;
  --nm-bg-elev: #120c1c;
  --nm-ink: #f7f2ff;
  --nm-mute: #a79bb8;
  --nm-line: rgba(255, 255, 255, 0.1);
  --nm-rose: #ff4d8d;
  --nm-rose-deep: #d62e6b;
  --nm-lilac: #c9b3ff;
  --nm-mist: #7ee7f0;
  --nm-serif: "Noto Serif SC", "Songti SC", serif;
  --nm-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --nm-display: "Syne", "Noto Sans SC", sans-serif;
  --nm-radius: 18px;
  --nm-max: 1180px;
  --nm-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  color: var(--nm-ink);
  font-family: var(--nm-sans);
  font-size: 16px;
  line-height: 1.7;
  background:
    radial-gradient(1200px 700px at 12% -10%, rgba(168, 120, 255, 0.22), transparent 60%),
    radial-gradient(900px 600px at 88% 8%, rgba(255, 77, 141, 0.16), transparent 55%),
    radial-gradient(800px 500px at 50% 100%, rgba(126, 231, 240, 0.06), transparent 50%),
    var(--nm-bg);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

.nm-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.nm-wrap {
  width: min(var(--nm-max), calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Nav */
.nm-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(8, 5, 15, 0.55);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--nm-ease), background 0.3s var(--nm-ease);
}

.nm-nav.is-scrolled {
  border-bottom-color: var(--nm-line);
  background: rgba(8, 5, 15, 0.82);
}

.nm-nav__inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 72px;
}

.nm-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.nm-brand img,
.nm-hero__brand img,
.nm-footer__brand img {
  border-radius: 12px;
}

.nm-brand__word {
  font-family: var(--nm-display);
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: 1.35rem;
}

.nm-nav__links {
  display: none;
  margin-left: auto;
  gap: 1.6rem;
}

.nm-nav__links a {
  color: var(--nm-mute);
  font-size: 0.95rem;
  transition: color 0.25s var(--nm-ease);
}

.nm-nav__links a:hover {
  color: var(--nm-ink);
}

.nm-nav .nm-btn--sm {
  display: none;
  margin-left: auto;
}

.nm-nav__toggle {
  margin-left: auto;
  width: 44px;
  height: 44px;
  display: grid;
  place-content: center;
  gap: 6px;
}

.nm-nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--nm-ink);
  transition: transform 0.3s var(--nm-ease), opacity 0.3s;
}

.nm-nav.is-open .nm-nav__toggle span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nm-nav.is-open .nm-nav__toggle span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.nm-drawer {
  display: grid;
  gap: 0.35rem;
  padding: 0.5rem 1.25rem 1.25rem;
  border-top: 1px solid var(--nm-line);
  background: rgba(8, 5, 15, 0.96);
}

.nm-drawer[hidden] {
  display: none;
}

.nm-drawer a {
  padding: 0.85rem 0.4rem;
  color: var(--nm-mute);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nm-drawer .nm-btn {
  margin-top: 0.75rem;
  text-align: center;
}

/* Buttons */
.nm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border-radius: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.25s var(--nm-ease), background 0.25s var(--nm-ease), border-color 0.25s var(--nm-ease);
}

.nm-btn:hover {
  transform: translateY(-2px);
}

.nm-btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--nm-rose) 0%, #b24dff 55%, #6a7bff 100%);
  box-shadow: 0 12px 40px rgba(255, 77, 141, 0.28);
}

.nm-btn--primary:hover {
  filter: brightness(1.05);
}

.nm-btn--ghost {
  border: 1px solid var(--nm-line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--nm-ink);
}

.nm-btn--ghost:hover {
  border-color: rgba(201, 179, 255, 0.45);
}

.nm-btn--sm {
  min-height: 42px;
  padding: 0.55rem 1.1rem;
  font-size: 0.92rem;
  color: #fff;
  background: linear-gradient(135deg, var(--nm-rose), #a855f7);
}

.nm-btn--lg {
  min-height: 56px;
  padding: 0.9rem 1.8rem;
  font-size: 1.05rem;
}

/* Hero + product theater (right on desktop, below on mobile) */
.nm-hero {
  position: relative;
  padding: 2.4rem 0 3rem;
  overflow: clip;
  min-height: min(88svh, 820px);
  display: flex;
  align-items: center;
}

.nm-hero__inner {
  display: grid;
  gap: 1.8rem;
  align-items: center;
}

.nm-hero__copy {
  max-width: 36rem;
  text-align: left;
}

.nm-hero__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 1.1rem;
  font-family: var(--nm-display);
  font-size: clamp(2.1rem, 5.5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1;
}

.nm-hero__brand span {
  background: linear-gradient(120deg, #fff 20%, var(--nm-lilac) 55%, var(--nm-mist) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nm-hero h1 {
  margin: 0;
  font-family: var(--nm-serif);
  font-weight: 900;
  font-size: clamp(3.2rem, 8.5vw, 5.8rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.nm-hero__lead {
  max-width: 32rem;
  margin: 1.15rem 0 0;
  color: var(--nm-mute);
  font-size: clamp(1rem, 2vw, 1.12rem);
}

.nm-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.7rem;
}

.nm-hero__trust {
  margin: 1.05rem 0 0;
  color: rgba(195, 182, 214, 0.9);
  font-size: 0.9rem;
}

.nm-hero__copy > * {
  opacity: 0;
  transform: translateY(28px);
  animation: nmRise 0.9s var(--nm-ease) forwards;
}

.nm-hero__copy > *:nth-child(1) { animation-delay: 0.05s; }
.nm-hero__copy > *:nth-child(2) { animation-delay: 0.16s; }
.nm-hero__copy > *:nth-child(3) { animation-delay: 0.28s; }
.nm-hero__copy > *:nth-child(4) { animation-delay: 0.4s; }
.nm-hero__copy > *:nth-child(5) { animation-delay: 0.5s; }

@keyframes nmRise {
  to {
    opacity: 1;
    transform: none;
  }
}

.nm-phone-theater {
  position: relative;
  width: 100%;
  max-width: 560px;
  justify-self: center;
  padding: 0.6rem 0 0.2rem;
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.nm-theater-glow {
  position: absolute;
  inset: auto 10% -18% 10%;
  height: 48%;
  background: radial-gradient(ellipse at center, rgba(255, 77, 141, 0.22), transparent 72%);
  filter: blur(28px);
  pointer-events: none;
}

.nm-theater-grid {
  display: none;
}

.nm-theater-ring {
  position: absolute;
  left: 50%;
  top: 48%;
  width: min(780px, 88%);
  height: min(260px, 34%);
  transform: translate(-50%, -50%) rotateX(68deg);
  border: 2px solid transparent;
  border-radius: 50%;
  background:
    linear-gradient(#14101f, #14101f) padding-box,
    linear-gradient(90deg, var(--nm-mist), var(--nm-rose), var(--nm-lilac)) border-box;
  box-shadow: 0 0 50px rgba(255, 77, 141, 0.35);
  animation: nmRingPulse 3.2s ease-in-out infinite;
  pointer-events: none;
  opacity: 0.8;
}

.nm-phone-deck {
  position: relative;
  z-index: 2;
  height: 390px;
  perspective: 1400px;
  transform-style: preserve-3d;
}

.nm-phone-card {
  --offset: 0;
  position: absolute;
  left: 50%;
  top: 12px;
  width: 168px;
  margin: 0;
  transform:
    translateX(calc(-50% + var(--offset) * 70px))
    translateZ(calc(var(--depth, 0) * 1px))
    rotateY(calc(var(--offset) * -8deg))
    scale(var(--scale, 0.78));
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease, filter 0.4s ease;
  cursor: pointer;
  opacity: 0.62;
  filter: saturate(0.88) brightness(0.88);
}

.nm-phone-card.is-active {
  opacity: 1;
  filter: none;
  z-index: 5;
}

.nm-phone-shell {
  position: relative;
  border-radius: 22px;
  padding: 0;
  background: transparent;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.42);
  overflow: hidden;
}

.nm-phone-card.is-active .nm-phone-shell {
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.48),
    0 0 36px rgba(255, 77, 141, 0.18);
  animation: nmPhoneFloat 3.6s ease-in-out infinite;
}

.nm-phone-shell::before {
  display: none;
}

.nm-phone-shell img {
  width: 100%;
  height: 310px;
  object-fit: cover;
  border-radius: 22px;
  display: block;
}

.nm-theater-caption {
  position: relative;
  z-index: 3;
  margin-top: 0.4rem;
  text-align: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.nm-theater-caption strong {
  font-family: var(--nm-display);
  font-size: 1.25rem;
  letter-spacing: 0.1em;
  background: linear-gradient(120deg, var(--nm-mist), var(--nm-lilac), var(--nm-rose));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nm-theater-caption span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.nm-theater-dots {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.75rem;
}

.nm-theater-dots button {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  padding: 0;
  background: rgba(255, 255, 255, 0.28);
  transition: transform 0.2s ease, background 0.2s ease, width 0.2s ease;
}

.nm-theater-dots button.is-active {
  width: 28px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--nm-rose), #b24dff);
}

@keyframes nmRingPulse {
  0%,
  100% {
    opacity: 0.55;
    transform: translate(-50%, -50%) rotateX(68deg) scale(0.96);
  }
  50% {
    opacity: 0.9;
    transform: translate(-50%, -50%) rotateX(68deg) scale(1.04);
  }
}

@keyframes nmPhoneFloat {
  0%,
  100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
  .nm-hero__copy > *,
  .nm-theater-ring,
  .nm-phone-card.is-active .nm-phone-shell {
    animation: none !important;
    transform: none;
  }

  .nm-hero__copy > * { opacity: 1; }
  .nm-theater-ring { transform: translate(-50%, -50%) rotateX(68deg); }

  html { scroll-behavior: auto; }
}

/* Sections */
.nm-section {
  padding: 5.5rem 0;
}

.nm-section__head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.nm-section__head h2,
.nm-flow h2,
.nm-cta h2,
.nm-faq h2 {
  margin: 0.35rem 0 0.75rem;
  font-family: var(--nm-serif);
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.nm-section__head p,
.nm-flow__lead,
.nm-cta p {
  margin: 0;
  color: var(--nm-mute);
}

.nm-kicker {
  margin: 0;
  font-family: var(--nm-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--nm-lilac);
}

/* Features — editorial rows, not card stack */
.nm-feat-grid {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--nm-line);
}

.nm-feat {
  display: grid;
  gap: 0.55rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--nm-line);
}

.nm-feat h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
}

.nm-feat p {
  margin: 0;
  max-width: 46rem;
  color: var(--nm-mute);
}

/* Flow */
.nm-flow {
  background:
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.02), transparent);
}

.nm-flow__grid {
  display: grid;
  gap: 2.5rem;
}

.nm-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.nm-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}

.nm-steps__n {
  font-family: var(--nm-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--nm-mist);
  line-height: 1.2;
}

.nm-steps h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}

.nm-steps p {
  margin: 0;
  color: var(--nm-mute);
}

/* Comments */
.nm-comments {
  display: grid;
  gap: 1rem;
}

.nm-comment {
  padding: 1.35rem 0;
  border-top: 1px solid var(--nm-line);
}

.nm-comment:last-child {
  border-bottom: 1px solid var(--nm-line);
}

.nm-comment header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.75rem;
}

.nm-comment strong {
  display: block;
  font-size: 1rem;
}

.nm-comment time {
  display: block;
  color: var(--nm-mute);
  font-size: 0.85rem;
}

.nm-comment p {
  margin: 0;
  color: rgba(247, 242, 255, 0.9);
}

.nm-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(145deg, #7a5cff, var(--nm-rose));
  flex-shrink: 0;
}

/* FAQ */
.nm-faq__grid {
  display: grid;
  gap: 2rem;
}

.nm-accordion {
  display: grid;
  gap: 0.65rem;
}

.nm-accordion details {
  border-bottom: 1px solid var(--nm-line);
  padding: 0.35rem 0 0.85rem;
}

.nm-accordion summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.7rem 1.8rem 0.7rem 0;
  position: relative;
}

.nm-accordion summary::-webkit-details-marker {
  display: none;
}

.nm-accordion summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0.65rem;
  color: var(--nm-lilac);
  font-family: var(--nm-display);
  font-size: 1.35rem;
  line-height: 1;
}

.nm-accordion details[open] summary::after {
  content: "–";
}

.nm-accordion p {
  margin: 0;
  color: var(--nm-mute);
  padding-bottom: 0.5rem;
}

/* CTA */
.nm-cta {
  padding: 1rem 0 5rem;
}

.nm-cta__panel {
  display: grid;
  gap: 1.5rem;
  padding: 2.4rem 1.6rem;
  border-radius: calc(var(--nm-radius) + 8px);
  border: 1px solid rgba(255, 77, 141, 0.28);
  background:
    radial-gradient(500px 220px at 20% 0%, rgba(255, 77, 141, 0.18), transparent 70%),
    radial-gradient(420px 220px at 90% 100%, rgba(126, 231, 240, 0.1), transparent 65%),
    linear-gradient(160deg, rgba(28, 16, 46, 0.95), rgba(12, 8, 22, 0.98));
}

/* Footer */
.nm-footer {
  border-top: 1px solid var(--nm-line);
  padding: 2.5rem 0 3rem;
}

.nm-footer__inner {
  display: grid;
  gap: 1.25rem;
}

.nm-footer__brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.nm-footer__brand p,
.nm-footer__meta p,
.nm-footer__copy {
  margin: 0.15rem 0 0;
  color: var(--nm-mute);
  font-size: 0.92rem;
}

.nm-footer__meta a {
  color: var(--nm-lilac);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Reveal on scroll */
.nm-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--nm-ease), transform 0.7s var(--nm-ease);
}

.nm-reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (min-width: 720px) {
  .nm-nav__links {
    display: flex;
  }

  .nm-nav .nm-btn--sm {
    display: inline-flex;
    margin-left: 0;
  }

  .nm-nav__toggle,
  .nm-drawer {
    display: none !important;
  }

  .nm-feat-grid {
    grid-template-columns: 1fr 1fr;
    column-gap: 2.5rem;
  }

  .nm-comments {
    grid-template-columns: 1fr 1fr;
    column-gap: 2rem;
  }

  .nm-comment {
    border-bottom: 1px solid var(--nm-line);
  }

  .nm-cta__panel {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 2.8rem 2.4rem;
  }

  .nm-footer__inner {
    grid-template-columns: 1.2fr 1fr;
    align-items: start;
  }

  .nm-footer__copy {
    grid-column: 1 / -1;
  }
}

@media (min-width: 960px) {
  .nm-hero {
    padding: 3.2rem 0 3.6rem;
  }

  .nm-hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
    gap: 1.6rem 2rem;
  }

  .nm-phone-theater {
    justify-self: end;
    max-width: 520px;
    padding-top: 0.2rem;
  }

  .nm-flow__grid {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }

  .nm-faq__grid {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 3rem;
    align-items: start;
  }
}

@media (min-width: 1120px) {
  .nm-phone-theater {
    max-width: 560px;
  }

  .nm-phone-deck {
    height: 420px;
  }

  .nm-phone-card {
    width: 180px;
    transform:
      translateX(calc(-50% + var(--offset) * 76px))
      translateZ(calc(var(--depth, 0) * 1px))
      rotateY(calc(var(--offset) * -8deg))
      scale(var(--scale, 0.78));
  }

  .nm-phone-shell img {
    height: 340px;
  }
}

@media (max-width: 959px) {
  .nm-hero {
    min-height: auto;
    align-items: stretch;
    padding: 2rem 0 2.2rem;
  }

  .nm-hero__inner {
    grid-template-columns: 1fr;
  }

  .nm-hero__copy {
    max-width: none;
  }

  .nm-hero h1 {
    font-size: clamp(2.9rem, 12vw, 4.2rem);
  }

  .nm-phone-theater {
    order: 2;
    max-width: none;
    justify-self: stretch;
    overflow: visible;
  }

  .nm-phone-deck {
    height: 340px;
  }

  .nm-phone-card {
    width: 140px;
    transform:
      translateX(calc(-50% + var(--offset) * 56px))
      translateZ(calc(var(--depth, 0) * 1px))
      rotateY(calc(var(--offset) * -7deg))
      scale(var(--scale, 0.78));
  }

  .nm-phone-shell img {
    height: 260px;
  }

  .nm-theater-caption strong {
    font-size: 1.1rem;
  }

  .nm-theater-caption span {
    font-size: 0.85rem;
  }

  .nm-section {
    padding: 4rem 0;
  }
}
