:root {
  --bg: #F4E8CF;
  --paper: #FFF8EA;
  --paper-2: #F2E7CF;
  --ink: #25352D;
  --ink-soft: #2E7D5B;
  --muted: #7D8C7C;
  --orange: #E5A93B;
  --orange-soft: #F8E7BD;
  --mint: #D9E7C6;
  --line: rgba(46, 125, 91, .18);
  --line-strong: rgba(46, 125, 91, .34);
  --shadow: 0 24px 70px rgba(46, 125, 91, .14);
  --serif: "Songti SC", "STSong", "Noto Serif SC", "SimSun", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 0%, rgba(217, 231, 198, .75), transparent 28rem),
    radial-gradient(circle at 90% 30%, rgba(229, 169, 59, .14), transparent 24rem),
    linear-gradient(160deg, #F4E8CF 0%, #E8DEC2 55%, #D9E7C6 100%);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
code { font-family: var(--mono); font-size: .9em; background: rgba(46, 125, 91, .09); padding: .14em .36em; border-radius: 6px; word-break: break-all; }
[hidden] { display: none !important; }

.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 99; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 999px; }
.skip-link:focus { top: 1rem; }
.section-shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1rem max(24px, calc((100vw - 1180px) / 2));
  background: rgba(244, 232, 207, .9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(46, 125, 91, .12);
}
.brand { display: flex; align-items: center; gap: .7rem; flex: none; }
.brand img { width: 38px; height: 38px; }
.brand span { display: grid; line-height: 1.1; }
.brand strong { font-family: var(--serif); font-size: 1.16rem; letter-spacing: .08em; }
.brand small { font-size: .58rem; letter-spacing: .24em; color: var(--muted); margin-top: .28rem; }
.site-header nav { display: flex; gap: 1.55rem; margin-left: auto; font-size: .9rem; }
.site-header nav a { color: var(--ink-soft); position: relative; }
.site-header nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -.4rem; height: 1px; background: var(--orange); transition: right .25s ease; }
.site-header nav a:hover::after { right: 0; }
.header-cta { flex: none; background: var(--ink); color: #fff; padding: .72rem 1.15rem; border-radius: 999px; font-size: .88rem; }
.header-cta span { color: var(--orange-soft); margin-left: .35rem; }

.hero { display: grid; grid-template-columns: 1.12fr .88fr; gap: 4rem; align-items: center; min-height: 680px; padding-block: 5rem 5.5rem; }
.eyebrow { display: flex; align-items: center; gap: .6rem; margin: 0 0 1.15rem; color: var(--orange); font-size: .72rem; font-weight: 700; letter-spacing: .19em; text-transform: uppercase; }
.eyebrow.light { color: var(--orange-soft); }
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 5px rgba(229, 169, 59, .22); }
.hero h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(2.55rem, 5vw, 4.5rem); line-height: 1.12; letter-spacing: -.045em; margin: 0; }
.hero h1 em, .section-heading h2 em, .redeem-inner h2 em { color: var(--orange); font-style: normal; }
.hero-lead { max-width: 35rem; margin: 1.65rem 0 0; color: var(--ink-soft); font-size: 1.08rem; line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; border: 1px solid transparent; border-radius: 999px; padding: .92rem 1.45rem; font-weight: 650; font-size: .92rem; transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--ink); color: #fff; box-shadow: 0 12px 26px rgba(46, 125, 91, .2); }
.button-primary:hover { background: #246349; }
.button-ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.button-ghost:hover { background: rgba(255, 255, 255, .45); }
.trust-row { display: flex; flex-wrap: wrap; gap: 0 1.5rem; margin: 2.4rem 0 0; padding: 1.2rem 0 0; border-top: 1px solid var(--line); list-style: none; }
.trust-row li { display: grid; line-height: 1.45; margin-right: .3rem; }
.trust-row b { font-family: var(--serif); font-size: .95rem; }
.trust-row span { color: var(--muted); font-size: .72rem; }

.hero-art { position: relative; min-height: 500px; display: grid; place-items: center; }
.hero-art::before { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle at 50% 46%, rgba(255, 248, 234, .98), rgba(217, 231, 198, .5) 56%, transparent 72%); filter: blur(1px); }
.orbit { position: absolute; border: 1px solid rgba(46, 125, 91, .18); border-radius: 50%; transform: rotate(-18deg); }
.orbit-a { width: 330px; height: 210px; }
.orbit-b { width: 390px; height: 275px; border-style: dashed; transform: rotate(28deg); }
.mascot { position: relative; z-index: 2; width: min(330px, 78%); height: auto; filter: drop-shadow(0 26px 30px rgba(46, 125, 91, .18)); animation: mascot-bob 6s ease-in-out infinite; }
.mascot-bubble { position: absolute; z-index: 4; left: -6px; top: 34px; display: grid; gap: .1rem; padding: .7rem .95rem; border: 1px solid rgba(46, 125, 91, .2); border-radius: 16px 16px 16px 4px; background: rgba(255, 248, 234, .94); box-shadow: 0 14px 34px rgba(46, 125, 91, .14); backdrop-filter: blur(10px); }
.mascot-bubble b { font-family: var(--serif); font-size: 1rem; letter-spacing: .06em; color: var(--ink); }
.mascot-bubble span { font-size: .68rem; color: var(--muted); }
.floating-card { position: absolute; z-index: 3; display: grid; gap: .3rem; background: rgba(255, 248, 234, .92); border: 1px solid rgba(46, 125, 91, .16); box-shadow: 0 16px 40px rgba(46, 125, 91, .14); border-radius: 16px; padding: .85rem 1rem; backdrop-filter: blur(10px); animation: float 6s ease-in-out infinite; }
.floating-card strong { font-size: .82rem; font-weight: 650; }
.mini-label { font-size: .62rem; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }
.card-tv { top: 37px; right: -8px; width: 190px; }
.card-phone { left: -18px; bottom: 38px; width: 190px; animation-delay: -3s; }
.mini-progress { display: block; height: 4px; background: rgba(46, 125, 91, .14); border-radius: 9px; margin-top: .4rem; overflow: hidden; }
.mini-progress i { display: block; width: 64%; height: 100%; background: var(--orange); border-radius: inherit; }
.mini-dots { display: flex; gap: 4px; margin-top: .4rem; }
.mini-dots i { width: 17px; height: 4px; background: rgba(46, 125, 91, .18); border-radius: 4px; }
.mini-dots i:first-child { background: var(--ink); }
.star { position: absolute; color: var(--orange); font-size: 1.3rem; }
.star-a { top: 18px; left: 58px; }
.star-b { right: 25px; bottom: 55px; font-size: 1rem; color: var(--ink-soft); }

