:root {
  --bg: #070707;
  --panel: #1b1b1b;
  --panel-soft: #202020;
  --stroke: rgba(255, 255, 255, 0.08);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.7);
  --accent: #f6b223;
  --container: min(1200px, calc(100vw - 64px));
  --hero-shell: min(1920px, 100vw);
  --section-gap: 88px;
}

/* Environment-specific overrides */
.hide-qr .qr-panel,
.hide-qr .hero-visual {
  display: none !important;
}

/* Ensure no blank space or overlapping if accessed from Desktop/Tablet Mini Programs */
.hide-qr .hero {
  min-height: auto !important;
  padding-bottom: 64px;
}

.hide-qr .hero-copy {
  position: relative !important;
  left: auto !important;
  top: auto !important;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.04), transparent 28%),
    radial-gradient(circle at 75% 25%, rgba(246, 178, 35, 0.08), transparent 24%),
    linear-gradient(180deg, #0b0b0b 0%, #050505 36%, #0a0a0a 68%, #050505 100%);
  color: var(--text);
  font-family:
    "SF Pro Display",
    "PingFang SC",
    "Noto Sans SC",
    "Microsoft YaHei",
    sans-serif;
  overflow-x: hidden;
  word-wrap: break-word;
  word-break: break-word;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at center, black 48%, transparent 100%);
}

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

.page {
  position: relative;
}

.feature-section,
.decision-section,
.about,
.footer {
  width: 100%;
  max-width: none;
}

.feature-section,
.decision-section {
  padding-top: var(--section-gap);
}

.feature-section-inner,
.decision-section-inner {
  width: var(--container);
  margin: 0 auto;
}

.about {
  margin-top: 129px;
  padding-top: 66px;
}

.footer {
  text-align: center;
  padding: 37px 0 80px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 15px 0 0;
  width: var(--hero-shell);
  max-width: 1920px;
  background: #070707;
}

.brand-image {
  width: 145px;
  height: 40px;
  object-fit: contain;
}

.hero {
  position: relative;
  width: var(--hero-shell);
  max-width: 1920px;
  min-height: 900px;
  margin: 0 auto;
  overflow: hidden;
}

.hero-copy {
  position: absolute;
  left: 360px;
  top: 230px;
  width: 435px;
  padding-top: 0;
}

.hero-title h1,
.section-heading h2 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.hero-title h1 {
  font-size: 64px;
  line-height: 1.22;
}

.section-heading h2 {
  font-size: 48px;
  line-height: 1.16;
}

.hero-title span,
.section-heading span {
  color: var(--accent);
}

.hero-desc {
  margin: 40px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
  line-height: 1.5;
  width: 560px;
}

.platform-block {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 40px;
  max-width: 240px;
}

.platform-label {
  width: 100%;
  margin: 0 0 5px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.3;
}

.platform-pill {
  width: 72px;
  height: 35px;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.platform-logo {
  position: absolute;
  object-fit: contain;
}

.platform-logo.starcharge {
  left: 2.35px;
  top: 8.37px;
  width: 103.13px;
  height: 18.26px;
}

.platform-logo.ykc {
  left: 17.77px;
  top: 12.1px;
  width: 36.46px;
  height: 10.8px;
}

.platform-logo.teladian {
  left: 11px;
  top: 10px;
  width: 50px;
  height: 15px;
}

.qr-panel {
  width: 80px;
  margin: 40px 0 0;
  text-align: center;
}

.qr-image {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  background: #fff;
  object-fit: cover;
}

.qr-panel figcaption {
  margin-top: 9px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 11px;
  line-height: 1.36;
  text-align: left;
  width: 100px;
}

.hero-visual {
  position: absolute;
  left: 758px;
  top: 120px;
  width: 1020px;
  z-index: 2;
}

.hero-gradient {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 1080px;
  height: 1080px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(81, 64, 2, 0.35) 0%, transparent 50%),
    radial-gradient(ellipse 60% 50% at 65% 55%, rgba(92, 75, 24, 0.25) 0%, transparent 45%),
    radial-gradient(ellipse 100% 80% at 50% 50%, rgba(0, 0, 0, 0.4) 0%, transparent 60%);
  border-radius: 50%;
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}

.feature-section,
.decision-section {
  padding-top: var(--section-gap);
}

.section-heading {
  margin-bottom: 40px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 384px));
  gap: 24px;
}

.feature-card,
.decision-card,
.about,
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.feature-card {
  position: relative;
  min-height: 512px;
  padding: 40px 0 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.01)),
    linear-gradient(135deg, rgba(246, 178, 35, 0.18), rgba(246, 178, 35, 0) 45%);
  overflow: hidden;
}

