/* AI牌路 官网样式 —— 自包含,无外部依赖,PC/手机自适应 */
:root {
  /* 配色对齐手机 App(高级暖橙 + 香槟金) */
  --brand: #ff7a1a;       /* App 主强调橙 (S.Purple) */
  --brand-600: #f0690a;   /* 深橙,用于 hover / 文字 */
  --brand-050: #fff3e8;   /* 浅橙底(图标/标签底) */
  --gold: #ffb05c;        /* 暖金 */
  --ink: #2b2b2e;         /* App 主文字 */
  --ink-2: #4a463f;       /* 正文 */
  --muted: #8a857d;       /* 次文字(暖灰) */
  --line: #ede7df;        /* App 暖描边 */
  --bg: #ffffff;
  --bg-soft: #f7f6f3;     /* App 微暖页底 */
  --radius: 16px;
  --shadow: 0 10px 30px rgba(120, 74, 20, 0.09);
  --maxw: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- 顶部导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; }
.brand .logo {
  width: 34px; height: 34px; border-radius: 9px; overflow: hidden;
  box-shadow: 0 3px 10px rgba(240, 105, 10, 0.22);
}
/* 内嵌的 App 同款扑克图标(JS 注入 SVG),填满各处 logo 容器 */
[data-logo] { display: inline-block; }
[data-logo] svg { width: 100%; height: 100%; display: block; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--ink-2); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--brand); }
.nav-cta {
  background: var(--brand); color: #fff; padding: 9px 18px; border-radius: 999px;
  font-weight: 600; font-size: 14px;
}
.nav-cta:hover { background: var(--brand-600); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; transition: .25s; }

/* ---------- Hero(深色背景板 + 橙色光晕点缀)---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 480px at 82% -10%, rgba(255,138,42,.30), transparent 60%),
    radial-gradient(680px 360px at 2% 18%, rgba(255,176,92,.12), transparent 55%),
    linear-gradient(180deg, #0b1220, #101a2e);
}
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: 72px 0 80px; }
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600;
  color: #ffd6ab; background: rgba(255,138,42,.16); border: 1px solid rgba(255,138,42,.4);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 { font-size: 44px; line-height: 1.15; margin: 0 0 14px; color: #fff; letter-spacing: -.5px; }
.hero .subtitle { font-size: 20px; color: #fff4e9; margin: 0 0 16px; font-weight: 500; }
.hero .desc { font-size: 16px; color: rgba(255,255,255,.85); margin: 0 0 28px; max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 13px 24px; border-radius: 12px;
  font-weight: 700; font-size: 15px; cursor: pointer; border: 1px solid transparent; transition: .2s;
}
.btn .ico { font-size: 18px; }
.btn .ico svg { display: block; }
/* Hero/CTA 深底上:主按钮实心橙(点亮品牌色)、次按钮半透明白描边 */
.hero .btn-primary, .cta .btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 22px rgba(255,122,26,.35); }
.hero .btn-primary:hover, .cta .btn-primary:hover { background: var(--brand-600); color: #fff; transform: translateY(-1px); }
.hero .btn-ghost, .cta .btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.4); }
.hero .btn-ghost:hover, .cta .btn-ghost:hover { background: rgba(255,255,255,.22); color: #fff; }
/* 浅色区域的通用按钮 */
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-600); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: rgba(0,0,0,.04); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: rgba(0,0,0,.07); color: var(--ink); }
.hero-meta { margin-top: 18px; font-size: 13px; color: rgba(255,255,255,.72); }

/* Hero 右侧手机预览 */
.hero-visual { display: flex; justify-content: center; }
.phone {
  width: 250px; aspect-ratio: 9 / 19.5; border-radius: 34px; padding: 10px;
  background: linear-gradient(160deg, #1e1e26, #0c0c11);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 30px 60px rgba(0,0,0,.5); position: relative;
}
.phone .screen {
  position: relative;
  width: 100%; height: 100%; border-radius: 26px; overflow: hidden;
  background: linear-gradient(180deg, #14141a, #1d1d26); display: grid; place-items: center;
  color: #8b8b98; font-size: 13px; text-align: center; padding: 16px;
}
/* 截图完整显示(不裁切):铺满屏幕框、等比缩放,超出/不足处用深色屏底自然留白(letterbox);
   绝对定位铺到圆角边缘,不受 .screen 的 16px 文案内边距影响 */
.phone .screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }

/* ---------- 通用区块 ---------- */
.section { padding: 74px 0; }
.section.alt { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 44px; }
.section-head h2 { font-size: 32px; margin: 0 0 12px; letter-spacing: -.4px; }
.section-head p { color: var(--muted); font-size: 16px; margin: 0; }

/* 功能亮点 */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; transition: .2s; box-shadow: var(--shadow);
}
.feature:hover { transform: translateY(-4px); border-color: rgba(255,122,26,.4); }
.feature .fico {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--brand-050); margin-bottom: 16px;
}
.feature .fico svg { width: 26px; height: 26px; stroke: var(--brand-600); }
.feature h3 { margin: 0 0 8px; font-size: 18px; }
.feature p { margin: 0; color: var(--muted); font-size: 14px; }

