/* ===== YouhuIP overseas site — dark theme ===== */
:root {
    --bg: #1e2030;
    --bg-soft: #262838;
    --panel: #2a2c3d;
    --panel-2: #323448;
    --line: rgba(255, 255, 255, .12);
    --line-strong: rgba(255, 255, 255, .18);
    --text: #f3f5fb;
    --muted: #b6bdcf;
    --muted-2: #99a1b6;
    --brand: #6c52ff;
    --brand-2: #8f74ff;
    --brand-soft: rgba(108, 82, 255, .16);
    --ok: #35d39a;
    --radius: 16px;
}

* { box-sizing: border-box; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Inter", "Segoe UI", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
    font-size: 15px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
.announce {
    background: linear-gradient(90deg, #6c52ff, #b45cff 55%, #ff7ad9);
    color: #fff; font-size: 13px; text-align: center; padding: 7px 16px;
}
.announce b { font-weight: 700; }
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(30, 32, 48, .9);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .2px; }
.logo-mark {
    width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
    background: linear-gradient(140deg, #6c52ff, #a06bff); color: #fff; font-weight: 800; font-size: 16px;
}
.logo-text { font-size: 17px; }
.logo-img { height: 30px; width: auto; display: block; }
.footer-brand .logo-img { height: 32px; margin-bottom: 12px; }
.nav { display: flex; align-items: center; gap: 26px; margin-left: 8px; }
.nav a { color: var(--muted); font-size: 14px; }
.nav a:hover, .nav a.active { color: #fff; }
.nav a.active { position: relative; }
.nav a.active::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -23px; height: 2px;
    background: linear-gradient(90deg, var(--brand), var(--brand-2));
}
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang-toggle { padding: 7px 13px; font-size: 13px; letter-spacing: .02em; min-width: 62px; }
.lang-toggle:hover { color: #fff; }

/* ---------- buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 10px 18px; border-radius: 10px; border: 1px solid transparent;
    font-size: 14px; font-weight: 600; cursor: pointer; transition: .18s; white-space: nowrap;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: #7d66ff; box-shadow: 0 8px 24px rgba(108, 82, 255, .35); }
.btn-ghost { background: rgba(255, 255, 255, .04); color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .25); }
.btn-white { background: #fff; color: #111; }
.btn-white:hover { background: #e9e9f2; }
.btn-lg { padding: 13px 24px; font-size: 15px; border-radius: 12px; }
.btn-block { display: flex; width: 100%; }

/* ---------- hero ---------- */
.hero {
    position: relative; overflow: hidden;
    padding: 84px 0 56px;
    background:
        radial-gradient(900px 420px at 12% -10%, rgba(108, 82, 255, .30), transparent 65%),
        radial-gradient(760px 380px at 92% 8%, rgba(180, 92, 255, .18), transparent 62%),
        linear-gradient(180deg, #2b2750 0%, #1e2030 100%);
}
.hero::after {
    content: ""; position: absolute; inset: auto 0 0 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}
.hero-inner { position: relative; z-index: 1; max-width: 780px; }
.hero-tag {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: 999px;
    background: rgba(108, 82, 255, .12); color: #cbc2ff; font-size: 13px; margin-bottom: 22px;
}
.hero h1 { font-size: 50px; line-height: 1.12; margin: 0 0 18px; letter-spacing: -.8px; }
.hero h1 em {
    font-style: normal;
    background: linear-gradient(100deg, #a78bfa, #f0abfc);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { color: var(--muted); font-size: 17px; max-width: 640px; margin: 0 0 30px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats {
    display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 44px;
    color: var(--muted); font-size: 13.5px;
}
.hero-stats span { display: inline-flex; align-items: center; gap: 8px; }
.hero-stats i {
    width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center;
    background: rgba(53, 211, 154, .16); color: #35d39a; font-style: normal; font-size: 10px;
}

/* ---------- sections ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.section-head h2 { font-size: 30px; margin: 10px 0 0; letter-spacing: -.4px; }
.section-sub { color: var(--muted); margin: 10px 0 0; font-size: 15px; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px;
    border: 1px solid var(--line-strong); border-radius: 999px;
    background: var(--brand-soft); color: #c9bcff; font-size: 12.5px; letter-spacing: .06em;
    text-transform: uppercase;
}
.more { color: #b7a9ff; font-size: 14px; }
.more:hover { color: #fff; }

/* ---------- grids & cards ---------- */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
    background: linear-gradient(180deg, var(--panel) 0%, var(--panel-2) 100%);
    border: 1px solid var(--line); border-radius: var(--radius);
    padding: 26px; transition: .2s; position: relative;
}
.card:hover { border-color: rgba(108, 82, 255, .45); transform: translateY(-2px); }
.card-icon {
    width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
    background: var(--brand-soft); color: #b9a8ff; font-size: 20px; margin-bottom: 16px;
}
.card h3 { font-size: 17px; margin: 0 0 8px; }
.card p { color: var(--muted); font-size: 14px; margin: 0; }
.card .tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip-sm {
    font-size: 12px; color: #c3b8ff; background: rgba(108, 82, 255, .14);
    border: 1px solid rgba(108, 82, 255, .22); border-radius: 999px; padding: 3px 10px;
}

/* feature tiles */
.feature-card {
    display: flex; flex-direction: column; justify-content: space-between;
    min-height: 240px; padding: 28px;
    border: 1px solid var(--line); border-radius: var(--radius);
    background: radial-gradient(600px 220px at 100% 0%, rgba(108, 82, 255, .14), transparent 70%), var(--panel);
}
.feature-card h3 { font-size: 19px; margin: 0 0 8px; }
.feature-card p { color: var(--muted); margin: 0; font-size: 14px; }
.feature-visual {
    height: 112px; margin-bottom: 22px; border-radius: 12px;
    border: 1px solid var(--line); background:
        radial-gradient(220px 90px at 30% 30%, rgba(108, 82, 255, .35), transparent 70%),
        radial-gradient(180px 70px at 80% 70%, rgba(53, 211, 154, .18), transparent 70%),
        #232432;
    position: relative; overflow: hidden;
}
.feature-visual::after {
    content: ""; position: absolute; inset: 18px;
    border: 1px dashed rgba(255, 255, 255, .09); border-radius: 8px;
}

/* ---------- pricing ---------- */
.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.plan {
    display: flex; flex-direction: column; padding: 30px;
    border: 1px solid var(--line); border-radius: 18px;
    background: var(--panel);
}
.plan.featured {
    background: linear-gradient(180deg, #6c52ff 0%, #5a41e8 100%);
    border-color: transparent; box-shadow: 0 24px 60px rgba(108, 82, 255, .35);
}
.plan-badge {
    align-self: flex-start; margin-bottom: 14px; padding: 4px 10px; border-radius: 999px;
    background: rgba(0, 0, 0, .28); color: #fff; font-size: 12px; font-weight: 600;
}
.plan-name { font-size: 16px; color: rgba(255, 255, 255, .8); margin: 0 0 6px; }
.plan.featured .plan-name { color: rgba(255, 255, 255, .9); }
.plan-price { font-size: 40px; font-weight: 800; letter-spacing: -1px; margin: 4px 0 2px; }
.plan-price small { font-size: 15px; font-weight: 500; color: var(--muted); margin-left: 4px; }
.plan.featured .plan-price small { color: rgba(255, 255, 255, .75); }
.plan-desc { color: var(--muted); font-size: 13.5px; margin: 0 0 20px; }
.plan.featured .plan-desc { color: rgba(255, 255, 255, .8); }
.plan .btn { margin-bottom: 20px; }
.plan.featured .btn-ghost { background: #12121d; border-color: transparent; color: #fff; }
.plan.featured .btn-ghost:hover { background: #0c0c15; }
.plan-features { display: flex; flex-direction: column; gap: 12px; margin-top: auto; }
.plan-features li { display: flex; gap: 10px; color: #cfd4e0; font-size: 13.5px; }
.plan.featured .plan-features li { color: rgba(255, 255, 255, .92); }
.plan-features li::before {
    content: "✓"; color: var(--ok); font-weight: 700; flex-shrink: 0;
}
.plan.featured .plan-features li::before { color: #d8ffef; }
.pricing-note { color: var(--muted-2); font-size: 13px; margin-top: 20px; }

/* ---------- use cases ---------- */
.uc-card {
    padding: 24px; border: 1px solid var(--line); border-radius: 14px;
    background: var(--panel); transition: .2s;
}
.uc-card:hover { border-color: rgba(108, 82, 255, .4); }
.uc-icon { font-size: 20px; margin-bottom: 12px; color: #b9a8ff; }
.uc-card h3 { font-size: 15.5px; margin: 0 0 6px; }
.uc-card p { color: var(--muted); font-size: 13.5px; margin: 0; }

/* ---------- cta band ---------- */
.cta-band {
    border: 1px solid rgba(108, 82, 255, .35); border-radius: 24px;
    background:
        radial-gradient(600px 260px at 15% 0%, rgba(108, 82, 255, .38), transparent 70%),
        radial-gradient(500px 220px at 90% 100%, rgba(180, 92, 255, .26), transparent 70%),
        #2b2748;
    padding: 46px;
    display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap;
}
.cta-band h2 { font-size: 28px; margin: 0 0 8px; }
.cta-band p { color: var(--muted); margin: 0; }

/* ---------- page head (inner pages) ---------- */
.page-head {
    padding: 64px 0 46px;
    background:
        radial-gradient(700px 300px at 10% 0%, rgba(108, 82, 255, .26), transparent 70%),
        linear-gradient(180deg, #2b2750, #1e2030);
    border-bottom: 1px solid var(--line);
}
.page-head h1 { font-size: 38px; margin: 0 0 10px; letter-spacing: -.6px; }
.page-sub { color: var(--muted); margin: 0; }

/* ---------- lists / articles ---------- */
.list { display: flex; flex-direction: column; gap: 12px; }
.list-item {
    display: flex; justify-content: space-between; gap: 20px;
    padding: 20px 22px; border: 1px solid var(--line); border-radius: 14px;
    background: var(--panel); transition: .18s;
}
.list-item:hover { border-color: rgba(108, 82, 255, .45); background: #33344a; }
.list-item-main { min-width: 0; }
.list-item-main h3 { font-size: 16px; margin: 0 0 6px; }
.list-item-main p { margin: 0; color: var(--muted); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.list-item-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; white-space: nowrap; }
.tag {
    display: inline-block; padding: 2px 10px; border-radius: 999px;
    background: var(--brand-soft); color: #c3b8ff; font-size: 12px;
}
.date { color: var(--muted-2); font-size: 12.5px; }

.news-card {
    display: block; padding: 22px; border: 1px solid var(--line); border-radius: 14px;
    background: var(--panel); transition: .18s;
}
.news-card:hover { border-color: rgba(108, 82, 255, .45); }
.news-card h3 { font-size: 16px; margin: 8px 0 6px; }
.news-card p { color: var(--muted); font-size: 13.5px; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-meta { color: var(--muted-2); font-size: 12px; }

.help-card {
    display: block; padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel);
}
.help-card:hover { border-color: rgba(108, 82, 255, .45); }
.help-card h3 { font-size: 16px; margin: 10px 0 6px; }
.help-card p { margin: 0; color: var(--muted); font-size: 13.5px; }
.help-link {
    display: block; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px;
    color: #d4d9e6; font-size: 14px; background: var(--panel);
}
.help-link::before { content: "›"; color: #9d8bff; margin-right: 8px; }
.help-link:hover { border-color: rgba(108, 82, 255, .45); }

.article-wrap { max-width: 880px; padding-top: 40px; padding-bottom: 72px; }
.breadcrumb { color: var(--muted-2); font-size: 13px; margin-bottom: 20px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: #fff; }
.article h1 { font-size: 34px; line-height: 1.3; margin: 0 0 14px; letter-spacing: -.4px; }
.article-meta { display: flex; gap: 16px; color: var(--muted-2); font-size: 13px; margin-bottom: 26px; }
.article-body { color: #c7cede; font-size: 15.5px; }
.article-body h2 { color: #fff; font-size: 21px; margin: 34px 0 12px; }
.article-body h3 { color: #fff; font-size: 17px; margin: 26px 0 10px; }
.article-body p { margin: 0 0 16px; }
.article-body a { color: #a99aff; text-decoration: underline; }
.article-body img { border-radius: 12px; margin: 18px 0; }
.article-body ul, .article-body ol { padding-left: 22px; margin: 0 0 16px; list-style: revert; }
.article-body code { background: rgba(255, 255, 255, .08); padding: 2px 7px; border-radius: 6px; font-size: 13px; }
.article-body pre { background: #0b0b14; border: 1px solid var(--line); color: #dbe1ee; padding: 18px; border-radius: 12px; overflow: auto; }
.article-body blockquote {
    margin: 0 0 16px; padding: 12px 18px; border-left: 3px solid var(--brand);
    background: rgba(108, 82, 255, .08); color: #c7cede; border-radius: 0 8px 8px 0;
}
.related { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); }

/* ---------- misc ---------- */
.empty-box {
    padding: 60px 20px; text-align: center; color: var(--muted-2);
    border: 1px dashed var(--line-strong); border-radius: 16px; background: rgba(255, 255, 255, .02);
}
.pager { display: flex; align-items: center; gap: 12px; margin-top: 28px; }
.page-btn {
    padding: 7px 15px; border: 1px solid var(--line-strong); border-radius: 9px;
    font-size: 14px; color: var(--muted);
}
.page-btn:hover { border-color: var(--brand); color: #fff; }
.page-info { color: var(--muted-2); font-size: 13px; }
.panel {
    border: 1px solid var(--line); border-radius: 16px; padding: 24px;
    margin-top: 20px; background: var(--panel);
}
.panel-head { font-weight: 600; margin-bottom: 10px; }
.panel-tip { color: var(--muted); font-size: 13.5px; margin: 0; }
.feature-list { margin: 14px 0 0; padding-left: 18px; color: var(--muted); font-size: 13.5px; line-height: 1.95; list-style: disc; }

/* ---------- footer ---------- */
.site-footer {
    background: #06060b; border-top: 1px solid var(--line);
    padding: 56px 0 26px; color: var(--muted);
}
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.footer-brand .logo-text { color: #fff; font-size: 18px; font-weight: 700; margin-bottom: 10px; display: block; }
.footer-brand p { margin: 0 0 8px; font-size: 13.5px; }
.footer-col h4 { color: #fff; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 14px; }
.footer-col a { display: block; font-size: 13.5px; color: var(--muted); padding: 4px 0; }
.footer-col a:hover { color: #fff; }
.footer-note { color: var(--muted-2); font-size: 12.5px; margin-top: 10px; }
.footer-bottom {
    margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line);
    display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
    color: var(--muted-2); font-size: 12.5px;
}

/* ---------- 404 ---------- */
.notfound {
    min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 12px; text-align: center; padding: 24px;
}
.notfound .code { font-size: 96px; font-weight: 800; line-height: 1; color: #221d3f; }
.notfound h1 { font-size: 26px; margin: 0; }
.notfound p { color: var(--muted); margin: 0; }
.notfound-actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; justify-content: center; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
    .hero h1 { font-size: 40px; }
    .plan-grid { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
    .header-inner { height: 60px; gap: 14px; }
    .nav { display: none; }
    .hero { padding: 56px 0 40px; }
    .hero h1 { font-size: 32px; }
    .hero-sub { font-size: 15px; }
    .section { padding: 52px 0; }
    .section-head { flex-direction: column; align-items: flex-start; }
    .section-head h2 { font-size: 24px; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .cta-band { padding: 30px; }
    .cta-band h2 { font-size: 22px; }
    .footer-inner { grid-template-columns: 1fr; gap: 24px; }
    .article h1 { font-size: 25px; }
    .notfound .code { font-size: 72px; }
}

/* 顶部下拉菜单（海外站，深色顶栏） */
.nav-drop { position: relative; display: flex; align-items: center; }
.nav-drop-toggle { display: inline-flex; align-items: center; gap: 4px; }
.nav-drop-toggle .caret { font-size: 10px; opacity: .7; transition: .15s; }
.nav-drop:hover .nav-drop-toggle .caret { transform: rotate(180deg); }
.nav-drop-menu {
    position: absolute; left: 0; top: calc(100% + 8px);
    min-width: 190px; padding: 6px;
    background: #0b1220; border: 1px solid rgba(255,255,255,.10); border-radius: 10px;
    box-shadow: 0 16px 36px rgba(0,0,0,.45);
    opacity: 0; visibility: hidden; transform: translateY(4px);
    transition: .16s; z-index: 60;
}
.nav-drop:hover .nav-drop-menu,
.nav-drop:focus-within .nav-drop-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-drop-menu a {
    display: block; padding: 9px 12px; border-radius: 7px;
    font-size: 14px; color: rgba(255,255,255,.72); white-space: nowrap;
}
.nav-drop-menu a:hover { background: rgba(255,255,255,.08); color: #fff; }

/* ===== 購買頁（住宅代理） ===== */
.buy-hero {
    text-align: center;
    padding: 64px 24px 40px;
    background: radial-gradient(60% 100% at 50% 0%, rgba(108, 82, 255, .2), transparent 70%);
}
.buy-hero h1 { font-size: 40px; margin: 0 0 12px; letter-spacing: .5px; }
.buy-sub { color: var(--muted); margin: 0; font-size: 15px; }
.buy-login { color: var(--muted-2); font-size: 13px; margin: 14px 0 0; }
.buy-login b { color: #c7c9d9; font-weight: 600; }

.buy-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px 80px; }

.buy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
    margin-bottom: 40px;
}
.buy-card {
    position: relative;
    background: #2a2c3d;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 16px;
    padding: 26px 20px 20px;
    text-align: left;
}
.buy-card.hot { border-color: rgba(255, 255, 255, .1); box-shadow: none; }

.buy-flag {
    position: absolute; top: -10px; left: 16px;
    background: #6c52ff; color: #fff;
    font-size: 11.5px; line-height: 20px; padding: 0 10px; border-radius: 999px;
}
.buy-flag.hot { background: #6c52ff; }

.buy-g { font-size: 22px; font-weight: 700; letter-spacing: .3px; }
.buy-g small { font-size: 13px; color: #6fe3bb; font-weight: 600; }

.buy-unit { color: var(--muted-2); font-size: 12.5px; margin-top: 10px; }
.buy-unit b { color: #b9a6ff; font-weight: 600; }

.buy-price { font-size: 28px; font-weight: 700; margin: 12px 0 2px; }
.buy-total { color: var(--muted-2); font-size: 12px; margin-bottom: 16px; }

.buy-btn {
    display: flex; align-items: center; justify-content: space-between;
    width: 100%; height: 42px; padding: 0 16px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 10px; color: #fff; font-size: 13.5px; font-weight: 600;
    cursor: pointer; transition: .15s;
}
.buy-btn:hover { background: #6c52ff; border-color: #6c52ff; }
.buy-btn span { opacity: .7; }

.buy-empty { color: var(--muted); padding: 30px 0; }

.buy-foot {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 40px; align-items: start;
    background: #262838; border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 18px; padding: 34px 36px;
}
.buy-foot h3 { font-size: 20px; margin: 0 0 18px; }
.buy-pays { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.buy-pays span {
    display: inline-flex; align-items: center; height: 34px; padding: 0 14px;
    background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 8px; font-size: 12.5px; color: #cfd4e2;
}
.buy-contact {
    display: flex; align-items: center; justify-content: center;
    height: 44px; border-radius: 10px; background: #fff; color: #11111c;
    font-size: 14px; font-weight: 600;
}
.buy-feats { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.buy-feats li { position: relative; padding-left: 24px; color: #cfd4e2; font-size: 13.5px; }
.buy-feats li::before {
    content: '✓'; position: absolute; left: 0; top: 0;
    width: 16px; height: 16px; border-radius: 50%;
    background: rgba(108, 82, 255, .2); color: #b9a6ff;
    font-size: 10px; display: flex; align-items: center; justify-content: center;
}

/* 流量套餐页：区块标题 / 划线原价 / 卡片卖点 / 需要更多 */
.buy-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 4px 0 22px; }
.buy-sec-head h2 { margin: 0 0 6px; font-size: 24px; letter-spacing: .3px; }
.buy-sec-head p { margin: 0; color: var(--muted); font-size: 13.5px; }
.buy-price s { font-size: 14px; font-weight: 500; color: var(--muted-2); margin-left: 8px; }
.buy-unit s { color: var(--muted-2); margin-right: 6px; }
.buy-feats2 {
    list-style: none; margin: 16px 0 0; padding: 14px 0 0;
    border-top: 1px dashed rgba(255, 255, 255, .12); display: grid; gap: 9px;
}
.buy-feats2 li { position: relative; padding-left: 20px; font-size: 12.5px; color: #b9c0d4; }
.buy-feats2 li::before {
    content: '✓'; position: absolute; left: 0; top: 0; color: #6fe3bb; font-size: 11px; line-height: 18px;
}
.buy-more {
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    background: #262838; border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 16px; padding: 26px 32px; margin: 0 0 26px;
}
.buy-more h3 { margin: 0 0 6px; font-size: 20px; }
.buy-more p { margin: 0; color: var(--muted); font-size: 13.5px; }
.buy-more .btn { white-space: nowrap; }
@media (max-width: 720px) {
    .buy-more { flex-direction: column; align-items: flex-start; padding: 22px; }
}

@media (max-width: 860px) {
    .buy-hero { padding: 40px 18px 28px; }
    .buy-hero h1 { font-size: 30px; }
    .buy-foot { grid-template-columns: 1fr; padding: 24px; gap: 26px; }
}

/* ===== 靜態住宅購買頁 ===== */
.st-layout { display: grid; grid-template-columns: minmax(0, 1fr) 336px; gap: 20px; align-items: start; }
.st-main { background: var(--panel); border: 1px solid rgba(255,255,255,.08); border-radius: 16px; padding: 18px; }
.st-search { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.st-search input {
    flex: 1; height: 40px; border-radius: 10px; padding: 0 14px;
    background: #242636; border: 1px solid rgba(255,255,255,.12); color: var(--text); font-size: 13px;
}
.st-search input:focus { outline: none; border-color: #6c52ff; }
.st-search .muted { font-size: 12.5px; color: var(--muted-2); white-space: nowrap; }
.st-search a { color: #b9a6ff; }

.st-scroll { max-height: 620px; overflow-y: auto; padding-right: 4px; }
.st-group { margin-bottom: 18px; }
.st-group h4 { margin: 0 0 10px; font-size: 13px; color: var(--muted); font-weight: 600; }
.st-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(228px, 1fr)); gap: 10px; }

.st-item {
    display: block; position: relative; cursor: pointer;
    border: 1px solid rgba(255,255,255,.1); border-radius: 12px;
    padding: 12px 14px; background: #242636;
    transition: border-color .15s, background .15s;
}
.st-item:hover { border-color: rgba(108,82,255,.5); }
.st-item.picked { border-color: #6c52ff; background: rgba(108,82,255,.1); }
.st-item input[type=checkbox] { position: absolute; opacity: 0; pointer-events: none; }

.st-item-top { display: flex; align-items: center; gap: 8px; }
.st-item-top b { font-size: 13.5px; color: var(--text); font-weight: 600; }
.st-item-top em {
    font-style: normal; font-size: 11px; line-height: 17px; padding: 0 7px; border-radius: 999px;
    background: rgba(108,82,255,.18); color: #b9a6ff;
}
.st-item-en { display: block; font-size: 11.5px; color: var(--muted-2); margin-top: 2px; }
.st-item-foot { display: flex; align-items: baseline; gap: 4px; margin-top: 8px; }
.st-price { font-size: 14px; font-weight: 600; color: #fff; }
.st-unit { font-size: 11.5px; color: var(--muted-2); }
.st-stock { display: block; font-size: 11.5px; color: var(--muted-2); margin-top: 4px; }

.st-qty { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 12px; color: var(--muted); }
.st-qty button {
    width: 24px; height: 24px; border-radius: 6px; cursor: pointer;
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: #cfd4e2;
}
.st-qty button:hover { border-color: #6c52ff; color: #fff; }
.st-qty .st-num {
    width: 46px; height: 24px; text-align: center;
    background: #11111b; border: 1px solid rgba(255,255,255,.1); border-radius: 6px;
    color: #fff; font-size: 12px;
}

.st-side { display: flex; flex-direction: column; gap: 14px; }
.st-summary, .st-pay {
    background: var(--panel); border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px; padding: 18px;
}
.st-sum-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.st-sum-head h3, .st-pay h3 { margin: 0; font-size: 15px; }
.st-sum-head button { background: none; border: 0; color: var(--muted-2); font-size: 12.5px; cursor: pointer; }
.st-sum-head button:hover { color: #fff; }
.st-row { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.st-row b { color: var(--text); font-weight: 600; }
.st-total {
    display: flex; align-items: center; justify-content: space-between;
    border-top: 1px dashed rgba(255,255,255,.1); margin-top: 14px; padding-top: 14px;
}
.st-total span { font-size: 13px; color: var(--muted); }
.st-total b { font-size: 22px; color: #ff8f8f; }

.st-pay-item {
    display: flex; align-items: center; gap: 10px;
    border: 1px solid rgba(255,255,255,.1); border-radius: 10px;
    padding: 12px 14px; margin-bottom: 10px; font-size: 13px; color: var(--muted);
}
.st-pay-item.active { border-color: #6c52ff; background: rgba(108,82,255,.1); color: #fff; }
.st-pay-item em { margin-left: auto; font-style: normal; font-size: 12.5px; color: #b9a6ff; }
.st-pay .buy-btn { margin-top: 6px; justify-content: center; }

@media (max-width: 960px) {
    .st-layout { grid-template-columns: 1fr; }
    .st-scroll { max-height: none; }
}

/* 下單確認彈窗 */
.st-modal {
    position: fixed; inset: 0; z-index: 300; padding: 24px;
    display: grid; place-items: center;
    background: rgba(10, 10, 20, .62); backdrop-filter: blur(4px);
}
.st-modal[hidden] { display: none; }
.st-modal-box {
    width: 100%; max-width: 380px; text-align: center;
    background: var(--panel-2); border: 1px solid var(--line-strong);
    border-radius: 16px; padding: 26px 24px 22px;
    box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .7);
}
.st-modal-box h3 { margin: 0 0 14px; font-size: 17px; }
.st-modal-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-bottom: 9px; }
.st-modal-row b { color: var(--text); font-weight: 600; }
.st-modal-price { display: flex; justify-content: space-between; align-items: center; border-top: 1px dashed rgba(255,255,255,.14); margin-top: 14px; padding-top: 14px; font-size: 13px; color: var(--muted); }
.st-modal-price b { font-size: 20px; color: #ff8f8f; }
.st-modal-note { font-size: 12px; color: var(--muted-2); margin: 12px 0 18px; }
.st-modal-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.st-modal-btns button {
    height: 42px; border-radius: 10px; font-size: 14px; font-weight: 600; cursor: pointer;
    border: 1px solid rgba(255,255,255,.16); background: transparent; color: var(--text);
}
.st-modal-btns button:hover { border-color: rgba(255,255,255,.3); }
.st-modal-btns .ok { border: 0; background: linear-gradient(135deg, #6c52ff, #8a5bff); color: #fff; }

/* 國家旗標圖片 */
img.st-flag {
    display: inline-block; width: 20px; height: 15px; object-fit: cover;
    border-radius: 2px; margin-right: 6px; vertical-align: -2px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .06);
}

/* ===== 登入 / 註冊 ===== */
.auth-wrap {
    min-height: calc(100vh - 68px);
    display: grid; place-items: center;
    padding: 64px 20px 80px;
    background:
        radial-gradient(760px 360px at 50% 0%, rgba(108, 82, 255, .22), transparent 70%),
        var(--bg);
}
.auth-card {
    width: 100%; max-width: 420px;
    background: var(--panel); border: 1px solid var(--line);
    border-radius: 18px; padding: 34px 32px 28px;
    box-shadow: 0 26px 60px -30px rgba(0, 0, 0, .8);
}
.auth-title { font-size: 26px; margin: 0 0 8px; letter-spacing: .4px; }
.auth-sub { color: var(--muted); font-size: 13.5px; margin: 0 0 22px; }
.auth-alert {
    background: rgba(255, 107, 107, .12); border: 1px solid rgba(255, 107, 107, .35);
    color: #ffb3b3; border-radius: 10px; padding: 10px 12px; font-size: 13px; margin-bottom: 16px;
}
.auth-field { margin-bottom: 16px; }
.auth-field label { display: block; font-size: 12.5px; color: var(--muted-2); margin-bottom: 7px; }
.auth-field input {
    width: 100%; height: 42px; border-radius: 10px; padding: 0 13px;
    background: #242636; border: 1px solid rgba(255, 255, 255, .12);
    color: var(--text); font-size: 14px;
}
.auth-field input:focus { outline: none; border-color: #6c52ff; }
.auth-btn {
    width: 100%; height: 44px; margin-top: 6px; border-radius: 10px; border: 0; cursor: pointer;
    background: linear-gradient(135deg, #6c52ff, #8a5bff); color: #fff;
    font-size: 15px; font-weight: 600;
}
.auth-btn:hover { filter: brightness(1.08); }
.auth-foot { text-align: center; font-size: 13px; color: var(--muted-2); margin: 18px 0 0; }
.auth-foot a { color: #b9a6ff; }
.st-modal-btns .ok:hover { filter: brightness(1.08); }

/* 地區旗標 / 退款標記 */
.st-flag { font-style: normal; font-size: 15px; line-height: 1; margin-right: 5px; }
.st-refund { color: #35d39a; }
.st-norefund { color: var(--muted-2); }