.feature-card::before,
.decision-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--stroke);
  pointer-events: none;
}

.feature-card::after,
.decision-card::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background:
    radial-gradient(ellipse at center, rgba(246, 178, 35, 0.14) 0%, rgba(246, 178, 35, 0.08) 36%, rgba(246, 178, 35, 0.025) 58%, transparent 78%);
  filter: blur(18px);
  pointer-events: none;
  opacity: 0.72;
}

.feature-card:nth-child(1)::after {
  left: -31px;
  top: 20px;
  width: 186.59px;
  height: 331.5px;
}

.feature-card:nth-child(2)::after {
  right: -281px;
  top: -55px;
  width: 315.63px;
  height: 101.67px;
  opacity: 0.55;
}

.feature-card:nth-child(3)::after {
  right: -45px;
  top: 60px;
  width: 186.59px;
  height: 331.5px;
}

.feature-preview {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 384px;
  height: 348px;
  object-fit: cover;
}

.feature-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
}

.feature-icon-image {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
}

.feature-copy {
  width: 100%;
  height: 48px;
  padding: 0 24px;
  margin: 0;
  text-align: center;
  font-size: 18px;
  line-height: 1.35;
  color: #fff;
  position: relative;
  z-index: 1;
}

.decision-grid {
  display: grid;
  grid-template-columns: 592px 592px;
  grid-template-rows: 199px 199px;
  gap: 16px;
}

.decision-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.01)),
    linear-gradient(135deg, rgba(246, 178, 35, 0.14), rgba(246, 178, 35, 0) 42%);
}

.decision-card.horizontal {
  display: block;
}

.decision-card.vertical {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.decision-text {
  position: relative;
  z-index: 1;
  width: 230px;
  padding-left: 30px;
}

.decision-card.horizontal .decision-text {
  position: absolute;
  left: 0;
  top: 68px;
}

.decision-card.vertical .decision-text {
  position: absolute;
  left: 0;
  top: 68px;
}

.decision-text h3,
.about-inner h3 {
  margin: 0;
  font-size: 32px;
  line-height: 1;
}

.decision-text p,
.about-inner p,
.footer p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.54);
  font-size: 14px;
  line-height: 1.45;
}

.detail-image {
  position: absolute;
  left: 254px;
  top: -54px;
  width: 338px;
  height: 338px;
  object-fit: cover;
}

.comment-image {
  position: absolute;
  left: 276.67px;
  top: 2px;
  width: 326px;
  height: 326px;
  object-fit: cover;
}

.decision-card.horizontal:first-child::after {
  left: 0.04px;
  top: -85px;
  width: 186.59px;
  height: 331.5px;
  opacity: 0.68;
}

.decision-card.horizontal:nth-child(2)::after {
  right: -148px;
  top: -29px;
  width: 186.59px;
  height: 331.5px;
  opacity: 0.66;
}

.map-image {
  position: absolute;
  left: 0;
  top: 0;
  width: 716px;
  height: 716px;
  object-fit: cover;
}

.decision-card.vertical::after {
  right: -26px;
  top: 100px;
  width: 186.59px;
  height: 331.5px;
  opacity: 0.66;
}

.about {
  width: 100%;
  max-width: none;
  margin-top: 129px;
  padding: 66px 0 0;
}

.about-inner {
  width: var(--container);
  margin: 0 auto;
}

.about-inner p {
  margin-top: 17px;
}

.footer {
  max-width: none;
  text-align: center;
  padding: 37px 0 80px;
}

.footer p {
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
}

.footer p+p {
  margin-top: 8px;
}

@media (hover: hover) and (pointer: fine) {

  .hero-image,
  .feature-card,
  .decision-card {
    transition:
      transform 260ms ease,
      box-shadow 260ms ease,
      border-color 260ms ease;
  }

  .hero-image:hover {
    transform: translateY(-6px);
  }

  .feature-card:hover,
  .decision-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
  }
}

@media (max-width: 1439px) {
  :root {
    --container: calc(100vw - 48px);
  }

  .hero {
    position: relative;
    width: var(--container);
    max-width: none;
    padding-top: 96px;
    min-height: auto;
  }

  .hero-copy {
    position: relative;
    left: auto;
    top: auto;
    width: min(435px, 100%);
    padding-top: 40px;
  }

  .hero-visual {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
  }

  .hero-grainient {
    inset: -80px -120px auto auto;
    height: 720px;
  }

  .grainient {
    right: -60px;
    top: -80px;
    width: 860px;
    height: 860px;
  }

  .hero-image {
    width: 100%;
    max-width: 1020px;
  }

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

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

  .detail-image,
  .comment-image {
    width: 280px;
    height: 280px;
  }

  .detail-image {
    left: auto;
    right: -10px;
    top: -30px;
  }

  .comment-image {
    left: auto;
    right: -6px;
    top: 12px;
  }

  .map-image {
    left: auto;
    right: -180px;
    width: 620px;
    height: 620px;
  }

  .about-inner {
    width: var(--container);
    margin: 0 auto;
  }
}

