:root {
  color-scheme: dark;
  --bg: #0b0913;
  --panel: rgba(26, 20, 40, 0.84);
  --panel-solid: #181328;
  --panel-soft: rgba(38, 28, 58, 0.68);
  --ink: #f8f4ff;
  --muted: #aca3bd;
  --subtle: #736984;
  --line: rgba(232, 219, 255, 0.13);
  --purple: #9b6dff;
  --purple-bright: #c3a1ff;
  --orange: #ff9b71;
  --cyan: #7cd9ff;
  --green: #8de0b2;
  --shadow: 0 22px 80px rgba(0, 0, 0, 0.33);
  --radius: 28px;
  font-family: "Avenir Next", "PingFang TC", "Noto Sans TC", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--ink); line-height: 1.5; }
body.sheet-open { overflow: hidden; }
button, a { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }

.ambient, .grain { pointer-events: none; position: fixed; inset: 0; z-index: -2; }
.ambient-a { background: radial-gradient(circle at 8% 8%, rgba(112, 63, 229, 0.27), transparent 34%), radial-gradient(circle at 88% 20%, rgba(255, 126, 101, 0.12), transparent 28%); }
.ambient-b { background: radial-gradient(circle at 50% 90%, rgba(55, 104, 170, 0.13), transparent 33%); z-index: -3; }
.grain { opacity: 0.05; z-index: -1; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E"); }

.app-shell { width: min(100%, 1120px); margin: 0 auto; padding: 0 20px 150px; }
.topbar { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; letter-spacing: -0.03em; }
.brand-mark { display: block; width: 32px; height: 32px; flex: 0 0 32px; border-radius: 9px; overflow: hidden; }
.brand-mark img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: inherit; }
.brand-name { font-size: 16px; font-weight: 700; }
.brand-pro { color: var(--purple-bright); font-size: 10px; font-weight: 800; letter-spacing: .18em; }
.preview-chip { border: 1px solid var(--line); border-radius: 999px; color: var(--subtle); font-size: 9px; font-weight: 700; letter-spacing: .14em; padding: 7px 10px; }

