:root {
  color-scheme: light;
  --ink: #160638;
  --muted: #706b82;
  --blue: #4260ff;
  --cyan: #01b7ef;
  --purple: #a550ff;
  --max: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  overflow-x: hidden;
}

body {
  width: 100%;
  margin: 0;
  position: relative;
  background: #fff;
  color: var(--ink);
  font-family:
    -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
    "Segoe UI", sans-serif;
}

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

img {
  display: block;
  max-width: 100%;
}

.site-page {
  max-width: 100%;
  background:
    radial-gradient(circle at -6% 7%, rgba(1, 183, 239, 0.14), transparent 7%),
    linear-gradient(180deg, #fff 0%, #fff 100%);
}

.reveal-block .reveal-item {
  --reveal-x: 0;
  --reveal-y: 42px;
  opacity: 0;
  transform: translate3d(var(--reveal-x), var(--reveal-y), 0) scale(0.985);
  transition:
    opacity 760ms ease,
    transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--reveal-index, 0) * 110ms);
}

.reveal-block .from-left {
  --reveal-x: -54px;
  --reveal-y: 20px;
}

.reveal-block .from-right {
  --reveal-x: 54px;
  --reveal-y: 20px;
}

.reveal-block.is-visible .reveal-item {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.reveal-block .reveal-item:nth-child(1) {
  --reveal-index: 0;
}

.reveal-block .reveal-item:nth-child(2) {
  --reveal-index: 1;
}

.reveal-block .reveal-item:nth-child(3) {
  --reveal-index: 2;
}

.reveal-block .reveal-item:nth-child(4) {
  --reveal-index: 3;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 86px;
  margin: 0;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  background: transparent;
  box-shadow: none;
  transition:
    background-color 220ms ease,
    box-shadow 220ms ease,
    backdrop-filter 220ms ease;
  transform: translateZ(0);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 35px rgba(22, 6, 56, 0.06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-weight: 900;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand > span {
  font-size: 34px;
  font-style: italic;
  line-height: 1;
  color: transparent;
  background: linear-gradient(90deg, var(--cyan), #3f83ff 48%, var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
}

.brand strong {
  font-size: 20px;
  font-style: italic;
  color: #454141;
}

.brand strong span {
  color: #4350f5;
}

.desktop-nav {
  display: flex;
  gap: 56px;
  color: #333;
  font-size: 16px;
}

.desktop-nav a:first-child {
  color: inherit;
}

.desktop-nav a.is-active {
  color: #735fff;
}

.menu-button {
  display: none;
  width: 24px;
  height: 24px;
  padding: 4px 2px;
  border: 0;
  background: transparent;
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 4px 0;
  border-radius: 2px;
  background: #747474;
  transition:
    transform 200ms ease,
    opacity 200ms ease;
}

.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.96fr;
  gap: 40px;
  align-items: center;
  width: min(var(--max), calc(100% - 48px));
  min-height: 850px;
  margin: 18px auto 0;
}

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

.hero h1 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(46px, 5.1vw, 86px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.hero h1 span {
  position: relative;
  color: var(--blue);
}

.hero h1 span::after {
  position: absolute;
  inset: -14px -18px -6px -20px;
  content: "";
  border: 5px solid #ffd26f;
  border-radius: 50%;
  transform: rotate(-4deg);
}

.hero-copy > p {
  margin: 34px 0 70px;
  color: #777;
  font-size: 18px;
}

.download-row {
  display: flex;
  align-items: center;
  gap: 32px;
}

.qr {
  width: 180px;
  height: 180px;
  border-radius: 10px;
}

.download-buttons {
  display: grid;
  gap: 18px;
}

.download-btn,
.primary-btn,
.footer-download {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #9475ff 0%, #5b68fe 100%);
  box-shadow: 0 14px 34px rgba(91, 104, 254, 0.18);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.download-btn:hover,
.primary-btn:hover,
.footer-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(91, 104, 254, 0.26);
}

.download-btn {
  width: 255px;
  height: 64px;
  font-size: 16px;
  font-weight: 600;
}


.download-btn img {
  width: 34px;
  height: 34px;
  margin-right: 10px;
}

.hero-art {
  position: relative;
  min-height: 720px;
}

.hero-art img {
  position: relative;
  z-index: 2;
  width: min(100%, 584px);
  margin: 18px auto 0;
  animation: float-soft 5.8s ease-in-out infinite;
}

.hero-plate {
  position: absolute;
  z-index: 1;
  display: block;
  width: 420px;
  height: 600px;
  border-radius: 72px;
  background: linear-gradient(180deg, rgba(253, 253, 253, 0.72), #646afe);
  transform: rotate(31deg);
}

.plate-one {
  right: -44px;
  top: -100px;
}

.plate-two {
  right: -500px;
  top: -20px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 80px;
  width: min(1040px, calc(100% - 48px));
  margin: 0 auto;
  padding: 40px 0 96px;
}

.metric-card {
  display: flex;
  align-items: center;
  gap: 32px;
}

.metric-card img {
  width: 128px;
  height: 128px;
}

.metric-card strong {
  display: block;
  margin-bottom: 8px;
  font-family: Poppins, sans-serif;
  font-size: 48px;
  line-height: 1.1;
  color: #332c5c;
}

.metric-card span {
  color: #5e587a;
  font-size: 18px;
}

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 100px 0;
}

.feature-art img {
  width: min(100%, 600px);
  animation: float-soft 6.4s ease-in-out infinite;
}

.feature-second .feature-art img {
  width: min(100%, 560px);
  margin-left: auto;
  animation-delay: 0.8s;
}

.eyebrow {
  margin: 0 0 34px;
  color: rgba(66, 96, 255, 0.45);
  font-size: 14px;
  letter-spacing: 0.28em;
}

.feature h2 {
  margin: 0;
  max-width: 540px;
  font-size: clamp(34px, 3.4vw, 48px);
  line-height: 1.34;
  letter-spacing: -0.04em;
}

.feature-point {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  margin: 54px 0 40px;
}

.feature-point > span {
  width: 22px;
  height: 22px;
  margin-top: 5px;
  border: 7px solid #198cff;
  border-radius: 50%;
}

.feature-point strong {
  font-size: 22px;
  line-height: 1.45;
}

.feature-point p {
  margin: 10px 0 0;
  color: #594d6d;
  font-size: 18px;
}

.primary-btn {
  width: min(100%, 540px);
  height: 56px;
  font-weight: 700;
}

.site-footer {
  width: min(var(--max), calc(100% - 48px));
  margin: 90px auto 0;
  padding: 80px 0 74px;
}

.footer-top,
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-download {
  width: 160px;
  height: 56px;
  font-weight: 700;
}

.site-footer > p {
  margin: 46px 0;
  color: #12022f;
  font-size: 16px;
}

.footer-line {
  height: 1px;
  margin-bottom: 56px;
  background: #e7e5ea;
}

.footer-bottom nav {
  display: flex;
  gap: 40px;
  font-size: 16px;
}

.footer-bottom span {
  color: #594d6d;
  font-size: 14px;
}

@keyframes float-soft {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -14px, 0);
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 767px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 100%;
  }

  .site-page {
    max-width: 100%;
    overflow: visible;
  }

  .reveal-block .from-left,
  .reveal-block .from-right {
    --reveal-x: 0;
    --reveal-y: 36px;
  }

  .site-header {
    width: 100%;

    height: 44px;
    margin: 0 auto;
    padding: 0 20px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: none;
  }

  .brand > span {
    font-size: 17px;
  }

  .brand strong {
    font-size: 12px;
  }

  .desktop-nav {
    display: none;
  }

  .menu-button {
    position: relative;
    z-index: 7;
    display: block;
  }

  .menu-button.is-open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-button.is-open span:nth-child(2) {
    opacity: 0;
  }

  .menu-button.is-open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .mobile-nav {
    position: absolute;
    top: 42px;
    right: 0;
    z-index: 6;
    display: grid;
    min-width: 150px;
    padding: 10px;
    border: 1px solid rgba(91, 104, 254, 0.1);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 16px 42px rgba(22, 6, 56, 0.12);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px) scale(0.98);
    transition:
      opacity 180ms ease,
      transform 180ms ease;
    backdrop-filter: blur(16px);
  }

  .mobile-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .mobile-nav a {
    display: block;
    padding: 12px 14px;
    border-radius: 10px;
    color: #12022f;
    font-size: 14px;
    line-height: 1;
  }

  .mobile-nav a.is-active {
    color: #735fff;
    background: rgba(91, 104, 254, 0.08);
  }

  .mobile-nav a:active {
    background: rgba(91, 104, 254, 0.08);
  }

  .hero {
    display: flex;
    flex-direction: column-reverse;
    gap: 26px;
    width: 100%;
    min-height: 0;
    margin: 0 auto;
    padding: 10px 15px 70px;
    text-align: center;
  }

  .hero-art {
    width: 100%;
    min-height: 390px;
  }

  .hero-art img {
    width: min(100%, 337px);
    margin: 0 auto;
  }

  .hero-plate {
    display: none;
  }

  .hero h1 {
    margin: 0 auto;
    max-width: 310px;
    font-size: 26px;
    line-height: 1.55;
    letter-spacing: 0;
  }

  .hero h1 span::after {
    display: none;
  }

  .hero-copy > p {
    width: 245px;
    margin: 18px auto 24px;
    color: #777;
    font-size: 13px;
    line-height: 1.8;
  }

  .download-row {
    justify-content: center;
  }


  .qr,
  .android {
    display: none;
  }

  .download-btn {
    width: 192px;
    height: 44px;
    font-size: 18px;
  }

  .download-btn img{
    display: none;
  }
  .app::before {
    display: none;
  }

  .metrics {
    display: flex;
    flex-direction: column;
    gap: 60px;
    padding: 0 0 76px;
    align-items: center;
  }

  .metric-card {
    gap: 26px;
  }

  .metric-card img {
    width: 88px;
    height: 88px;
  }

  .metric-card strong {
    font-size: 48px;
  }

  .metric-card span {
    font-size: 18px;
  }

  .feature {
    display: flex;
    flex-direction: column;
    gap: 36px;
    width: 100%;
    padding: 0 15px 60px;
  }

  .feature-first {
    flex-direction: column-reverse;
  }

  .feature-second {
    padding-top: 0;
  }

  .feature-copy {
    width: 100%;
  }

  .eyebrow {
    max-width: 100%;
    margin-bottom: 22px;
    color: #198cff;
    font-size: 13px;
    line-height: 24px;
    letter-spacing: 0.2em;
    overflow-wrap: anywhere;
  }

  .feature h2 {
    max-width: none;
    font-size: 24px;
    line-height: 1.42;
    letter-spacing: -0.03em;
  }

  .feature-point {
    gap: 16px;
    margin: 34px 0 30px;
  }

  .feature-point > span {
    width: 14px;
    height: 14px;
    border-width: 5px;
  }

  .feature-point strong {
    font-size: 14px;
  }

  .feature-point p {
    font-size: 12px;
    line-height: 2;
  }

  .primary-btn {
    width: 269px;
    height: 56px;
    margin: 0 auto;
  }

  .feature-art img,
  .feature-second .feature-art img {
    width: min(100%, 345px);
    margin: 0 auto;
  }

  .site-footer {
    width: 100%;
    margin-top: 0;
    padding: 28px 15px 32px;
  }

  .footer-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 26px;
  }

  .footer-download {
    width: 100%;
    height: 56px;
  }

  .site-footer > p {
    margin: 38px 0 42px;
    text-align: center;
    font-size: 12px;
  }

  .footer-line {
    margin-bottom: 46px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 24px;
  }

  .footer-bottom nav {
    gap: 30px;
    font-size: 12px;
  }

  .footer-bottom span {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal-block .reveal-item {
    opacity: 1;
    transform: none;
  }
}