@media (max-width: 1024px) {
  :root {
    --container: calc(100vw - 32px);
    --section-gap: 64px;
  }

  .topbar {
    justify-content: flex-start;
    padding-top: 20px;
  }

  .hero {
    display: block;
    min-height: auto;
    padding-top: 36px;
  }

  .hero-copy {
    width: 100%;
    padding-top: 0;
  }

  .hero-title h1 {
    font-size: 48px;
    line-height: 1.18;
  }

  .hero-desc {
    max-width: 560px;
  }

  .platform-block {
    max-width: 260px;
  }

  .hero-visual {
    width: min(100%, 760px);
    margin: 0 auto;
  }

  .hero-grainient {
    left: auto;
    right: -180px;
    top: -60px;
    width: 720px;
    height: 720px;
    inset: auto;
  }

  .grainient {
    width: 720px;
    height: 720px;
    right: 0;
    top: 0;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .feature-card {
    min-height: 420px;
  }

  .feature-preview {
    width: 320px;
    height: auto;
    left: 50%;
    transform: translateX(-50%);
  }

  .decision-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .decision-card.vertical {
    grid-column: auto;
    grid-row: auto;
    min-height: 360px;
  }

  .decision-card.horizontal {
    min-height: 240px;
  }

  .detail-image {
    width: 240px;
    height: 240px;
    margin-top: 0;
    margin-right: -10px;
  }

  .comment-image {
    width: 240px;
    height: 240px;
    right: -6px;
    top: 12px;
  }

  .map-image {
    right: -80px;
    top: 42px;
    width: 460px;
    height: 460px;
  }

  .about {
    margin-top: 88px;
    padding-top: 48px;
  }
}

@media (max-width: 900px) {
  .topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    justify-content: center;
    padding: 12px 0;
    width: 100%;
    background: #070707;
  }

  .brand-image {
    width: 120px;
    height: 34px;
  }

  .hero-title h1,
  .section-heading h2 {
    font-size: 36px;
  }

  .hero-copy {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-desc {
    margin-top: 24px;
    font-size: 15px;
  }

  .hero-grainient {
    right: -220px;
    top: -90px;
    width: 620px;
    height: 620px;
  }

  .grainient {
    width: 620px;
    height: 620px;
  }

  .section-heading {
    text-align: center;
  }

  .platform-block {
    justify-content: center;
    margin: 40px auto 0;
  }

  .platform-label {
    font-size: 13px;
  }

  .platform-pill {
    width: 68px;
    height: 33px;
  }

  .platform-logo.starcharge {
    left: 2px;
    top: 7.9px;
    width: 97px;
    height: 17.2px;
  }

  .platform-logo.ykc {
    left: 16.8px;
    top: 11.4px;
    width: 34.5px;
    height: 10.2px;
  }

  .platform-logo.teladian {
    left: 10px;
    top: 9.5px;
    width: 47px;
    height: 14px;
  }

  .qr-panel {
    width: 100%;
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .qr-panel figcaption {
    width: auto;
    text-align: center;
  }

  .feature-copy {
    max-width: 250px;
    margin: 0 auto;
    font-size: 16px;
  }

  .feature-preview {
    width: 256px;
  }

  .decision-card.horizontal,
  .decision-card.vertical {
    min-height: auto;
    padding: 28px 0 0;
    display: flex;
    flex-direction: column;
  }

  .decision-card.horizontal {
    display: flex;
  }

  .decision-text {
    width: auto;
    padding: 0 20px;
    position: relative;
  }

  .decision-card.horizontal .decision-text,
  .decision-card.vertical .decision-text {
    position: relative;
    left: auto;
    top: auto;
  }

  .detail-image,
  .comment-image {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    height: 280px;
    margin: 20px 0 0;
    object-fit: cover;
    object-position: top;
    align-self: center;
  }

  .comment-image {
    top: auto;
  }

  .map-image {
    position: relative;
    right: auto;
    top: auto;
    width: 100%;
    height: 280px;
    margin: 20px 0 -20px 0;
    object-fit: cover;
    object-position: top;
  }

  .about {
    padding-top: 38px;
    text-align: center;
  }

  .about-inner h3 {
    font-size: 24px;
  }

  .about-inner p,
  .footer p {
    font-size: 12px;
  }
}