:root {
  --brown-950: #4c2505;
  --brown-900: #672f05;
  --brown-800: #7d400b;
  --brown-700: #9b632f;
  --gold: #c39a5e;
  --cream: #fff9eb;
  --cream-deep: #fff3d8;
  --paper: #ffffff;
  --ink: #422717;
  --muted: #81776e;
  --line: #e6ddd3;
  --orange: #ff6c32;
  --blue: #268bdc;
  --pink: #e55cc1;
  --green: #4dbd82;
  --shadow: 0 14px 34px rgba(79, 43, 14, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--paper); font-family: "SourceHanSansCN-Heavy"; line-height: 1.6; }
body.is-locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
.container { width: min(1200px, calc(100% - 64px)); margin: 0 auto; }
.section { padding: 112px 0; }
.categories { padding-top: 56px; }

.site-header { position: absolute; z-index: 10; inset: 0 0 auto; color: #fff; transition: background 180ms ease, box-shadow 180ms ease, backdrop-filter 180ms ease; }
.site-header.is-scrolled { position: fixed; background: rgba(103, 47, 5, 0.92); box-shadow: 0 8px 28px rgba(55, 28, 3, 0.18); backdrop-filter: blur(12px); }
.nav-wrap { display: flex; align-items: center; min-height: 82px; gap: 24px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; color: #fff; }
.brand-logo-image { width: 180px; height: 58px; object-fit: contain; object-position: left center; transform: translateY(10px); }
.brand-mark { display: grid; grid-template-columns: repeat(2, 8px); grid-template-rows: repeat(2, 8px); gap: 2px; width: 22px; height: 22px; padding: 3px; border: 2px solid currentColor; border-radius: 50%; }
.brand-mark span { display: block; border-radius: 50%; background: currentColor; }
.main-nav { display: flex; align-items: stretch; justify-content: flex-end; gap: 25px; margin-left: 1px; font-size: 13px; white-space: nowrap; }
.main-nav a { position: relative; padding: 26px 0 22px; opacity: 0.88; }
.main-nav a:hover, .main-nav a.is-current { opacity: 1; }
.main-nav a.is-current::after { position: absolute; right: 0; bottom: 16px; left: 0; height: 2px; background: #fff; content: ""; }
.nav-actions { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.language-switch { display: inline-flex; gap: 0; padding: 2px; border: 1px solid rgba(255,255,255,.82); border-radius: 999px; color: #fff; background: rgba(103, 47, 5, .72); cursor: pointer; }
.language-switch span { min-width: 34px; padding: 7px 9px; border-radius: 999px; font-size: 11px; text-align: center; }
.language-switch span:first-child { color: #fff; background: #e39a56; }
.language-switch.is-english span:first-child { color: #fff; background: transparent; }
.language-switch.is-english span:last-child { color: #fff; background: #e39a56; }
.nav-cta, .button { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; font-weight: 700; transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease; }
.nav-cta { min-width: 100px; min-height: 44px; padding: 0 18px; border-radius: 12px; color: #fff; background: var(--brown-900); font-size: 13px; }
.nav-cta:hover, .button:hover, .download-button:hover, .inline-action:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(80, 39, 6, 0.18); }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 9px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; margin: 4px 0; background: #fff; }

.hero { min-height: 960px; overflow: hidden; padding: 170px 0 130px; color: #fff; background: url("./大泰易网站_slices/bg.png") center top / cover no-repeat; }
.hero-layout { display: grid; grid-template-columns: 640px 912px; align-items: start; gap: 60px; min-height: 660px; }
.hero-copy { position: relative; z-index: 1; margin-top: 100px; }
.eyebrow, .section-kicker { margin: 0 0 18px; font-size: 12px; font-weight: 800; letter-spacing: 1.1px; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 28px; height: 2px; background: currentColor; }
.hero h1 { margin: 0; font-size: 78px; line-height: 1.04; letter-spacing: 0; }
.hero h1 span { white-space: nowrap; }
.hero-intro { max-width: 640px; margin: 28px 0 0; color: rgba(255,255,255,.92); font-size: 15px; }
.hero-intro > span { display: block; }
.hero-actions { display: flex; gap: 22px; margin-top: 156px; }
.button { min-height: 52px; padding: 0 28px; border: 0; font-size: 14px; cursor: pointer; }
.button-solid, .button-soft { color: #fff; background: rgba(125, 64, 11, .84); }
.button-soft { background: rgba(125, 64, 11, .62); }
.hero-media { position: relative; display: flex; justify-content: flex-start; margin-top: 60px; }
.hero-media > img { width: 604px; height: 604px; max-width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center; border-radius: 14px; box-shadow: 0 24px 60px rgba(63, 25, 1, .28); }
.hero-media::after { position: absolute; z-index: 1; right: 0; bottom: 0; width: 14%; height: 7%; border-radius: 0 0 14px 0; background: rgba(24, 10, 2, .96); content: ""; pointer-events: none; }
.hero-callout { position: absolute; z-index: 2; left: -200px; right: auto; bottom: 30px; display: grid; gap: 8px; width: 270px; padding: 24px 24px 22px; border-radius: 14px; color: #fff; background: var(--brown-900); box-shadow: 0 16px 34px rgba(63, 25, 1, .22); }
.hero-callout strong { font-size: 21px; line-height: 1.2; }
.hero-callout span { font-size: 12px; line-height: 1.65; }

.principles { padding: 80px 0 74px; background: var(--cream); }
.principles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.principle-card { min-height: 182px; padding: 26px 30px; border: 1px solid rgba(110, 62, 15, .08); border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
.principle-card h2 { margin: 0; color: var(--brown-900); font-size: 24px; line-height: 1.2; }
.card-rule { display: block; width: 100%; height: 3px; margin: 20px 0 17px; background: linear-gradient(90deg, #ff5f6d 0%, #ffc371 25%, #6bd968 50%, #38a7ff 75%, #c765ff 100%); }
.principle-card p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.6; }

.section-heading { max-width: 640px; margin: 0 auto 46px; text-align: center; }
.section-kicker { color: var(--brown-700); }
.section-heading h2, .rules-intro h2, .download-intro h2, .footer-heading h2 { margin: 0; color: var(--brown-900); font-size: 48px; line-height: 1.2; }
.section-heading > p:last-child { margin: 14px 0 0; color: var(--muted); font-size: 14px; }
.category-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-bottom: 36px; }
.category-tab { min-width: 112px; padding: 10px 20px; border: 0; border-radius: 999px; color: var(--muted); background: #f0f0f0; cursor: pointer; transition: background 180ms ease, color 180ms ease, transform 180ms ease; }
.category-tab.is-active { color: #fff; background: var(--brown-900); transform: translateY(-2px); }
.category-card { display: grid; grid-template-columns: 1fr 1fr; min-height: 436px; margin-top: 28px; overflow: hidden; border-radius: 15px; background: #fff; box-shadow: var(--shadow); scroll-margin-top: 112px; }
.category-copy { display: flex; flex-direction: column; align-items: flex-start; padding: 40px 42px 34px; }
.category-label { display: inline-flex; align-items: center; min-height: 28px; padding: 0 16px; border-radius: 999px; font-size: 13px; font-weight: 800; }
.label-blue { color: var(--blue); background: #d9edff; }
.label-orange { color: #f07b43; background: #ffe1d6; }
.label-pink { color: var(--pink); background: #ffe0f5; }
.label-green { color: var(--green); background: #def5e7; }
.category-copy h3 { margin: 18px 0 12px; color: #271d17; font-size: 27px; line-height: 1.25; }
.category-copy > p { width: min(26em, 100%); margin: 0; color: var(--muted); font-size: 16px; line-height: 1.6; }
.category-copy ul { display: grid; gap: 8px; margin: 20px 0 22px; padding: 20px 0 0; width: 100%; border-top: 1px solid var(--line); list-style: none; }
.category-copy li { position: relative; padding-left: 18px; color: #756a62; font-size: 16px; line-height: 1.6; }
.category-copy li::before { position: absolute; top: .62em; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 3px #ffe4d7; content: ""; }
.inline-action { margin-top: auto; padding: 9px 18px; border: 0; border-radius: 999px; color: #fff; background: var(--orange); font-size: 12px; font-weight: 800; cursor: pointer; transition: transform 180ms ease, box-shadow 180ms ease; }
.category-card > img { width: 100%; height: 100%; min-height: 436px; object-fit: cover; }

.rules { background: var(--cream); }
.rules-layout { display: grid; grid-template-columns: .86fr 1.14fr; align-items: center; gap: 86px; }
.rules-intro h2 { font-size: 46px; }
.rules-intro > p:last-child { max-width: 340px; margin: 24px 0 0; color: var(--muted); font-size: 13px; }
.rules-list { display: grid; gap: 16px; }
.rule-item { display: flex; flex-wrap: wrap; align-content: center; align-items: center; justify-content: center; column-gap: 30px; row-gap: 8px; width: 743px; height: 178px; padding: 20px 15px; border: 1px solid rgba(117, 71, 20, .08); border-radius: 13px; color: var(--brown-900); text-align: center; background: #fff; box-shadow: var(--shadow); }
.rule-item strong { color: var(--brown-900); font-size: 30px; line-height: 1.2; }
.rule-item > span { color: #6E3A06; font-size: 22px; line-height: 1.2; }
.rule-item p { width: 100%; margin: 10px 0 0; color: var(--muted); font-size: 18px; line-height: 1.6; }

.downloads { min-height: 700px; color: #fff; background: url("./大泰易网站_slices/下载专区(1).png") center / cover no-repeat; }
.download-layout { display: grid; grid-template-columns: .72fr 1.28fr; align-items: center; gap: 78px; min-height: 476px; }
.download-intro { position: relative; top: -20px; }
.section-kicker-light, .download-intro h2 { color: #fff; }
.download-intro h2 { font-size: 54px; }
.download-intro > p:last-child { max-width: 360px; margin: 20px 0 0; color: rgba(255,255,255,.88); font-size: 14px; }
.download-list { display: grid; gap: 22px; }
.download-item { display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 16px; min-height: 92px; padding: 14px 24px 14px 18px; border-radius: 13px; color: var(--brown-900); background: #fff; box-shadow: 0 14px 24px rgba(73, 35, 5, .13); }
.download-number { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; background: var(--orange); font-size: 16px; font-weight: 900; }
.download-item h3 { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0; font-size: 20px; line-height: 1.2; }
.download-item h3 small { padding: 4px 8px; border-radius: 5px; color: #8d8d8d; background: #f5f5f5; font-size: 10px; font-weight: 500; }
.download-item p { margin: 8px 0 0; color: var(--muted); font-size: 12px; }
.download-button { display: inline-flex; align-items: center; justify-content: center; min-width: 96px; padding: 10px 15px; border: 0; border-radius: 999px; color: #fff; background: var(--orange); font-size: 12px; font-weight: 800; text-align: center; cursor: pointer; transition: transform 180ms ease, box-shadow 180ms ease; }

.footer { padding: 88px 0 24px; background: #fff; }
.footer-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 36px; padding-bottom: 38px; border-bottom: 1px solid #d6d0ca; }
.footer-heading h2 { font-size: 42px; }
.footer-heading > div:first-child > p:last-child { max-width: 850px; margin: 16px 0 0; color: var(--muted); font-size: 13px; }
.footer-actions { display: flex; flex: 0 0 auto; gap: 14px; }
.footer-actions .button { border-radius: 12px; }
.button-brown { min-height: 44px; color: #fff; background: var(--brown-700); }
.button-gray { min-height: 44px; color: #fff; background: #757575; }
.footer-grid { display: grid; grid-template-columns: 1.1fr .8fr 1.1fr; gap: 48px; padding: 40px 0 34px; }
.contact-card { border-radius: 14px; }
.brand-card, .qr-card { padding: 34px 32px; color: #fff; background: var(--gold); }
.footer-brand-image { display: block; width: 100px; height: 150px; margin-bottom: 24px; object-fit: contain; }
.brand-card p { margin: 0 0 24px; color: rgba(255,255,255,.9); font-size: 13px; }
.brand-card > span:not(.footer-brand) { display: block; margin-top: 10px; padding: 9px 14px; border-radius: 8px; color: #80766e; background: #fff; font-size: 12px; }
.quick-links { display: grid; grid-template-columns: 1fr 1fr; align-content: start; gap: 13px 28px; padding: 34px 0; }
.quick-links h3 { grid-column: 1 / -1; margin: 0 0 4px; color: #5c544d; font-size: 15px; }
.quick-links a { color: #8f8982; font-size: 13px; }
.quick-links a:hover { color: var(--brown-900); }
.qr-card h3 { margin: 0; font-size: 17px; }
.qr-card p { margin: 14px 0 22px; color: rgba(255,255,255,.9); font-size: 13px; }
.qr-placeholder { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.qr-placeholder .qr-code { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 5px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 17px; border-top: 1px solid #d6d0ca; color: #96908a; font-size: 11px; }

.toast { position: fixed; z-index: 30; right: 24px; bottom: 24px; max-width: min(360px, calc(100% - 48px)); padding: 13px 18px; border-radius: 10px; color: #fff; background: rgba(66, 39, 23, .94); box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity 180ms ease, transform 180ms ease; font-size: 13px; }
.toast.is-visible { opacity: 1; transform: translateY(0); }
[data-reveal] { opacity: 1; transform: translateY(0); }
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 600ms ease, transform 600ms ease; }
.js [data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1220px) {
  .main-nav { gap: 25px; font-size: 12px; }
  .nav-wrap { gap: 16px; }
  .hero h1 { font-size: 68px; }
  .container { width: min(1120px, calc(100% - 48px)); }
}

@media (max-width: 1350px) and (min-width: 981px) {
  .hero-layout { grid-template-columns: minmax(0, .87fr) minmax(0, 1fr); gap: 60px; }
  .hero h1 { font-size: 62px; }
  .hero-callout { width: 240px; }
  .hero-media { justify-content: flex-end; }
  .hero-callout { left: calc(400px - 100%); }
  .hero-media > img { width: min(912px, 100%); height: auto; }
}

@media (max-width: 1600px) and (min-width: 1351px) {
  .hero-layout { grid-template-columns: minmax(0, .87fr) minmax(0, 1fr); gap: 60px; }
  .hero h1 { font-size: 62px; }
  .hero-media { justify-content: flex-end; }
  .hero-callout { left: calc(400px - 100%); }
  .hero-media > img { width: min(912px, 100%); height: auto; }
}

@media (min-width: 1601px) {
  .hero h1 { font-size: 76px; }
}

@media (max-width: 1600px) and (min-width: 981px) {
  .rule-item { width: 100%; height: 178px; }
}

@media (max-width: 980px) {
  .main-nav { position: fixed; top: 82px; right: 24px; left: 24px; display: grid; gap: 0; padding: 14px 20px; border-radius: 14px; background: rgba(103, 47, 5, .98); box-shadow: 0 20px 36px rgba(55, 28, 3, .2); opacity: 0; pointer-events: none; transform: translateY(-12px); transition: opacity 180ms ease, transform 180ms ease; }
  .main-nav.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .main-nav a { padding: 12px 0; }
  .main-nav a.is-current::after { right: auto; bottom: 8px; width: 28px; }
  .menu-toggle { display: block; margin-left: auto; }
  .nav-actions { display: none; }
  .hero { min-height: auto; padding-top: 150px; }
  .hero-layout { grid-template-columns: 1fr; gap: 72px; padding-bottom: 80px; }
  .hero-copy { margin-top: 0; }
  .hero-copy { max-width: 720px; }
    .hero-media { justify-content: flex-start; margin-top: 0; }
    .hero-callout { left: auto; right: auto; bottom: auto; }
  .hero-actions { margin-top: 44px; }
    .hero-media > img {
      width: min(100%, 620px);
      height: auto;
      aspect-ratio: 1 / 1;
    }
  .hero-callout { right: auto; left: 42%; }
  .category-card { grid-template-columns: 1fr; }
  .category-card > img { min-height: 0; height: auto; aspect-ratio: 674 / 449; }
  .rules-layout, .download-layout { grid-template-columns: 1fr; gap: 46px; }
  .download-layout { padding: 58px 0; }
  .downloads { min-height: auto; }
  .footer-heading { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 36px, 540px); }
  .section { padding: 76px 0; }
  .nav-wrap { min-height: 72px; }
  .brand-logo-image { transform: none; }
  .main-nav { top: 70px; right: 18px; left: 18px; }
  .hero { padding: 120px 0 70px; background-position: 64% top; }
  .hero-layout { gap: 46px; min-height: 0; padding-bottom: 0; }
  .hero h1 { font-size: 48px; }
  .hero-intro { font-size: 13px; }
  .hero-actions { gap: 12px; margin-top: 30px; }
  .button { min-height: 46px; padding: 0 22px; }
  .hero-media { flex-direction: column; align-items: stretch; }
  .hero-callout { position: relative; right: auto; bottom: auto; left: auto; width: 82%; margin: -28px 0 0 auto; }
  .principles-grid { grid-template-columns: 1fr; gap: 16px; }
  .principle-card { min-height: 0; }
  .section-heading h2, .rules-intro h2 { font-size: 38px; }
  .category-tabs { gap: 8px; }
  .category-tab { min-width: 0; padding: 9px 14px; font-size: 12px; }
  .category-copy { padding: 28px 24px 26px; }
  .category-copy h3 { font-size: 23px; }
  .category-card > img { width: calc(100% - 28px); margin: 0 14px 14px; border-radius: 10px; }
  .rule-item { grid-template-columns: 1fr; width: 100%; min-height: 178px; height: auto; gap: 4px; padding: 18px; }
  .rule-item p { margin-top: 8px; }
  .download-item { grid-template-columns: 38px 1fr; gap: 12px; padding: 14px; }
  .download-number { width: 34px; height: 34px; font-size: 13px; }
  .download-item h3 { font-size: 16px; }
  .download-item p { font-size: 11px; }
  .download-button { grid-column: 2; justify-self: start; }
  .footer { padding-top: 70px; }
  .footer-heading h2 { font-size: 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .quick-links { padding: 16px 0; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}
