.product-main-page {
  --product-ink: #111827;
  --product-copy: #475569;
  --product-muted: #64748b;
  --product-line: #e5eaf2;
  --product-blue: #1e88e5;
  --product-blue-soft: #eef6ff;
  --product-band: #f8fafc;
  --product-rise: #e53935;
  --product-fall: #009944;
  background: #fff;
  color: var(--product-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

.product-main-page .site-frame {
  width: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.product-main-page .site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  min-height: 58px;
  height: 58px;
  gap: 28px;
  padding: 0 max(22px, calc((100vw - 1160px) / 2));
  border-bottom: 1px solid var(--product-line);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px);
}

.product-main-page .site-brand {
  gap: 10px;
  color: var(--product-ink);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
}

.product-main-page .brand-character {
  display: inline-grid;
  width: 34px;
  height: 34px;
  padding: 0;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--product-blue);
  box-shadow: none;
  font-size: 22px;
  font-style: normal;
  font-weight: 900;
}

.product-main-page .site-nav {
  justify-content: flex-end;
  gap: 24px;
}

.product-main-page .site-nav a {
  display: block;
  padding: 20px 0 18px;
  color: #4b5563;
  font-size: 14px;
  font-weight: 500;
}

.product-main-page .site-nav a::after {
  bottom: -1px;
  height: 3px;
  border-radius: 2px 2px 0 0;
  background: var(--product-blue);
}

.product-main-page .site-nav a:hover,
.product-main-page .site-nav a.is-active {
  color: var(--product-blue);
}

.product-main-page .header-cta {
  padding: 10px 15px;
  border-radius: 6px;
  color: #fff;
  background: var(--product-blue);
  font-size: 13px;
  font-weight: 800;
}

.product-main-page .header-cta:hover {
  background: #1976d2;
}

.product-hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: #101827;
}

.product-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.product-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(9, 18, 32, .94), rgba(9, 18, 32, .75) 48%, rgba(9, 18, 32, .27)),
    rgba(9, 18, 32, .10);
}

.product-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 42px;
  align-items: center;
  max-width: 1160px;
  min-height: 620px;
  margin: 0 auto;
  padding: 72px 22px 68px;
  color: #fff;
}

.product-eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: #bfdbfe;
  font-size: 14px;
  font-weight: 900;
}

.product-hero h1 {
  max-width: 680px;
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(39px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0;
}

.product-lead {
  max-width: 650px;
  margin: 0;
  color: #dbeafe;
  font-size: 18px;
  line-height: 1.78;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.product-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 128px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.product-button:hover {
  transform: translateY(-2px);
}

.product-button-primary {
  color: #fff;
  background: var(--product-blue);
}

.product-button-primary:hover {
  background: #1976d2;
  box-shadow: 0 12px 28px rgba(30, 136, 229, .28);
}

.product-button-ghost {
  border: 1px solid rgba(255, 255, 255, .55);
  color: #fff;
  background: rgba(255, 255, 255, .12);
}

.product-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 650px;
  margin-top: 40px;
}

.product-stats > div {
  padding-left: 12px;
  border-left: 3px solid #60a5fa;
}

.product-stats b,
.product-stats span {
  display: block;
}

.product-stats b {
  margin-bottom: 4px;
  color: #fff;
  font-size: 21px;
}

.product-stats span {
  color: #cbd5e1;
  font-size: 13px;
}

.market-preview {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 8px;
  color: var(--product-ink);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 28px 60px rgba(0, 0, 0, .28);
}

.market-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid var(--product-line);
}

.market-preview-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.preview-brand {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 7px;
  color: #fff;
  background: var(--product-blue);
  font-size: 19px;
  font-weight: 900;
}

.market-status {
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--product-blue);
  background: var(--product-blue-soft);
  font-size: 12px;
  font-weight: 800;
}

.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 16px;
}

.quote-card {
  min-height: 96px;
  padding: 13px;
  border: 1px solid var(--product-line);
  border-radius: 8px;
  background: #fff;
}

.quote-card span,
.quote-card b,
.quote-card small {
  display: block;
}

.quote-card span {
  color: var(--product-muted);
  font-size: 12px;
}

.quote-card b {
  margin: 7px 0 3px;
  font-size: 20px;
}

.quote-card small {
  font-size: 12px;
}

.product-main-page .rise {
  color: var(--product-rise) !important;
}

.product-main-page .fall {
  color: var(--product-fall) !important;
}

.preview-fund-list {
  padding: 0 16px 16px;
}

.preview-fund-list > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px 72px;
  gap: 10px;
  align-items: center;
  min-height: 46px;
  border-top: 1px solid #edf1f6;
  font-size: 13px;
}

.preview-fund-list > div:first-child {
  border-top: 0;
}

.preview-fund-list strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.preview-fund-list b {
  text-align: right;
}