.hero { position: relative; padding: 56px 0 42px; overflow: hidden; }
.eyebrow { margin: 0 0 15px; color: var(--purple-bright); font-size: 10px; font-weight: 800; letter-spacing: .19em; text-transform: uppercase; }
.hero h1 { position: relative; max-width: 650px; margin: 0; font-size: clamp(45px, 14vw, 92px); font-weight: 500; letter-spacing: -0.075em; line-height: .94; }
.hero h1 em { color: transparent; font-style: normal; background: linear-gradient(100deg, #f9f4ff 7%, #bb98ff 48%, #ffad84 92%); background-clip: text; -webkit-background-clip: text; }
.hero-copy { max-width: 500px; margin: 26px 0 0; color: var(--muted); font-size: 15px; }
.hero-highlights { display: flex; flex-wrap: wrap; gap: 9px 16px; margin-top: 25px; color: #d5ccdf; font-size: 12px; }
.hero-highlights span { display: inline-flex; align-items: center; gap: 7px; }
.mini-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; }
.mini-dot-purple { background: var(--purple); box-shadow: 0 0 11px var(--purple); }
.mini-dot-orange { background: var(--orange); box-shadow: 0 0 11px var(--orange); }
.mini-dot-blue { background: var(--cyan); box-shadow: 0 0 11px var(--cyan); }
.hero-orbit { position: absolute; width: 220px; height: 220px; right: -116px; top: 25px; opacity: .38; transform: rotate(-28deg); }
.orbit-ring { position: absolute; inset: 18px; border: 1px solid rgba(195, 161, 255, .26); border-radius: 50%; box-shadow: inset 0 0 50px rgba(155, 109, 255, .12), 0 0 45px rgba(155, 109, 255, .1); }
.orbit-ring::before { content: ""; position: absolute; inset: 35px; border: 1px dashed rgba(255, 155, 113, .35); border-radius: 50%; }
.orbit-dot { position: absolute; border-radius: 50%; }
.orbit-dot-a { width: 13px; height: 13px; top: 35px; right: 39px; background: var(--orange); box-shadow: 0 0 24px var(--orange); }
.orbit-dot-b { width: 8px; height: 8px; bottom: 29px; left: 34px; background: var(--cyan); box-shadow: 0 0 20px var(--cyan); }

.membership-card { position: relative; padding: 24px; border: 1px solid rgba(195, 161, 255, .28); border-radius: var(--radius); background: linear-gradient(135deg, rgba(44, 30, 75, .94), rgba(24, 18, 38, .85)); box-shadow: var(--shadow); overflow: hidden; }
.membership-card::after { content: ""; position: absolute; width: 220px; height: 220px; right: -120px; top: -125px; border: 1px solid rgba(255, 155, 113, .28); border-radius: 50%; box-shadow: 0 0 0 24px rgba(255, 155, 113, .05), 0 0 0 48px rgba(255, 155, 113, .03); }
.membership-topline, .account-line { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.section-label { color: var(--muted); font-size: 11px; letter-spacing: .12em; }
.membership-code { color: var(--orange); font-size: 11px; font-weight: 800; letter-spacing: .16em; }
.membership-copy { position: relative; z-index: 1; margin: 28px 0 28px; }
.membership-copy h2 { margin: 0 0 7px; font-size: clamp(23px, 7vw, 34px); font-weight: 550; letter-spacing: -.045em; }
.membership-copy p { max-width: 470px; margin: 0; color: var(--muted); font-size: 13px; }
.account-line { position: relative; z-index: 1; padding-top: 16px; border-top: 1px solid var(--line); color: var(--subtle); font-size: 11px; }
.account-line strong { color: #eee8f7; font-size: 12px; font-weight: 500; word-break: break-all; }

.section-block { margin-top: 68px; }
.section-heading { margin-bottom: 20px; }
.section-heading h2 { margin: 0; font-size: clamp(27px, 7vw, 40px); font-weight: 500; letter-spacing: -.06em; }
.feature-list { border-top: 1px solid var(--line); }
.feature-item { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 13px; min-height: 92px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.feature-icon { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(195, 161, 255, .28); border-radius: 14px; color: var(--purple-bright); background: rgba(155, 109, 255, .1); }
.feature-item-accent .feature-icon { border-color: rgba(255, 155, 113, .34); color: var(--orange); background: rgba(255, 155, 113, .1); }
.feature-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.55; }
.feature-item h3 { margin: 0 0 4px; font-size: 15px; font-weight: 650; letter-spacing: -.02em; }
.feature-item p { margin: 0; color: var(--muted); font-size: 12px; }
.feature-index { align-self: start; padding-top: 3px; color: var(--subtle); font-size: 10px; letter-spacing: .1em; }

.plan-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.plan-burst { flex: 0 0 auto; padding: 8px 10px; border: 1px solid rgba(255, 155, 113, .28); border-radius: 10px; color: var(--orange); font-size: 10px; white-space: nowrap; }
.plan-card { padding: 24px; border: 1px solid rgba(195, 161, 255, .34); border-radius: var(--radius); background: linear-gradient(145deg, rgba(58, 36, 94, .87), rgba(23, 17, 38, .91)); box-shadow: 0 18px 56px rgba(59, 27, 105, .18); }
.plan-card-top { display: flex; align-items: start; justify-content: space-between; }
.plan-tag { display: inline-block; margin-bottom: 9px; color: var(--purple-bright); font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.plan-card h3, .lifetime-card h3 { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -.045em; }
.plan-symbol { color: rgba(195, 161, 255, .26); font-size: 26px; font-weight: 800; letter-spacing: .1em; }
.price-line { display: flex; align-items: baseline; flex-wrap: wrap; gap: 7px; margin-top: 27px; }
.price-lead { color: var(--orange); font-size: 13px; font-weight: 750; }
.price-current { color: #f8eee9; font-size: clamp(35px, 10vw, 52px); font-weight: 650; letter-spacing: -.07em; }
.promo-active .price-line { padding: 10px 14px 8px; margin-left: -14px; border-radius: 16px; background: linear-gradient(100deg, rgba(155, 109, 255, .2), rgba(255, 155, 113, .13)); }
.promo-active #price-current { color: #ffc2aa; font-size: clamp(43px, 11vw, 58px); text-shadow: 0 0 18px rgba(255, 155, 113, .22); }
.price-original { color: var(--muted); font-size: 16px; text-decoration: line-through; text-decoration-thickness: 1px; }
.price-period { color: var(--muted); font-size: 13px; }
.promo-copy { min-height: 22px; margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.plan-divider { height: 1px; margin: 21px 0 15px; background: var(--line); }
.plan-details { display: flex; flex-wrap: wrap; gap: 9px 18px; color: #d9d0e4; font-size: 11px; }
.check-mark { margin-right: 5px; color: var(--green); font-style: normal; }
.lifetime-card { display: flex; align-items: center; gap: 16px; padding: 26px 24px; border: 1px solid rgba(141, 224, 178, .34); border-radius: var(--radius); background: linear-gradient(145deg, rgba(29, 63, 55, .76), rgba(23, 25, 36, .9)); }
.lifetime-mark { color: var(--green); font-size: 42px; line-height: 1; }
.lifetime-card p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.is-hidden { display: none !important; }

.account-note { display: flex; gap: 14px; align-items: flex-start; margin-top: 56px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: rgba(24, 19, 38, .58); }
.account-note-icon { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid rgba(124, 217, 255, .35); border-radius: 50%; color: var(--cyan); font-size: 14px; }
.account-note strong { display: block; margin-bottom: 3px; font-size: 13px; }
.account-note p, .legal-copy p { margin: 0; color: var(--muted); font-size: 11px; }
.legal-copy { padding: 23px 0 0; }
.legal-copy nav { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 15px; }
.legal-copy a { color: var(--subtle); font-size: 11px; text-underline-offset: 3px; }
.legal-copy a:hover { color: var(--purple-bright); }
.page-footer { display: flex; justify-content: space-between; gap: 20px; margin-top: 58px; color: var(--subtle); font-size: 10px; letter-spacing: .06em; }

.sticky-cta { position: fixed; z-index: 20; right: 0; bottom: 0; left: 0; padding: 11px 20px calc(11px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(232, 219, 255, .14); background: rgba(11, 9, 19, .82); box-shadow: 0 -18px 45px rgba(0, 0, 0, .28); backdrop-filter: blur(20px); }
.sticky-cta-inner { display: flex; align-items: center; gap: 14px; width: min(100%, 1080px); margin: 0 auto; }
.cta-summary { display: flex; flex-direction: column; min-width: 85px; }
.cta-summary span { color: var(--muted); font-size: 10px; }
.cta-summary strong { font-size: 14px; }
.primary-cta { display: flex; flex: 1; align-items: center; justify-content: center; gap: 12px; min-height: 51px; padding: 0 17px; border: 0; border-radius: 17px; color: #140b1e; background: linear-gradient(100deg, #b993ff, #ffad84); box-shadow: 0 8px 28px rgba(182, 125, 255, .23); font-size: 13px; font-weight: 800; transition: transform .2s ease, filter .2s ease; }
.primary-cta span { font-size: 19px; line-height: 1; }
.primary-cta:hover { filter: brightness(1.08); transform: translateY(-2px); }
.primary-cta:active { transform: translateY(0); }
.primary-cta:focus-visible, .sheet-action:focus-visible, .sheet-close:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.status-backdrop { position: fixed; z-index: 50; inset: 0; display: grid; align-items: end; padding: 16px; background: rgba(4, 3, 8, .72); backdrop-filter: blur(10px); }
.status-sheet { position: relative; width: min(100%, 480px); margin: 0 auto; padding: 34px 24px 24px; border: 1px solid rgba(195, 161, 255, .32); border-radius: 26px; background: linear-gradient(145deg, #211837, #120e1f); box-shadow: 0 30px 90px rgba(0, 0, 0, .52); text-align: center; animation: sheet-in .28s ease both; }
@keyframes sheet-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.sheet-close { position: absolute; top: 13px; right: 15px; width: 32px; height: 32px; border: 0; border-radius: 50%; color: var(--muted); background: transparent; font-size: 25px; line-height: 1; }
.status-icon { display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 15px; border: 1px solid rgba(195, 161, 255, .34); border-radius: 18px; color: var(--purple-bright); background: rgba(155, 109, 255, .14); font-size: 24px; }
.status-icon::before { content: "•"; }
.status-sheet[data-tone="progress"] .status-icon { color: var(--cyan); border-color: rgba(124, 217, 255, .33); background: rgba(124, 217, 255, .1); animation: pulse 1.3s ease-in-out infinite; }
.status-sheet[data-tone="success"] .status-icon { color: var(--green); border-color: rgba(141, 224, 178, .35); background: rgba(141, 224, 178, .11); }
.status-sheet[data-tone="success"] .status-icon::before { content: "✓"; }
.status-sheet[data-tone="warning"] .status-icon { color: var(--orange); border-color: rgba(255, 155, 113, .35); background: rgba(255, 155, 113, .1); }
.status-sheet[data-tone="warning"] .status-icon::before { content: "!"; }
@keyframes pulse { 0%, 100% { transform: scale(.94); opacity: .7; } 50% { transform: scale(1); opacity: 1; } }
.status-code { margin: 0 0 8px; color: var(--subtle); font-size: 10px; font-weight: 800; letter-spacing: .2em; }
.status-sheet h2 { margin: 0; font-size: 26px; letter-spacing: -.05em; }
.status-description { max-width: 350px; margin: 10px auto 0; color: var(--muted); font-size: 13px; }
.sync-callout { margin-top: 18px; padding: 12px 14px; border: 1px solid rgba(141, 224, 178, .22); border-radius: 13px; color: #c4f1d4; background: rgba(141, 224, 178, .08); font-size: 12px; }
.sheet-action { width: 100%; min-height: 48px; margin-top: 23px; border: 1px solid rgba(195, 161, 255, .28); border-radius: 15px; color: var(--ink); background: rgba(155, 109, 255, .16); font-size: 13px; font-weight: 700; }
.sheet-action:hover { background: rgba(155, 109, 255, .25); }

@media (min-width: 680px) {
  .app-shell { padding-right: 42px; padding-left: 42px; }
  .topbar { height: 88px; }
  .hero { padding-top: 90px; padding-bottom: 68px; }
  .hero-copy { font-size: 16px; }
  .hero-orbit { right: 12px; top: 52px; transform: scale(1.12) rotate(-28deg); }
  .membership-card { padding: 30px 34px; }
  .feature-list { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 24px; border-top: 0; }
  .feature-item { min-height: 96px; padding: 13px 0; border-top: 1px solid var(--line); border-bottom: 0; }
  .feature-item:nth-last-child(-n + 1) { grid-column: span 2; }
  .plan-card { padding: 31px 34px; }
  .sticky-cta { padding-right: 42px; padding-left: 42px; }
  .sticky-cta-inner { justify-content: end; }
  .cta-summary { min-width: 145px; }
  .primary-cta { flex: 0 1 360px; }
}

@media (min-width: 1000px) {
  .app-shell { padding-bottom: 70px; }
  .hero { min-height: 480px; padding-top: 128px; }
  .hero-orbit { right: 28px; top: 60px; transform: scale(1.22) rotate(-28deg); }
  .membership-card { display: grid; grid-template-columns: 1fr 1.5fr; column-gap: 40px; align-items: end; }
  .membership-topline { grid-column: 1 / -1; }
  .membership-copy { margin-bottom: 0; }
  .account-line { margin-bottom: 4px; }
  .section-block { margin-top: 78px; }
  .features-block { display: grid; grid-template-columns: .8fr 1.5fr; gap: 28px; }
  .features-block .section-heading { margin-bottom: 0; }
  .plan-block { display: grid; grid-template-columns: .8fr 1.5fr; gap: 50px; align-items: start; }
  .plan-block .section-heading { margin-bottom: 0; }
  .plan-heading { display: block; }
  .plan-burst { display: inline-block; margin-top: 23px; }
  .account-note, .legal-copy, .page-footer { max-width: 700px; margin-right: auto; margin-left: auto; }
  .status-backdrop { align-items: center; }
}

/* D-8.1 Whop Sandbox Embedded Checkout */
.environment-chip { border: 1px solid rgba(255, 155, 113, .28); border-radius: 999px; color: var(--orange); font-size: 9px; font-weight: 800; letter-spacing: .14em; padding: 7px 10px; }
.preview-chip { display: none; }
.promo-code-panel { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 17px; padding: 13px 14px; border: 1px solid rgba(255, 155, 113, .22); border-radius: 16px; background: rgba(255, 155, 113, .06); }
.promo-code-panel span { display: block; color: var(--muted); font-size: 10px; letter-spacing: .08em; }
.promo-code-panel strong { display: block; margin-top: 2px; color: var(--orange); font-size: 15px; letter-spacing: .11em; }
.promo-code-panel p { margin: 4px 0 0; color: var(--muted); font-size: 10px; }
.promo-copy-button { flex: 0 0 auto; min-height: 34px; padding: 0 11px; border: 1px solid rgba(255, 155, 113, .34); border-radius: 11px; color: #ffd4c4; background: rgba(255, 155, 113, .1); font-size: 11px; font-weight: 700; }
.promo-copy-button:hover { background: rgba(255, 155, 113, .18); }
.checkout-block { margin-top: 34px; padding: 22px; border: 1px solid rgba(195, 161, 255, .28); border-radius: var(--radius); background: linear-gradient(145deg, rgba(38, 28, 58, .88), rgba(17, 13, 28, .95)); box-shadow: var(--shadow); }
.checkout-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.checkout-heading .eyebrow { margin-bottom: 8px; }
.checkout-heading h2 { margin: 0; font-size: clamp(24px, 7vw, 32px); font-weight: 550; letter-spacing: -.055em; }
.checkout-badge { flex: 0 0 auto; padding: 7px 9px; border: 1px solid rgba(124, 217, 255, .25); border-radius: 999px; color: var(--cyan); font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.checkout-description { margin: 13px 0 18px; color: var(--muted); font-size: 12px; }
.whop-checkout-host { min-height: 80px; overflow: hidden; border-radius: 18px; background: #181328; }
.whop-embedded-checkout { width: 100%; min-height: 80px; }
.checkout-actions { display: flex; justify-content: flex-end; margin-top: 13px; }
.checkout-cancel { border: 0; padding: 7px 0; color: var(--subtle); background: transparent; font-size: 11px; text-decoration: underline; text-underline-offset: 3px; }
.checkout-cancel:hover { color: var(--orange); }
.primary-cta:disabled { cursor: not-allowed; color: var(--muted); background: rgba(172, 163, 189, .18); box-shadow: none; filter: none; transform: none; }
@media (min-width: 680px) { .checkout-block { padding: 30px 34px; } }
@media (min-width: 1000px) { .checkout-block { max-width: 700px; margin-right: auto; margin-left: auto; } }