.marquee { overflow: hidden; border-block: 1px solid var(--line); background: rgba(255, 248, 234, .5); }
.marquee div { width: max-content; padding: .8rem 0; font-family: var(--serif); font-size: .86rem; letter-spacing: .05em; animation: slide 28s linear infinite; }
.marquee span { color: var(--orange); padding-inline: 1.2rem; }

.versions { padding-block: 7rem 5rem; }
.section-heading { display: grid; grid-template-columns: 1.1fr .9fr; gap: 1rem 4rem; align-items: end; margin-bottom: 3rem; }
.section-heading .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.section-heading h2, .redeem-inner h2, .facts-card h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 4.1vw, 3.7rem); line-height: 1.15; letter-spacing: -.04em; margin: 0; }
.section-heading > p:last-child { color: var(--muted); font-size: .94rem; margin: 0; line-height: 1.9; }
.section-heading.compact { grid-template-columns: 1fr; max-width: 640px; }

.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.product-card { position: relative; display: flex; flex-direction: column; min-height: 480px; padding: 1.7rem; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 248, 234, .72); overflow: hidden; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.product-card::before { content: ""; position: absolute; width: 180px; height: 180px; right: -70px; top: -70px; border-radius: 50%; background: rgba(217, 231, 198, .6); transition: transform .4s ease; }
.product-box::before { background: rgba(229, 169, 59, .28); }
.product-phone::before { background: rgba(62, 155, 116, .26); }
.product-tablet::before { background: rgba(229, 169, 59, .24); }
.product-card:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.product-card:hover::before { transform: scale(1.15); }
.product-top { position: relative; display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.product-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 17px; background: var(--ink); color: #FFF8EA; }
.product-icon svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.product-box .product-icon { background: #2E7356; }
.product-phone .product-icon { background: #3E9B74; }
.product-tablet .product-icon { background: #B9832B; }
.version-tag { color: var(--muted); font-size: .65rem; letter-spacing: .07em; border: 1px solid var(--line); border-radius: 999px; padding: .38rem .6rem; background: rgba(255, 255, 255, .35); }
.product-card h3 { position: relative; font-family: var(--serif); font-size: 2.05rem; line-height: 1.2; margin: 1.15rem 0 .2rem; letter-spacing: -.03em; }
.product-sub { position: relative; color: var(--muted); font-size: .85rem; line-height: 1.7; margin: 0; }
.product-card ul { position: relative; list-style: none; padding: 0; margin: 1.35rem 0 1.5rem; display: grid; gap: .5rem; }
.product-card li { position: relative; padding-left: 1rem; font-size: .84rem; color: var(--ink-soft); }
.product-card li::before { content: ""; position: absolute; left: 0; top: .65em; width: 4px; height: 4px; border-radius: 50%; background: var(--orange); }
.product-bottom { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: auto; padding-top: 1.15rem; border-top: 1px solid var(--line); }
.price { display: grid; line-height: 1.15; font-family: var(--serif); font-size: 2rem; font-weight: 600; }
.price small { font-family: var(--sans); font-size: .62rem; color: var(--muted); letter-spacing: .08em; margin-bottom: .38rem; }
.button-buy { background: var(--orange); color: var(--ink); padding: .78rem 1.2rem; }
.button-buy:hover { background: #C98F2B; }
.guide-link { position: relative; display: inline-flex; gap: .4rem; align-items: center; margin-top: 1rem; color: var(--muted); font-size: .73rem; }
.guide-link:hover { color: var(--orange); }
.version-note { margin: 1.4rem 0 0; color: var(--muted); font-size: .78rem; line-height: 1.8; }

.principle { padding-block: 4rem 7rem; border-top: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.step { padding: 2rem; background: rgba(255, 248, 234, .72); }
.step-no { display: inline-grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line-strong); border-radius: 50%; font-family: var(--mono); font-size: .72rem; color: var(--ink-soft); }
.step h3 { font-family: var(--serif); font-size: 1.3rem; margin: 1.1rem 0 .4rem; }
.step p { color: var(--muted); font-size: .86rem; line-height: 1.85; margin: 0; }

.guides { padding-block: 5rem 7rem; }
.guide-list { display: grid; gap: .8rem; }
.guide { border: 1px solid var(--line); border-radius: 18px; background: rgba(255, 248, 234, .7); overflow: hidden; }
.guide summary { display: grid; grid-template-columns: 120px 1fr auto; align-items: center; gap: 1rem; padding: 1.25rem 1.5rem; cursor: pointer; list-style: none; }
.guide summary::-webkit-details-marker { display: none; }
.guide summary span { font-family: var(--serif); font-size: 1.35rem; }
.guide summary b { color: var(--muted); font-size: .78rem; font-weight: 500; }
.guide summary i { font-style: normal; font-size: 1.35rem; color: var(--orange); transition: transform .2s ease; }
.guide[open] summary i { transform: rotate(45deg); }
.guide-body { padding: 0 1.5rem 1.5rem 7.25rem; }
.guide-body ol { margin: 0; padding-left: 1.2rem; display: grid; gap: .75rem; color: var(--ink-soft); font-size: .9rem; line-height: 1.9; }
.guide-body li::marker { color: var(--orange); font-family: var(--mono); font-size: .75rem; }
.guide-tip { margin-top: 1.2rem; padding: .95rem 1rem; border-left: 2px solid var(--orange); background: rgba(240, 179, 139, .12); color: var(--muted); font-size: .8rem; line-height: 1.8; }

.redeem-band { background: var(--ink); color: #f6f1e8; padding-block: 6rem; }
.redeem-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.redeem-inner > div > p:last-child { max-width: 30rem; color: rgba(246, 241, 232, .64); font-size: .9rem; line-height: 1.9; }
.redeem-inner h2 em { color: var(--orange-soft); }
.redeem-form { padding: 1.8rem; border: 1px solid rgba(246, 241, 232, .18); border-radius: 24px; background: rgba(255, 255, 255, .055); }
.redeem-form label { display: block; font-size: .74rem; letter-spacing: .12em; color: rgba(246, 241, 232, .62); margin-bottom: .7rem; }
.input-row { display: flex; gap: .7rem; }
.input-row input { min-width: 0; flex: 1; border: 1px solid rgba(246, 241, 232, .22); background: rgba(0, 0, 0, .12); border-radius: 999px; color: #fff; padding: .88rem 1.1rem; outline: none; text-transform: uppercase; letter-spacing: .04em; }
.input-row input:focus { border-color: var(--orange-soft); box-shadow: 0 0 0 3px rgba(240, 179, 139, .12); }
.button-light { background: #f6f1e8; color: var(--ink); flex: none; }
.form-hint { margin: .8rem 0 0; color: rgba(246, 241, 232, .48); font-size: .72rem; line-height: 1.7; }
.redeem-result { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(246, 241, 232, .15); color: #f6f1e8; font-size: .88rem; }
.redeem-result .button { margin-top: .7rem; background: var(--orange); color: #fff; }
.redeem-result.error { color: #ffc2a5; }

.faq { padding-block: 7rem 5rem; }
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 2rem; border-top: 1px solid var(--line); }
.faq-grid details { border-bottom: 1px solid var(--line); padding: 1.1rem 0; }
.faq-grid summary { display: flex; justify-content: space-between; gap: 1rem; cursor: pointer; list-style: none; font-family: var(--serif); font-size: 1.05rem; }
.faq-grid summary::-webkit-details-marker { display: none; }
.faq-grid summary i { font-style: normal; color: var(--orange); }
.faq-grid p { margin: .65rem 0 0; color: var(--muted); font-size: .84rem; line-height: 1.9; }

.facts { padding-bottom: 7rem; }
.facts-card { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 3rem); background: linear-gradient(145deg, rgba(255, 248, 234, .85), rgba(239, 231, 216, .55)); }
.facts-card h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); margin-bottom: 1.8rem; }
.fact-table { border-top: 1px solid var(--line); }
.fact-table > div { display: grid; grid-template-columns: 150px 1fr; gap: 1rem; padding: .72rem 0; border-bottom: 1px solid var(--line); font-size: .85rem; }
.fact-table b { font-weight: 600; color: var(--ink); }
.fact-table span { color: var(--muted); }
.facts-note { margin: 1.2rem 0 0; color: var(--muted); font-size: .74rem; line-height: 1.8; }

.site-footer { border-top: 1px solid var(--line); padding: 3rem 0 1.5rem; background: rgba(255, 248, 234, .4); }
.footer-grid { display: grid; grid-template-columns: 1.8fr repeat(3, 1fr); gap: 2rem; }
.footer-brand { margin-bottom: 1rem; }
.footer-grid > div:first-child p { color: var(--muted); font-size: .78rem; margin: 0; }
.footer-grid > div:not(:first-child) { display: grid; align-content: start; gap: .4rem; font-size: .78rem; }
.footer-grid > div > b { font-size: .72rem; letter-spacing: .1em; margin-bottom: .35rem; }
.footer-grid a { color: var(--muted); }
.footer-grid a:hover { color: var(--orange); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .68rem; }

.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 1rem; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(12, 29, 23, .54); backdrop-filter: blur(6px); }
.modal-panel { position: relative; z-index: 1; width: min(460px, 100%); max-height: calc(100vh - 2rem); overflow: auto; border: 1px solid rgba(46, 125, 91, .16); border-radius: 26px; background: var(--paper); padding: 2rem; box-shadow: 0 30px 100px rgba(0, 0, 0, .24); }
.modal-close { position: absolute; right: 1rem; top: .8rem; border: 0; background: transparent; font-size: 1.7rem; line-height: 1; color: var(--muted); }
.modal-panel h2 { font-family: var(--serif); font-size: 1.8rem; margin: 0; }
.pay-price { font-family: var(--serif); font-size: 2rem; margin: .45rem 0 1.2rem; }
.pay-price small { font-family: var(--sans); font-size: .68rem; color: var(--muted); }
.qr-wrap { display: grid; place-items: center; min-height: 228px; border-radius: 18px; background: #fff; border: 1px solid var(--line); padding: 1rem; }
.qr-wrap canvas, .qr-wrap img { width: 200px !important; height: 200px !important; }
.qr-placeholder { color: var(--muted); font-size: .8rem; }
#pay-status { text-align: center; font-size: .84rem; margin: .9rem 0 .2rem; }
.pay-hint { text-align: center; color: var(--muted); font-size: .7rem; line-height: 1.7; }
.pay-fallback { padding: 1rem; border-radius: 16px; background: rgba(229, 169, 59, .16); font-size: .86rem; }
.pay-fallback p { margin: 0 0 .8rem; }
.pay-success { text-align: center; }
.success-mark { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 1rem; border-radius: 50%; background: var(--mint); color: var(--ink); font-size: 1.7rem; }
.pay-success h3 { font-family: var(--serif); margin: 0; font-size: 1.5rem; }
.pay-success p { color: var(--muted); font-size: .84rem; }
.text-link { display: block; margin-top: 1rem; font-size: .78rem; color: var(--orange); }

@keyframes blink { 0%, 94%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.08); } }
@keyframes mascot-bob { 0%, 100% { transform: translateY(0) rotate(-.6deg); } 50% { transform: translateY(-8px) rotate(.6deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media (max-width: 900px) {
  .site-header nav { display: none; }
  .header-cta { margin-left: auto; }
  .hero { grid-template-columns: 1fr; min-height: 0; padding-block: 4rem 3rem; gap: 2rem; }
  .hero-art { min-height: 380px; width: min(480px, 100%); margin-inline: auto; }
  .section-heading { grid-template-columns: 1fr; gap: 1rem; }
  .product-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .redeem-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .guide-body { padding-left: 1.5rem; }
}

@media (max-width: 600px) {
  .section-shell { width: min(100% - 32px, 1180px); }
  .site-header { padding-inline: 16px; }
  .header-cta { font-size: .78rem; padding: .62rem .9rem; }
  .hero h1 { font-size: clamp(2rem, 9.2vw, 3.2rem); letter-spacing: -.035em; }
  .hero-lead { font-size: .95rem; }
  .trust-row { gap: .8rem 1.15rem; }
  .hero-art { min-height: 330px; transform: scale(.9); }
  .mascot { width: min(270px, 74%); }
  .mascot-bubble { top: 8px; left: 0; padding: .55rem .75rem; }
  .orbit-a { width: 280px; height: 175px; }
  .orbit-b { width: 320px; height: 225px; }
  .card-tv { right: -8px; top: 18px; width: 168px; }
  .card-phone { left: -8px; bottom: 18px; width: 168px; }
  .product-card { min-height: 0; padding: 1.35rem; }
  .guide summary { grid-template-columns: 1fr auto; gap: .3rem .8rem; }
  .guide summary span { grid-column: 1; }
  .guide summary b { grid-column: 1; font-size: .7rem; }
  .guide summary i { grid-column: 2; grid-row: 1 / 3; }
  .faq-grid { grid-template-columns: 1fr; }
  .fact-table > div { grid-template-columns: 110px 1fr; }
  .input-row { flex-direction: column; }
  .input-row .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .modal-panel { padding: 1.5rem; }
}