.product-section {
  max-width: 1160px;
  margin: 0 auto;
  padding: 72px 22px;
}

.product-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 560px);
  gap: 50px;
  align-items: end;
  margin-bottom: 28px;
}

.product-section-head h2 {
  margin: 0;
  color: var(--product-ink);
  font-size: 30px;
  line-height: 1.25;
  letter-spacing: -.02em;
}

.product-section-head > p,
.product-section-head > div + p {
  margin: 0;
  color: var(--product-muted);
  font-size: 14px;
  line-height: 1.8;
}

.feature-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.product-card {
  min-height: 210px;
  padding: 20px;
  border: 1px solid var(--product-line);
  border-radius: 8px;
  background: #fff;
}

.card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 24px;
  border-radius: 8px;
  color: var(--product-blue);
  background: var(--product-blue-soft);
  font-size: 14px;
  font-weight: 900;
}

.product-card h3,
.reason-card h3,
.diary-points h3,
.miniapp-features h3,
.sync-grid h3,
.privacy-grid h3 {
  margin: 0 0 10px;
  color: var(--product-ink);
  font-size: 17px;
}

.product-card p,
.reason-card p,
.diary-points p,
.miniapp-features p,
.sync-grid p,
.privacy-grid p {
  margin: 0;
  color: var(--product-muted);
  font-size: 14px;
  line-height: 1.72;
}

.product-band {
  border-top: 1px solid var(--product-line);
  background: var(--product-band);
}

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

.reason-card {
  min-height: 275px;
  padding: 24px;
  border: 1px solid var(--product-line);
  border-radius: 8px;
  background: #fff;
}

.reason-card > span,
.miniapp-features article > span,
.sync-grid article > span {
  display: block;
  margin-bottom: 32px;
  color: var(--product-blue);
  font-size: 13px;
  font-weight: 900;
}

.reason-card strong {
  display: block;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid #edf1f6;
  color: var(--product-copy);
  font-size: 14px;
  line-height: 1.7;
}

.section-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 30px 0 0;
  color: var(--product-muted);
  font-size: 14px;
}

.section-note i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--product-blue);
}

.diary-section {
  padding-top: 84px;
  padding-bottom: 86px;
}

.section-kicker {
  color: var(--product-blue);
}

.diary-heading,
.miniapp-heading {
  align-items: center;
}

.diary-layout {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.diary-points {
  display: grid;
  gap: 12px;
}

.diary-points article {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  min-height: 92px;
  padding: 16px;
  border: 1px solid var(--product-line);
  border-radius: 8px;
  background: #fff;
}

.diary-points article > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  color: var(--product-blue);
  background: var(--product-blue-soft);
  font-size: 13px;
  font-weight: 900;
}

.diary-points h3 {
  margin-bottom: 5px;
  font-size: 15px;
}

.diary-points p {
  font-size: 12px;
}

.privacy-tip {
  display: grid;
  gap: 7px;
  margin-top: 4px;
  padding: 18px 20px;
  border-radius: 8px;
  background: var(--product-blue-soft);
}

.privacy-tip b {
  color: var(--product-blue);
  font-size: 12px;
}

.privacy-tip strong {
  color: var(--product-ink);
  font-size: 16px;
}

.privacy-tip span {
  color: var(--product-muted);
  font-size: 12px;
  line-height: 1.6;
}

.diary-screenshots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  align-items: end;
}

.diary-screenshots figure {
  margin: 0;
  text-align: center;
}

.phone-shot {
  padding: 12px;
  border-radius: 26px;
  background: #e8eef3;
  box-shadow: 0 20px 44px rgba(23, 50, 77, .18);
}

.phone-shot img {
  display: block;
  width: 100%;
  border-radius: 18px;
}

.diary-screenshots figcaption {
  margin-top: 18px;
  color: var(--product-blue);
  font-size: 12px;
  font-weight: 700;
}

.screenshot-caption {
  margin: 24px 0 0;
  color: #94a3b8;
  font-size: 11px;
  text-align: right;
}

.miniapp-band .product-section {
  padding-top: 84px;
  padding-bottom: 86px;
}

.miniapp-layout {
  display: grid;
  grid-template-columns: 315px 348px 290px;
  gap: 48px;
  align-items: center;
  justify-content: space-between;
}

.miniapp-features {
  display: grid;
  gap: 12px;
}

.miniapp-features article {
  padding: 18px 20px;
  border: 1px solid var(--product-line);
  border-radius: 8px;
  background: #fff;
}

.miniapp-features article > span {
  margin-bottom: 10px;
}

.miniapp-features h3 {
  margin-bottom: 6px;
  font-size: 15px;
}

.miniapp-features p {
  font-size: 12px;
}