/* 截图画廊 */
.shots { display: flex; gap: 18px; overflow-x: auto; padding: 6px 2px 16px; scroll-snap-type: x mandatory; }
.shots::-webkit-scrollbar { height: 8px; }
.shots::-webkit-scrollbar-thumb { background: var(--line); border-radius: 999px; }
.shot {
  flex: 0 0 auto; width: 230px; aspect-ratio: 1242 / 2688; border-radius: 22px; overflow: hidden;
  border: 1px solid var(--line); background: var(--bg-soft); scroll-snap-align: center; box-shadow: var(--shadow);
}
.shot img { width: 100%; height: 100%; object-fit: cover; }

/* 使用教程视频 */
.tutorial-wrap { max-width: 880px; margin: 0 auto; }
.tutorial-wrap video {
  width: 100%; max-height: 520px; border-radius: 16px; border: 1px solid var(--line);
  background: #000; display: block; box-shadow: var(--shadow);
}

/* 会员套餐 */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan {
  position: relative; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; display: flex; flex-direction: column; box-shadow: var(--shadow);
}
.plan.featured { border-color: var(--brand); box-shadow: 0 16px 40px rgba(22,163,74,.18); }
.plan .lvl {
  display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px;
  background: var(--brand-050); color: var(--brand-600); margin-bottom: 12px; width: fit-content;
}
.plan .lvl.svip { background: #fef3c7; color: #b45309; }
.plan h3 { margin: 0 0 6px; font-size: 20px; }
.plan .price { font-size: 34px; font-weight: 800; color: var(--ink); }
.plan .price small { font-size: 15px; font-weight: 600; color: var(--muted); }
.plan .orig { color: var(--muted); text-decoration: line-through; font-size: 14px; margin-left: 8px; }
.plan .discount { color: #dc2626; font-size: 13px; font-weight: 700; margin-left: 6px; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 0; }
.plan li { display: flex; gap: 8px; align-items: flex-start; padding: 6px 0; color: var(--ink-2); font-size: 14px; }
.plan li::before { content: "✓"; color: var(--brand); font-weight: 800; }
.plan .badge-hot {
  position: absolute; top: -11px; right: 18px; background: var(--gold); color: #3b2a00;
  font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: 999px;
}

/* 下载 CTA(深色背景板 + 橙色光晕,与 Hero 呼应) */
.cta {
  text-align: center; color: #fff; border-radius: 24px; padding: 56px 24px;
  background: radial-gradient(600px 300px at 50% 0%, rgba(255,138,42,.28), transparent 62%), linear-gradient(180deg, #0d1424, #101a2e);
}
.cta h2 { font-size: 30px; margin: 0 0 10px; color: #fff; }
.cta p { color: rgba(255,255,255,.82); margin: 0 0 26px; }
.cta .hero-actions { justify-content: center; }

/* ---------- 纯文档页(协议/隐私/声明:白底黑字,另起一页阅读)---------- */
body.doc-page { background: #ffffff; color: #1a1a1a; }
.doc-topbar { border-bottom: 1px solid #eaeaea; background: #fff; position: sticky; top: 0; z-index: 10; }
.doc-topbar .container { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.doc-brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 17px; color: #111; }
.doc-brand .doc-logo { width: 28px; height: 28px; border-radius: 7px; overflow: hidden; }
.doc-back { color: var(--brand-600); font-size: 14px; font-weight: 500; }
.doc-back:hover { text-decoration: underline; }
.doc-wrap { max-width: 800px; margin: 0 auto; padding: 40px 20px 72px; }
.doc-title { font-size: 27px; font-weight: 800; color: #111; margin: 0 0 20px; padding-bottom: 16px; border-bottom: 2px solid #f0f0f0; }
.doc-page .doc-body { font-size: 15px; line-height: 1.95; color: #2b2b2b; }
.doc-page .doc-body h1 { font-size: 22px; color: #111; font-weight: 800; margin: 30px 0 12px; }
.doc-page .doc-body h2 { font-size: 19px; color: #111; font-weight: 700; margin: 28px 0 10px; }
.doc-page .doc-body h3 { font-size: 16px; color: #111; font-weight: 600; margin: 22px 0 8px; }
.doc-page .doc-body h4, .doc-page .doc-body h5 { font-size: 15px; color: #111; font-weight: 600; margin: 18px 0 8px; }
.doc-page .doc-body p { margin: 0 0 14px; }
.doc-page .doc-body ul, .doc-page .doc-body ol { margin: 0 0 14px; padding-left: 24px; }
.doc-page .doc-body li { margin: 4px 0; }
.doc-page .doc-body strong, .doc-page .doc-body b { color: #000; font-weight: 700; }
.doc-page .doc-body a { color: var(--brand-600); text-decoration: underline; }
.doc-page .doc-body img { max-width: 100%; }
.doc-page .doc-body blockquote { margin: 0 0 14px; padding: 8px 14px; border-left: 3px solid var(--brand); background: #faf7f2; color: #444; }
.doc-foot { border-top: 1px solid #eee; background: #fafafa; padding: 24px 20px; }
.doc-foot .container { text-align: center; }
.doc-foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 4px; align-items: center; margin-bottom: 10px; }
.doc-foot-links a { color: #555; font-size: 13px; padding: 0 8px; }
.doc-foot-links a:hover { color: var(--brand-600); }
.doc-foot-links i { color: #ccc; font-style: normal; }
.doc-foot-copy { font-size: 12px; color: #999; }
.doc-foot-copy a { color: #999; }
.doc-foot-copy a:hover { color: var(--brand-600); }

/* ---------- 内容页(隐私/协议/支持) ---------- */
.page-head { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 48px 0; }
.page-head h1 { margin: 0 0 8px; font-size: 30px; }
.page-head p { margin: 0; color: var(--muted); }
.doc { max-width: 820px; padding: 48px 20px 72px; margin: 0 auto; }
.doc-body { font-size: 15px; color: var(--ink-2); }
.doc-body h2 { font-size: 20px; color: var(--ink); margin: 30px 0 10px; }
.doc-body h3 { font-size: 17px; color: var(--ink); margin: 22px 0 8px; }
.doc-body p { margin: 0 0 14px; }
.doc-body ul { margin: 0 0 14px; padding-left: 22px; }

/* 技术支持 */
.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.support-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.support-card h3 { margin: 0 0 14px; font-size: 18px; }
.contact-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.contact-row:last-child { border-bottom: 0; }
.contact-row .k { color: var(--muted); font-size: 14px; min-width: 84px; }
.contact-row .v { font-weight: 600; word-break: break-all; }
.qr { width: 230px; height: 230px; max-width: 100%; border-radius: 14px; border: 1px solid var(--line); object-fit: contain; background: #fff; padding: 6px; }

/* 意见反馈表单 */
.fb-form { display: flex; flex-direction: column; gap: 12px; }
.fb-textarea, .fb-input {
  width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px;
  font-size: 14px; font-family: inherit; background: var(--bg); color: var(--ink);
}
.fb-textarea { resize: vertical; min-height: 110px; }
.fb-textarea:focus, .fb-input:focus { outline: none; border-color: var(--brand); }
.fb-actions { display: flex; align-items: center; gap: 12px; }
.fb-imgrow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.fb-thumbs { display: flex; flex-wrap: wrap; gap: 10px; }
.fb-thumbs:empty { display: none; }
.fb-thumb { position: relative; width: 78px; height: 78px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); }
.fb-thumb img { width: 100%; height: 100%; object-fit: cover; }
.fb-thumb button {
  position: absolute; top: 2px; right: 2px; width: 18px; height: 18px; border-radius: 50%;
  border: 0; background: rgba(0,0,0,.6); color: #fff; font-size: 12px; line-height: 18px; cursor: pointer; padding: 0;
}
.fb-msg { font-size: 14px; }
.fb-msg.ok { color: var(--brand-600); }
.fb-msg.err { color: #dc2626; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 0; }
.faq-q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 16px 0;
  font-size: 16px; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; gap: 12px; }
.faq-q .arw { color: var(--muted); transition: transform .2s; }
.faq-item.open .faq-q .arw { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; color: var(--ink-2); font-size: 15px; }
.faq-item.open .faq-a { max-height: 600px; }
.faq-a-inner { padding: 0 0 16px; }

/* ---------- 页脚(统一法务区块,居中;深色底,与 Hero 同)---------- */
.footer { background: #0b1220; color: #c9bdae; padding: 40px 0 34px; }
.footer-legal { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.footer-legal .legal-company { color: #f5ede1; font-size: 15px; font-weight: 600; }
.footer-legal .legal-reg { font-size: 13px; color: #b0a291; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; align-items: center; }
.footer-legal .legal-reg a { color: #b0a291; }
.footer-legal .legal-reg a:hover { color: #ffd7ab; }
.footer-legal .legal-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; align-items: center; font-size: 14px; }
.footer-legal .legal-links a { color: #c9bdae; }
.footer-legal .legal-links a:hover { color: #ffb877; }
.footer-legal i { color: #5c4d3d; font-style: normal; margin: 0 2px; }
.footer-legal .legal-note { font-size: 13px; color: #9a8d7c; max-width: 640px; margin-top: 4px; }
.footer-legal .legal-copy { font-size: 13px; color: #837767; margin-top: 6px; }

.muted-note { color: var(--muted); font-size: 14px; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 28px; padding: 52px 0 56px; }
  .hero-visual { order: -1; }
  .phone { width: 210px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; }
  .support-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-links {
    position: fixed; inset: 64px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 16px;
    transform: translateY(-140%); transition: transform .28s ease; box-shadow: var(--shadow);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav-links .nav-cta { text-align: center; margin-top: 10px; border-bottom: 0; }
  .nav-toggle { display: block; }
  .hero h1 { font-size: 33px; }
  .hero .subtitle { font-size: 17px; }
  .section { padding: 52px 0; }
  .section-head h2 { font-size: 26px; }
  .features { grid-template-columns: 1fr; }
  .btn { flex: 1; justify-content: center; }
  .hero-actions { width: 100%; }
}
