/* 額度雷達 QuotaRadar 官網：純靜態，沒有外部字型、沒有追蹤碼 */
:root {
  --bg: #070B18;
  --bg-2: #0D1428;
  --card: rgba(255, 255, 255, 0.05);
  --card-solid: #111a33;
  --line: rgba(255, 255, 255, 0.10);
  --text: #F1F5F9;
  --sub: #A5B4CB;
  --faint: #64748B;
  --indigo: #818CF8;
  --indigo-2: #6366F1;
  --cyan: #22D3EE;
  --green: #34D399;
  --grad: linear-gradient(90deg, #818CF8, #22D3EE);
  --radius: 22px;
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); line-height: 1.65; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { width: min(1120px, 100% - 32px); margin: 0 auto; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* 頂端列 */
.top { position: sticky; top: 0; z-index: 10; background: rgba(7, 11, 24, 0.85); backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 18px; white-space: nowrap; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.langs { display: flex; gap: 2px; flex-wrap: wrap; justify-content: flex-end; }
.langs a { text-decoration: none; font-size: 14px; padding: 6px 10px; border-radius: 999px; color: var(--sub); white-space: nowrap; }
.langs a:hover { color: var(--text); }
.langs a[aria-current="page"] { background: var(--indigo-2); color: #fff; }

/* 首屏：雷達圈 */
.hero { position: relative; overflow: hidden;
  background:
    radial-gradient(900px 520px at 78% 30%, rgba(99, 102, 241, 0.32), transparent 70%),
    radial-gradient(700px 420px at 10% 0%, rgba(34, 211, 238, 0.14), transparent 70%),
    var(--bg); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-radial-gradient(circle at 78% 42%, transparent 0 88px, rgba(129, 140, 248, 0.10) 88px 89px); }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 32px; padding: 64px 0 0; }
.pill { display: inline-block; border: 1px solid rgba(129, 140, 248, 0.45); background: rgba(129, 140, 248, 0.12); color: #C7D2FE;
  font-weight: 700; border-radius: 999px; padding: 6px 16px; font-size: 15px; }
.hero h1 { font-size: clamp(34px, 5.6vw, 60px); line-height: 1.2; margin: 22px 0 16px; letter-spacing: 0.01em; font-weight: 900; }
.hero h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: clamp(17px, 2.1vw, 20px); color: var(--sub); margin: 0 0 28px; max-width: 32em; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; padding-bottom: 64px; }
.store { display: inline-flex; align-items: center; gap: 10px; background: #fff; color: #0B1020; text-decoration: none; border-radius: 14px;
  padding: 10px 20px 10px 14px; min-height: 56px; position: relative; font-weight: 600; }
.store svg { width: 26px; height: 26px; flex: none; }
.store small { display: block; font-size: 11px; opacity: 0.75; line-height: 1.2; }
.store b { display: block; font-size: 18px; line-height: 1.2; }
.store:hover { box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.45); }
.store.soon { pointer-events: none; background: rgba(255, 255, 255, 0.08); color: var(--sub); border: 1px solid var(--line); }
.store .tag { position: absolute; top: -10px; right: -8px; background: var(--cyan); color: #04202A; font-size: 11px; font-weight: 800;
  border-radius: 999px; padding: 2px 8px; }

.phone { position: relative; justify-self: center; width: min(360px, 100%); align-self: end; }
.phone img { width: 100%;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 4%, #000 80%, transparent 100%), linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, transparent 0, #000 4%, #000 80%, transparent 100%), linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%);
  mask-composite: intersect; }

/* 區塊 */
section.block { padding: 80px 0; }
section.block.alt { background: var(--bg-2); }
.block h2 { font-size: clamp(26px, 4vw, 38px); line-height: 1.3; margin: 0 0 10px; text-align: center; font-weight: 900; }
.block h2 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.block .sub { text-align: center; color: var(--sub); margin: 0 auto 40px; max-width: 40em; font-size: 17px; }

/* 三步驟 */
.steps { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; max-width: 980px; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 22px 70px; position: relative; color: var(--sub); }
.steps li::before { counter-increment: s; content: counter(s); position: absolute; left: 20px; top: 22px; width: 34px; height: 34px; border-radius: 50%;
  background: var(--grad); color: #0B1020; font-weight: 900; display: grid; place-items: center; }
.steps b { display: block; color: var(--text); font-size: 18px; margin-bottom: 2px; }

/* 功能卡片：每張一個商店截圖 */
.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.feat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.feat img { width: 100%; aspect-ratio: 540 / 1173; object-fit: cover; background: #0B1226; }
.feat div { padding: 18px 20px 22px; }
.feat h3 { margin: 0 0 6px; font-size: 19px; }
.feat p { margin: 0; color: var(--sub); font-size: 15px; }

/* 支援的 AI */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 860px; margin: 0 auto; padding: 0; list-style: none; }
.chips li { border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 8px 18px; font-weight: 700; font-size: 16px; }
.chips li.beta { color: var(--sub); font-weight: 600; }
.chips li.beta::after { content: "β"; margin-left: 6px; color: var(--cyan); font-weight: 800; }
.fine { text-align: center; color: var(--faint); font-size: 14px; margin: 20px auto 0; max-width: 52em; }

/* 方案 */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 820px; margin: 0 auto; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; }
.plan.pro { border: 2px solid transparent; background: linear-gradient(var(--card-solid), var(--card-solid)) padding-box, var(--grad) border-box; }
.plan h3 { margin: 0; font-size: 22px; }
.plan .price { font-size: 30px; font-weight: 900; margin: 6px 0 2px; line-height: 1.3; }
.plan.pro .price { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plan .note { color: var(--sub); font-size: 14px; margin: 0 0 16px; min-height: 1.6em; }
.plan ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.plan li { padding-left: 26px; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 2px; color: var(--cyan); font-weight: 900; }

/* 隱私 */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust div { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px; font-weight: 700; }
.trust div span { display: block; font-size: 26px; margin-bottom: 6px; }
.more { text-align: center; margin: 26px 0 0; }
.more a { color: var(--cyan); font-weight: 700; }

/* 下載＋聯絡 */
.end { text-align: center;
  background: radial-gradient(700px 360px at 50% 0%, rgba(99, 102, 241, 0.35), transparent 70%), var(--bg); }
.end img.icon { width: 96px; height: 96px; border-radius: 22px; margin: 0 auto 18px; box-shadow: 0 12px 40px rgba(79, 70, 229, 0.5); }
.end .cta { justify-content: center; padding-bottom: 0; }
.contact { border: 1px solid var(--line); background: var(--card); border-radius: var(--radius); padding: 18px 22px; max-width: 600px; margin: 32px auto 0; color: var(--sub); }
.contact a { font-weight: 800; color: var(--cyan); }

footer { background: #04070F; color: var(--sub); padding: 28px 0 36px; font-size: 14px; border-top: 1px solid var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
footer a { color: var(--text); }

/* 平板 */
@media (max-width: 900px) {
  .trust { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; max-width: 560px; }
}
/* 手機 */
@media (max-width: 680px) {
  .top .wrap { height: auto; padding: 10px 0; flex-wrap: wrap; }
  .brand { font-size: 16px; }
  .langs a { padding: 4px 7px; font-size: 13px; }
  .hero .wrap { grid-template-columns: 1fr; padding-top: 40px; gap: 8px; text-align: center; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .cta { justify-content: center; padding-bottom: 28px; }
  .phone { width: min(280px, 78%); }
  section.block { padding: 56px 0; }
  .features { grid-template-columns: 1fr 1fr; gap: 12px; }
  .feat div { padding: 12px 12px 16px; }
  .feat h3 { font-size: 16px; }
  .feat p { font-size: 13.5px; }
  .plans, .trust { grid-template-columns: 1fr; }
  footer .wrap { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 380px) {
  .features { grid-template-columns: 1fr; }
}

/* 各語言用自己的字型優先 */
html:lang(zh-Hans) { font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Noto Sans SC", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif; }
html:lang(en) { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
html:lang(ja) { font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", Meiryo, sans-serif; }
html:lang(ko) body { word-break: keep-all; }
html:lang(ko) { font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Segoe UI", sans-serif; }
.block h2 + .features, .block h2 + .plans, .block h2 + .trust { margin-top: 36px; }