.miniapp-features aside {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 16px 18px;
  border-radius: 8px;
  background: var(--product-blue-soft);
}

.miniapp-features aside i {
  display: grid;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--product-blue);
  font-style: normal;
  font-weight: 900;
}

.miniapp-features aside b,
.miniapp-features aside span {
  display: block;
}

.miniapp-features aside b {
  margin-bottom: 5px;
  font-size: 13px;
}

.miniapp-features aside span {
  color: var(--product-muted);
  font-size: 11px;
}

.miniapp-phone {
  position: relative;
  min-height: 662px;
  padding: 20px 18px 58px;
  overflow: hidden;
  border: 13px solid #e2e8ef;
  border-radius: 40px;
  background: #f4f6f8;
  box-shadow: 0 20px 44px rgba(23, 50, 77, .18);
}

.phone-island {
  width: 126px;
  height: 24px;
  margin: -8px auto 20px;
  border-radius: 12px;
  background: #172033;
}

.miniapp-phone > h3 {
  margin: 0 0 18px;
  text-align: center;
}

.phone-notice {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 13px;
  border-radius: 12px;
  background: #edf5ff;
}

.phone-notice i {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--product-blue);
  font-style: normal;
}

.phone-notice b,
.phone-notice span {
  display: block;
}

.phone-notice b {
  font-size: 12px;
}

.phone-notice span {
  margin-top: 4px;
  color: var(--product-muted);
  font-size: 10px;
}

.phone-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  padding: 18px 2px 12px;
  color: var(--product-muted);
  font-size: 10px;
}

.phone-tabs b {
  color: var(--product-blue);
}

.asset-card {
  padding: 16px;
  border-radius: 14px;
  background: #fff;
}

.asset-card > span,
.asset-card > strong {
  display: block;
}

.asset-card > span {
  color: var(--product-muted);
  font-size: 10px;
}

.asset-card > strong {
  margin: 8px 0 20px;
  font-size: 18px;
}

.asset-card > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.asset-card p {
  margin: 0;
}

.asset-card small,
.asset-card b {
  display: block;
}

.asset-card small {
  color: var(--product-muted);
  font-size: 9px;
}

.asset-card b {
  margin-top: 5px;
  font-size: 12px;
}

.phone-fund {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 65px 72px;
  gap: 7px;
  align-items: center;
  min-height: 73px;
  padding: 12px;
  border-bottom: 1px solid var(--product-line);
  background: #fff;
  font-size: 10px;
}

.phone-fund > div {
  min-width: 0;
}

.phone-fund b,
.phone-fund small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.phone-fund small {
  margin-top: 4px;
  color: var(--product-muted);
}

.phone-fund > strong,
.phone-fund > span {
  text-align: right;
}

.phone-nav {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 18px;
  border-top: 1px solid var(--product-line);
  color: var(--product-muted);
  background: #fff;
  font-size: 10px;
  text-align: center;
}

.phone-nav b {
  color: var(--product-blue);
}

.miniapp-qr-card {
  padding: 26px;
  border: 1px solid var(--product-line);
  border-radius: 8px;
  background: #fff;
}

.miniapp-qr-card > span {
  color: var(--product-blue);
  font-size: 12px;
  font-weight: 900;
}

.miniapp-qr-card h3 {
  margin: 12px 0 8px;
  font-size: 19px;
}

.miniapp-qr-card p {
  margin: 0;
  color: var(--product-muted);
  font-size: 13px;
}

.miniapp-qr-card img {
  display: block;
  width: 172px;
  height: 172px;
  margin: 28px auto;
  padding: 10px;
  border-radius: 8px;
  background: var(--product-band);
  object-fit: contain;
}

.miniapp-qr-card > div {
  padding-top: 20px;
  border-top: 1px solid var(--product-line);
  color: var(--product-copy);
  font-size: 13px;
  line-height: 1.8;
}

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

.sync-grid article,
.privacy-grid article {
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--product-line);
  border-radius: 8px;
  background: #fff;
}

.sync-grid article > span {
  margin-bottom: 18px;
}

.sync-icon {
  position: relative;
  display: block;
  width: 44px;
  height: 44px;
  margin-bottom: 28px;
  border-radius: 8px;
  background: var(--product-blue-soft);
}

.browser-icon::after {
  position: absolute;
  inset: 12px 9px;
  border-radius: 3px;
  content: "";
  background: var(--product-blue);
}

.cloud-icon::after {
  position: absolute;
  left: 8px;
  top: 17px;
  width: 28px;
  height: 14px;
  border-radius: 10px;
  content: "";
  background: var(--product-blue);
}

.mobile-icon::after {
  position: absolute;
  left: 14px;
  top: 7px;
  width: 16px;
  height: 28px;
  border: 3px solid var(--product-blue);
  border-radius: 4px;
  content: "";
}

