* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: #25252b; font-family: Arial, "Microsoft YaHei", "Noto Sans Thai", sans-serif; background: #c8d4f9; }
button { font: inherit; cursor: pointer; }
.page { position: relative; max-width: 1500px; min-height: 100vh; margin: 0 auto; overflow: hidden; background: linear-gradient(108deg, #abb7f8 0%, #d9d6ff 34%, #b9e8f8 100%); }
.language-switch { position: absolute; z-index: 10; top: 18px; right: 22px; display: flex; gap: 4px; padding: 4px; border: 1px solid #fff9; border-radius: 30px; background: #ffffffcf; box-shadow: 0 5px 18px #566ac72e; }
.language-switch button { min-width: 62px; padding: 7px 12px; border: 0; border-radius: 22px; color: #3b39af; background: transparent; font-size: 15px; font-weight: 700; }
.language-switch button[aria-pressed="true"] { color: #fff; background: linear-gradient(95deg,#489ef0,#7e3ff3); }
.language-switch button:focus-visible, .order-button:focus-visible, .dialog-close:focus-visible, .order-choice:focus-visible { outline: 3px solid #322dcc; outline-offset: 3px; }
.hero { position: relative; aspect-ratio: 1500 / 1586; }
.hero-art { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero h1 { position: absolute; top: 11.5%; left: 5%; width: 90%; margin: 0; color: #4533d2; text-align: center; font-size: clamp(20px, 5vw, 76px); font-weight: 900; line-height: 1.2; -webkit-text-stroke: clamp(1px, .3vw, 4px) #fff; paint-order: stroke fill; text-shadow: 0 clamp(1px,.3vw,4px) 0 #6655eb; }
html[lang="zh-CN"] .hero h1, html[lang="zh-CN"] .price-bubble { width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.price-bubble { position: absolute; top: 25%; right: 13.5%; max-width: 45%; padding: .35em .55em; border: clamp(2px,.3vw,5px) solid #4c41dc; border-radius: 14px; color: #3731c5; background: #e8f6ffed; font-size: clamp(12px,2.2vw,33px); font-weight: 800; line-height: 1.35; text-align: center; }
.price-bubble:after { content: ""; position: absolute; left: 16%; bottom: -15px; width: 25px; height: 25px; background: #e8f6ff; border-right: 4px solid #4c41dc; border-bottom: 4px solid #4c41dc; transform: rotate(45deg) skew(-12deg,-12deg); z-index: -1; }
.content { padding: 60px 0 65px; background: linear-gradient(108deg, #aebaff 0%, #d9d8ff 42%, #a9def6 100%); }
.section { width: 88%; margin: 0 auto 100px; }
.section-heading { display: flex; align-items: center; justify-content: center; gap: 8px; height: 118px; margin: 0 0 16px; color: #fff; text-align: center; font-size: clamp(22px,3.5vw,52px); letter-spacing: 0; text-shadow: 0 3px 3px #594bdc75; }
.section-heading:before, .section-heading:after { content: "❮ ❮ ❮ ❮"; flex: 1 1 0; min-width: 0; color: transparent; font-family: Arial,sans-serif; font-size: .86em; font-weight: 800; line-height: 1; white-space: pre; text-align: right; background: linear-gradient(90deg,#65c6f5,#6699ef 52%,#a849ed); background-clip: text; -webkit-background-clip: text; filter: drop-shadow(0 0 1px #fff) drop-shadow(1px 2px 1px #6269c3a6); }
.section-heading:after { content: "❯ ❯ ❯ ❯"; text-align: left; }
.section-heading span { display: flex; align-items: center; justify-content: center; flex: 0 1 54%; min-width: 0; min-height: 88px; padding: 8px 20px; border: 2px solid #fff; border-radius: 60px; background: linear-gradient(95deg,#45abf1 0%,#5e81f4 48%,#a139f2 100%); box-shadow: 0 6px 8px #5879d44d; overflow-wrap: anywhere; }
.panel { border: 5px solid #c6c4ff; border-radius: 54px; background: #fff; }
.benefit-panel { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9%; min-height: 600px; padding: 105px 9% 80px; }
.benefit { display: flex; min-width: 0; flex-direction: column; align-items: center; gap: 45px; color: #4b71d9; text-align: center; font-size: clamp(19px,3.1vw,45px); font-weight: 400; }
.benefit strong { max-width: 100%; font-weight: 500; overflow-wrap: anywhere; }
.benefit-art { width: 100%; max-width: 470px; aspect-ratio: 470 / 250; border: 7px solid #c7c9ff; border-radius: 44px; background-repeat: no-repeat; background-position: center; background-size: cover; box-shadow: 0 2px 2px #5355b42b; }
.chatgpt-art { background-image: url("images/chatgpt-tile-filled.jpg"); }
.capcut-art { background-image: url("images/capcut-tile-filled.jpg"); }
.text-panel { padding: 75px 7.1% 90px; font-size: clamp(15px,2.65vw,38px); line-height: 1.7; letter-spacing: 0; overflow-wrap: anywhere; }
.text-panel p { margin: 0; }
.text-panel .detail-row { display: grid; grid-template-columns: max-content minmax(0,1fr); column-gap: .3em; }
.text-panel .detail-label { white-space: nowrap; }
.text-panel .price { color: #f11e21; }
.text-panel .spacer { height: 1.7em; }
.text-panel .subheading { margin-top: .2em; }
.text-panel ol { list-style: none; margin: 0; padding: 0; }
.text-panel li { margin: 0; }
.text-panel li + li { margin-top: .06em; }
.order-button { display: block; width: min(540px,75%); min-height: 100px; margin: 5px auto 0; padding: 15px 30px; border: 4px solid #fff; border-radius: 90px; color: #fff; background: linear-gradient(95deg,#379ff0,#6556ed,#933cf0); box-shadow: 0 5px 0 #939ce1, inset 0 4px 8px #ffffff80, 0 10px 25px #5455c454; font-size: clamp(24px,4vw,50px); font-weight: 900; text-shadow: 3px 4px 2px #363c9880; }
dialog { position: relative; width: min(96vw,86dvh,880px); max-height: 94dvh; border: 0; border-radius: 0; padding: 0; overflow: auto; color: #080808; background: #fff; box-shadow: none; }
dialog:focus { outline: none; }
dialog::backdrop { background: #161b4699; }
.order-reference { display: block; width: 100%; height: auto; }
.order-reference-close { position: absolute; z-index: 3; top: 3%; right: 5%; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; }
.order-reference-close:focus-visible { outline: 3px solid #2477ce; outline-offset: 2px; }
html[lang="zh-CN"] .order-dialog-top, html[lang="zh-CN"] .order-dialog-card { display: none; }
html[lang="zh-CN"] .order-choice { min-height: 0; aspect-ratio: 2.3; padding: 0; border: 0; border-radius: 0; color: transparent; background-size: 100% 100%; background-repeat: no-repeat; box-shadow: none; font-size: 0; }
html[lang="zh-CN"] .order-choice:first-child { background-image: url("images/799泰铢AI高级会员专享包-拷贝_01.png"); }
html[lang="zh-CN"] .order-choice:last-child { background: url("images/799泰铢AI高级会员专享包-拷贝_02.png") center / 100% 100% no-repeat; }
.order-dialog-top { position: absolute; z-index: 1; top: 18.2%; left: 16.7%; width: 63%; }
.order-dialog-top h2 { margin: 0; font-size: 40px; font-weight: 900; line-height: 1.2; }
.dialog-close { display: none; }
.order-dialog-card { position: absolute; z-index: 1; top: 28%; left: 11.7%; width: 76.6%; height: 49%; margin: 0; padding: 3.3% 4.5% 1%; overflow: auto; border-radius: 6%; background: linear-gradient(#f5fbff,#fdfbff); }
.order-dialog-intro { margin: 0 0 17px; font-size: 24px; font-weight: 750; line-height: 1.25; }
.order-summary { display: grid; gap: 11px; margin: 0; font-size: 18px; line-height: 1.35; }
.order-summary-row { display: grid; grid-template-columns: 5.7em minmax(0,1fr); gap: 8px; align-items: start; }
.order-summary-row dt { font-weight: 500; }
.order-summary-row dd { min-width: 0; margin: 0; white-space: pre-line; overflow-wrap: anywhere; }
.order-summary-name dd { color: #1685db; }
.order-summary-price { margin-top: 7px; }
.price-number { color: #ec592c; }
.order-dialog-actions { position: absolute; z-index: 2; bottom: 6%; left: 10%; right: 10%; display: flex; align-items: center; justify-content: center; gap: 2%; padding: 0; }
.order-choice { flex: 1 1 0; min-height: 0; aspect-ratio: 2.3; padding: 0 10%; border: 0; border-radius: 0; color: #080808; background: url("images/order-button-blank.png") center / 100% 100% no-repeat; font-size: clamp(18px,2.2vw,23px); font-weight: 800; }
.order-choice:hover { filter: brightness(1.04); }
.order-unavailable:not([hidden]) { display: block; position: absolute; z-index: 3; bottom: 18%; left: 12%; right: 12%; margin: 0; padding: 10px; border-radius: 8px; color: #273561; background: #ffffffed; box-shadow: 0 3px 12px #505dc433; font-size: 15px; line-height: 1.4; text-align: center; }
@media (max-width: 700px) {
  .language-switch { top: 8px; right: 8px; gap: 0; padding: 3px; }
  .language-switch button { min-width: 45px; padding: 5px 7px; font-size: 12px; }
  .hero h1 { top: 11%; font-size: clamp(18px, 5vw, 32px); }
  .price-bubble { top: 25%; right: 13.5%; max-width: 53%; border-radius: 6px; }
  .price-bubble:after { width: 10px; height: 10px; bottom: -6px; border-width: 2px; }
  .content { padding: 20px 0 32px; }
  .section { width: 91%; margin-bottom: 32px; }
  .section-heading { min-height: 48px; height: auto; margin-bottom: 9px; gap: 4px; font-size: clamp(16px,4vw,25px); }
  .section-heading span { flex-basis: 53%; min-height: 38px; padding: 4px 6px; }
  .section-heading:before,.section-heading:after { overflow: hidden; font-size: 1.12em; }
  .panel { border-width: 2px; border-radius: 19px; }
  .benefit-panel { min-height: 0; gap: 5%; padding: 24px 6% 25px; }
  .benefit { gap: 12px; font-size: clamp(14px,3.9vw,20px); }
  .benefit-art { border-width: 3px; border-radius: 12px; }
  .text-panel { padding: 24px 7% 30px; font-size: clamp(13px,3.55vw,17px); line-height: 1.65; }
  .text-panel .detail-row { display: block; }
  .text-panel .detail-label { white-space: normal; }
  .order-button { min-height: 55px; border-width: 2px; }
  .order-dialog-top h2 { font-size: 23px; }
  .order-dialog-intro { margin-bottom: 6px; font-size: 14px; }
  .order-summary { gap: 4px; font-size: 11px; line-height: 1.25; }
  .order-summary-row { grid-template-columns: 6em minmax(0,1fr); gap: 4px; }
  .order-summary-price { margin-top: 2px; }
  .order-choice { padding: 0 8%; font-size: 16px; }
  .order-unavailable:not([hidden]) { padding: 7px; font-size: 11px; }
}
@media (max-width: 430px) {
  .order-dialog-top h2 { font-size: 20px; }
  .order-dialog-intro { font-size: 12px; }
  .order-summary { gap: 2px; font-size: 9px; line-height: 1.15; }
  .order-summary-row { gap: 2px; }
  .order-choice { font-size: 14px; }
}
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.payment-dialog { width: min(94vw, 560px); max-height: min(94dvh, 800px); border: 3px solid #c6c4ff; border-radius: 18px; color: #34335f; background: #fff; box-shadow: 0 20px 70px #3c46a44d; }
.payment-dialog::backdrop { background: #25276b80; }
.payment-shell { position: relative; padding: 28px clamp(18px, 5vw, 38px) 22px; font-family: Arial, "Noto Sans Thai", sans-serif; background: linear-gradient(180deg, #f5f7ff 0, #fff 150px); }
.payment-close { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: #6259bd; font-size: 26px; line-height: 1; }
.payment-close:hover { background: #e9e8ff; }
.payment-shell h2 { margin: 0 36px 4px 0; color: #4b39ce; font-size: 21px; line-height: 1.3; }
.payment-price { margin: 0 0 20px; color: #6a6d92; font-size: 14px; }
.payment-label { display: block; margin: 12px 0 7px; font-size: 14px; font-weight: 600; }
.payment-dialog input:not([type="radio"]):not([type="checkbox"]) { width: 100%; height: 40px; padding: 8px 10px; border: 1px solid #c7c9ee; border-radius: 7px; background: #fff; color: #292a48; font: inherit; font-size: 15px; }
.payment-dialog input::placeholder { color: #9ca3af; }
.payment-dialog input:focus-visible, .payment-dialog button:focus-visible { outline: 2px solid #6256e8; outline-offset: 2px; }
.payment-methods { min-width: 0; margin: 22px 0 0; padding: 0; border: 0; }
.payment-methods legend { margin-bottom: 12px; font-size: 16px; font-weight: 700; }
.method-option { display: flex; align-items: center; gap: 12px; min-height: 60px; margin: 0 0 12px; padding: 12px 16px; border: 1px solid #c7c9ee; border-radius: 8px; background: #fff; cursor: pointer; font-size: 16px; }
.method-option:hover { border-color: #8c89e9; background: #fafaff; }
.method-option.selected { border-color: #6556ed; background: #f4f3ff; box-shadow: inset 0 0 0 1px #6556ed; }
.method-option input { width: 18px; height: 18px; margin-left: auto; accent-color: #6556ed; }
.method-symbol { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 28px; border: 1px solid #dde0e5; border-radius: 3px; font-size: 21px; }
.wallet-logo { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 42px; height: 27px; border: 1px solid #d0d2d7; border-radius: 5px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.apple-logo { color: #111; }
.google-logo { color: #4285f4; }
.card-details { margin: -1px 0 12px; padding: 0 16px 15px; border: 1px solid #c7c9ee; border-radius: 8px; background: #fcfcff; }
.test-controls { margin: 14px 0 12px; padding: 10px 12px; border: 1px solid #d7d7f4; border-radius: 8px; background: #f7f8ff; }
.test-controls-title { margin-bottom: 7px; font-size: 13px; }
.test-controls-title span { color: #7c838d; }
.test-row { display: grid; grid-template-columns: minmax(0,1fr) 88px 88px; align-items: center; gap: 8px; margin-top: 7px; color: #4b5563; font-size: 14px; }
.test-row button { min-height: 27px; border: 1px solid #c7c9ee; border-radius: 4px; color: #4b44ad; background: #fff; font-size: 13px; }
.test-row button:hover { border-color: #6556ed; background: #f4f3ff; }
.test-row button.test-selected { border-color: #6556ed; color: #fff; background: #6556ed; }
.card-input-wrap { position: relative; }
.card-input-wrap input { padding-right: 78px !important; border-radius: 7px 7px 0 0 !important; }
.card-brands { position: absolute; top: 7px; right: 9px; display: flex; gap: 4px; align-items: center; pointer-events: none; }
.card-brands b { padding: 2px; border: 1px solid #d0d2d7; border-radius: 3px; color: #1742ad; font-size: 11px; font-style: italic; }
.card-brands .mastercard-mark { color: #e96219; letter-spacing: -5px; padding-right: 6px; }
.card-split { display: grid; grid-template-columns: 1fr 1fr; margin-top: -1px; }
.card-split > div { position: relative; }
.card-split input { border-radius: 0 !important; }
.card-split > div + div input { border-left: 0 !important; padding-right: 32px !important; }
.card-split > div + div span { position: absolute; top: 10px; right: 10px; color: #707780; }
.card-details > input:last-child { margin-top: 0; }
.terms-line { display: flex; align-items: flex-start; gap: 10px; margin: 20px 0 14px; font-size: 13px; line-height: 1.5; }
.terms-line input { flex: 0 0 16px; width: 16px; height: 16px; margin: 1px 0 0; accent-color: #6556ed; }
.payment-error { margin: 0 0 12px; color: #b42318; font-size: 13px; }
.payment-submit { width: 100%; min-height: 46px; border: 2px solid #fff; border-radius: 30px; color: #fff; background: linear-gradient(95deg, #379ff0, #6556ed, #933cf0); box-shadow: 0 4px 0 #aaa9e9, inset 0 2px 5px #ffffff70; font-size: 15px; font-weight: 800; }
.payment-submit:hover { filter: brightness(1.06); }
.secure-note { margin: 16px 0 0; color: #9198a4; font-size: 12px; text-align: center; }
.payment-result { padding: 55px 8px 22px; text-align: center; }
.payment-result h2 { margin: 14px 0 8px; }
.payment-result p { color: #626873; font-size: 14px; line-height: 1.5; }
.payment-result .result-email { margin-bottom: 28px; color: #222; overflow-wrap: anywhere; }
.result-icon { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 50%; color: white; background: linear-gradient(135deg, #45abf1, #6556ed); font-size: 28px; }
@media (max-width: 480px) {
  .payment-shell { padding: 24px 16px 18px; }
  .test-row { grid-template-columns: minmax(0,1fr) 68px 68px; gap: 5px; }
  .test-row button { font-size: 11px; }
  .card-details { padding: 0 10px 12px; }
}