.privacy-band .product-section {
  padding-top: 76px;
  padding-bottom: 76px;
}

.privacy-grid article > span {
  display: grid;
  width: 40px;
  height: 40px;
  margin-bottom: 30px;
  place-items: center;
  border-radius: 8px;
  color: var(--product-blue);
  background: var(--product-blue-soft);
  font-size: 18px;
  font-weight: 900;
}

.privacy-grid article:last-child > span {
  color: #e8942f;
  background: #fff5ea;
}

.privacy-grid article > b {
  display: block;
  margin-top: 30px;
  color: var(--product-blue);
  font-size: 12px;
}

.product-closing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  max-width: 1160px;
  margin: 72px auto;
  padding: 48px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(125deg, #0c438f, var(--product-blue) 62%, #218ab6);
}

.product-closing p {
  margin: 0 0 12px;
  color: #bfdbfe;
  font-size: 13px;
  font-weight: 900;
}

.product-closing h2 {
  margin: 0;
  color: #fff;
  font-size: 30px;
}

.product-button-light {
  flex: 0 0 auto;
  color: #0c438f;
  background: #fff;
}

.product-main-page .site-footer {
  max-width: 1160px;
  margin: 0 auto;
  padding: 28px 22px;
  border-top: 1px solid var(--product-line);
  color: var(--product-muted);
  background: #fff;
}

.product-main-page .site-footer > span:first-child {
  color: var(--product-ink);
  font-weight: 800;
}

@media (max-width: 1040px) {
  .product-hero-inner {
    grid-template-columns: minmax(0, 1fr) 350px;
  }

  .miniapp-layout {
    grid-template-columns: 315px 348px;
    justify-content: center;
  }

  .miniapp-qr-card {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 10px 28px;
  }

  .miniapp-qr-card img {
    grid-column: 2;
    grid-row: 1 / 5;
    margin: 0;
  }

  .miniapp-qr-card > div {
    border-top: 0;
    padding-top: 4px;
  }
}

@media (max-width: 900px) {
  .product-main-page .site-nav {
    justify-content: flex-end;
    gap: 15px;
  }

  .product-hero-inner {
    grid-template-columns: 1fr;
    padding-top: 62px;
  }

  .market-preview {
    width: min(100%, 430px);
  }

  .feature-card-grid,
  .reason-grid,
  .sync-grid,
  .privacy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-section-head {
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
  }

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

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

  .privacy-tip {
    grid-column: 1 / -1;
  }

  .diary-screenshots {
    max-width: 650px;
    margin: 0 auto;
  }

  .product-closing {
    margin: 52px 22px;
  }
}

@media (max-width: 720px) {
  .product-main-page .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: 50px 42px;
    height: 92px;
    padding: 0 16px;
  }

  .product-main-page .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    gap: 24px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .product-main-page .site-nav::-webkit-scrollbar {
    display: none;
  }

  .product-main-page .site-nav a {
    padding: 11px 0 10px;
  }

  .product-main-page .site-brand > span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .product-stats,
  .feature-card-grid,
  .reason-grid,
  .diary-points,
  .sync-grid,
  .privacy-grid {
    grid-template-columns: 1fr;
  }

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

  .miniapp-phone {
    width: min(100%, 348px);
    margin: 0 auto;
  }

  .miniapp-qr-card {
    display: block;
  }

  .miniapp-qr-card img {
    margin: 24px auto;
  }

  .miniapp-qr-card > div {
    padding-top: 20px;
    border-top: 1px solid var(--product-line);
  }

  .product-closing {
    align-items: flex-start;
    flex-direction: column;
    padding: 34px 28px;
  }
}

@media (max-width: 520px) {
  .product-main-page .header-cta {
    padding: 9px 12px;
  }

  .product-hero-inner,
  .product-section {
    padding-right: 16px;
    padding-left: 16px;
  }

  .product-hero h1 {
    font-size: 35px;
  }

  .product-lead {
    font-size: 16px;
  }

  .product-stats {
    gap: 18px;
  }

  .product-stats b {
    font-size: 18px;
  }

  .quote-grid {
    grid-template-columns: 1fr;
  }

  .preview-fund-list > div {
    grid-template-columns: minmax(0, 1fr) 62px;
  }

  .preview-fund-list > div > b:last-child {
    display: none;
  }

  .diary-screenshots {
    grid-template-columns: 1fr;
    max-width: 330px;
  }

  .product-closing {
    margin-right: 16px;
    margin-left: 16px;
  }

  .product-closing h2 {
    font-size: 24px;
  }

  .product-main-page .site-footer {
    grid-template-columns: 1fr auto;
    padding-right: 16px;
    padding-left: 16px;
  }

  .product-main-page .site-footer span:nth-child(2) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-button,
  .product-main-page .header-cta {
    transition: none;
  }
}
