/* ===== 雅知AI营销手机 官网 ===== */
:root {
  --primary: #1f4e9c;
  --primary-dark: #163a75;
  --accent: #22c07a;
  --ink: #1c2333;
  --muted: #5b6472;
  --line: #e6e9f0;
  --bg-soft: #f5f7fb;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(22, 42, 90, .10);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", -apple-system, sans-serif;
  color: var(--ink);
  line-height: 1.7;
  background: #fff;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
.container { width: min(1140px, 92%); margin: 0 auto; }

/* 按钮 */
.btn {
  display: inline-block; padding: 10px 26px; border-radius: 999px;
  font-size: 15px; font-weight: 600; transition: all .25s; border: 2px solid transparent;
}
.btn-lg { padding: 13px 34px; font-size: 16px; }
.btn-primary { background: linear-gradient(135deg, var(--primary), #2f6fd0); color: #fff; box-shadow: 0 6px 18px rgba(31, 78, 156, .35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(31, 78, 156, .45); }
.btn-ghost { border-color: var(--primary); color: var(--primary); background: #fff; }
.btn-ghost:hover { background: var(--primary); color: #fff; }

/* 导航 */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: all .3s;
}
.nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 16px rgba(22, 42, 90, .06); }
.nav-inner { display: flex; align-items: center; height: 64px; gap: 28px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; color: var(--ink); white-space: nowrap; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 9px; color: #fff; font-size: 17px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { color: var(--muted); font-size: 15px; font-weight: 500; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-cta { padding: 8px 20px; font-size: 14px; }
.nav-toggle { display: none; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; height: 2px; width: 22px; background: var(--ink); margin: 0 auto; border-radius: 2px; transition: .3s; }

/* Hero */
.hero {
  padding: 130px 0 0;
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(34, 192, 122, .16), transparent 60%),
    radial-gradient(900px 520px at 8% 0%, rgba(31, 78, 156, .14), transparent 55%),
    linear-gradient(180deg, #f2f6fd 0%, #ffffff 100%);
}
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero-badge {
  display: inline-block; padding: 6px 16px; border-radius: 999px; font-size: 13px; font-weight: 600;
  color: var(--primary); background: rgba(31, 78, 156, .08); border: 1px solid rgba(31, 78, 156, .18); margin-bottom: 18px;
}
.hero h1 { font-size: 46px; line-height: 1.25; letter-spacing: 1px; }
.hero-sub { font-size: 20px; color: var(--primary); font-weight: 600; margin: 14px 0 12px; }
.hero-desc { color: var(--muted); font-size: 15.5px; max-width: 540px; }
.hero-actions { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual img { border-radius: var(--radius); box-shadow: var(--shadow); }
.hero-stats { margin-top: 64px; background: linear-gradient(135deg, var(--primary-dark), var(--primary)); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 34px 0; }
.stat { text-align: center; color: #fff; }
.stat-line { display: flex; align-items: baseline; justify-content: center; gap: 2px; }
.stat-num { font-size: 34px; font-weight: 800; font-variant-numeric: tabular-nums; }
.stat-plus { font-size: 18px; font-weight: 700; color: #7fe0b4; }
.stat-label { font-size: 13px; opacity: .85; margin-top: 4px; }

/* 通用节标题 */
.sec-title { font-size: 32px; text-align: center; letter-spacing: 1px; }
.sec-sub { text-align: center; color: var(--muted); margin: 12px auto 0; font-size: 15.5px; }
.sec-title.light, .sec-sub.light { color: #fff; }
.sec-sub.light { opacity: .85; }

/* 价值区 */
.value { padding: 84px 0 74px; }
.value-tags { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; }
.value-tags span {
  padding: 8px 20px; border-radius: 999px; font-size: 14px; color: var(--primary);
  background: var(--bg-soft); border: 1px solid var(--line);
}

/* 功能行 */
.features { padding: 30px 0 90px; background: var(--bg-soft); }
.features .sec-title, .features .sec-sub { margin-bottom: 0; }
.features .sec-sub { margin-bottom: 54px; }
.feature-row {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 46px; align-items: center;
  background: #fff; border-radius: var(--radius); padding: 38px; margin-bottom: 34px;
  box-shadow: 0 4px 18px rgba(22, 42, 90, .05); border: 1px solid var(--line);
}
.feature-row.reverse .feature-img { order: 2; }
.feature-row.reverse .feature-text { order: 1; }
.feature-img img { border-radius: 10px; box-shadow: var(--shadow); }
.feature-tag {
  display: inline-block; font-size: 12.5px; font-weight: 700; color: #fff; letter-spacing: 2px;
  background: linear-gradient(135deg, var(--primary), #2f6fd0); padding: 4px 14px; border-radius: 999px; margin-bottom: 12px;
}
.feature-text h3 { font-size: 23px; margin-bottom: 10px; }
.feature-text > p { color: var(--muted); font-size: 14.5px; margin-bottom: 14px; }
.feature-text ul { list-style: none; }
.feature-text li {
  position: relative; padding-left: 24px; font-size: 14.5px; color: #3a4250; margin-bottom: 9px;
}
.feature-text li::before {
  content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 700;
}

/* AI 新功能 */
.newfeat { padding: 30px 0 90px; background: #eef2f9; }
.newfeat .sec-sub { margin-bottom: 54px; }
.feature-img .shot { margin-bottom: 16px; }
.feature-img .shot:last-child { margin-bottom: 0; }
.shot-label { display: inline-block; font-size: 12px; color: var(--muted); margin-bottom: 6px; font-weight: 600; }

/* 技术优势 */
.tech {
  padding: 84px 0 90px;
  background:
    radial-gradient(700px 400px at 90% 10%, rgba(34, 192, 122, .12), transparent 60%),
    linear-gradient(160deg, #14264d 0%, #1f4e9c 100%);
}
.tech .sec-sub { margin-bottom: 48px; }
.tech-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tech-card {
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius); padding: 26px 22px; color: #fff; transition: all .25s;
}
.tech-card:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .12); }
.tech-icon { font-size: 28px; margin-bottom: 12px; }
.tech-card h4 { font-size: 16.5px; margin-bottom: 8px; }
.tech-card p { font-size: 13px; opacity: .82; line-height: 1.65; }

/* 代理合作 */
.agency { padding: 88px 0; }
.agency-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; margin-top: 48px; }
.agency-img img { border-radius: var(--radius); box-shadow: var(--shadow); }
.agency-list { list-style: none; }
.agency-list li {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px;
  padding: 15px 20px; margin-bottom: 14px; font-size: 14.5px; color: var(--muted);
}
.agency-list b { display: block; color: var(--ink); font-size: 15.5px; margin-bottom: 2px; }

/* 套餐与价格 */
.pricing { padding: 88px 0 90px; background: #fff; }
.pricing .sec-sub { margin-bottom: 48px; }
.pricing-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: stretch; }
.price-card { border-radius: var(--radius); }
.price-main { position: relative; background: linear-gradient(160deg, #14264d 0%, #1f4e9c 100%); color: #fff; padding: 40px 38px; box-shadow: var(--shadow); }
.price-badge { position: absolute; top: 22px; right: 26px; font-size: 12.5px; font-weight: 700; letter-spacing: 1px; color: #fff; background: var(--accent); padding: 4px 14px; border-radius: 999px; }
.price-name { font-size: 22px; margin-bottom: 6px; }
.price-amount { display: flex; align-items: baseline; gap: 2px; margin: 8px 0 4px; }
.price-amount .cur { font-size: 22px; font-weight: 700; color: #7fe0b4; }
.price-amount .num { font-size: 52px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.price-amount .unit { font-size: 18px; opacity: .85; }
.price-note-inline { font-size: 14px; opacity: .85; margin-bottom: 18px; }
.price-list { list-style: none; margin: 6px 0 24px; }
.price-list li { position: relative; padding-left: 26px; font-size: 15px; margin-bottom: 11px; opacity: .95; }
.price-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: #7fe0b4; font-weight: 700; }
.price-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.price-actions .btn-primary { background: var(--accent); box-shadow: 0 6px 18px rgba(34,192,122,.35); }
.price-actions .btn-ghost { border-color: #fff; color: #fff; background: transparent; }
.price-actions .btn-ghost:hover { background: #fff; color: var(--primary); }
.price-side { display: flex; flex-direction: column; gap: 20px; }
.price-mini { flex: 1; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.price-mini h4 { font-size: 18px; color: var(--primary); margin-bottom: 10px; }
.price-mini p { font-size: 14.5px; color: var(--muted); }
.price-link { display: inline-block; margin-top: 10px; font-weight: 600; }
.price-disclaimer { text-align: center; color: var(--muted); font-size: 13px; margin-top: 28px; }

/* 联系我们 */
.contact {
  padding: 84px 0 92px; text-align: center;
  background:
    radial-gradient(700px 400px at 15% 20%, rgba(34, 192, 122, .12), transparent 60%),
    linear-gradient(160deg, #1f4e9c 0%, #14264d 100%);
}
.contact-card {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  max-width: 860px; margin: 44px auto 36px;
}
.contact-item {
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius); padding: 22px 16px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.contact-item img {
  width: min(180px, 70%); border-radius: 10px; background: #fff; padding: 8px; margin-bottom: 12px;
}
.contact-label { font-size: 13px; color: rgba(255, 255, 255, .7); margin-bottom: 6px; }
.contact-value { font-size: 17px; font-weight: 700; color: #fff; }
.contact-value a { color: #7fe0b4; }

/* 页脚 */
.footer { background: #101c38; color: rgba(255, 255, 255, .75); text-align: center; padding: 30px 0; font-size: 14px; }
.footer .copyright { font-size: 12.5px; opacity: .6; margin-top: 6px; }

/* 返回顶部 */
.backtop {
  position: fixed; right: 22px; bottom: 26px; width: 44px; height: 44px; border-radius: 50%;
  background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 18px; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: all .3s; z-index: 90;
}
.backtop.show { opacity: 1; pointer-events: auto; }

/* 滚动动效 */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* 图片点击放大 lightbox */
.zoomable { cursor: zoom-in; transition: transform .2s, box-shadow .2s; }
.zoomable:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(22, 42, 90, .18); }
.lightbox {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 200; display: none;
  align-items: center; justify-content: center;
  background: rgba(10, 16, 30, .86); backdrop-filter: blur(3px); padding: 4vh 4vw;
}
.lightbox.show { display: flex; }
.lightbox figure { margin: 0; max-width: 100%; text-align: center; }
.lightbox img {
  max-width: 92vw; max-height: 82vh; width: auto; height: auto;
  border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.5); display: block; margin: 0 auto;
}
.lightbox figcaption { color: #dfe6f2; font-size: 14px; margin-top: 12px; }
.lb-close {
  position: absolute; top: 18px; right: 24px; width: 44px; height: 44px;
  border: none; border-radius: 50%; background: rgba(255,255,255,.15); color: #fff;
  font-size: 26px; line-height: 44px; cursor: pointer; transition: background .2s;
}
.lb-close:hover { background: rgba(255,255,255,.3); }

/* ===== 功能详解 / 博客 ===== */
.blog { padding: 100px 0 90px; background: var(--bg-soft); min-height: 60vh; }
.breadcrumb { font-size: 13.5px; color: var(--muted); margin-bottom: 26px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { margin: 0 7px; opacity: .6; }

/* 列表页 */
.blog-head { text-align: center; margin-bottom: 40px; }
.blog-head h1 { font-size: 32px; letter-spacing: 1px; }
.blog-head p { color: var(--muted); margin-top: 10px; font-size: 15.5px; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card {
  display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: 0 4px 18px rgba(22,42,90,.05); transition: transform .25s, box-shadow .25s; color: inherit;
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.post-card .thumb { aspect-ratio: 16 / 10; overflow: hidden; background: #eef2f9; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .thumb img { transform: scale(1.05); }
.post-card .pc-body { padding: 20px 22px 22px; }
.post-card .pc-tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--primary); background: rgba(31,78,156,.09); padding: 3px 10px; border-radius: 999px; margin-bottom: 10px; }
.post-card h3 { font-size: 18px; line-height: 1.5; margin-bottom: 8px; }
.post-card .pc-ex { font-size: 13.5px; color: var(--muted); line-height: 1.65; }
.post-card .pc-meta { font-size: 12.5px; color: #9aa3b2; margin-top: 14px; }

/* 文章页 */
.article {
  max-width: 860px; margin: 0 auto; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 48px 54px 44px; box-shadow: 0 4px 18px rgba(22,42,90,.05);
}
.article-head h1 { font-size: 30px; line-height: 1.4; margin-bottom: 14px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; font-size: 13.5px; color: var(--muted); padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.article-meta .tag { background: rgba(34,192,122,.12); color: #158a56; font-weight: 600; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; }
.article-body { margin-top: 26px; font-size: 16px; color: #2a3140; line-height: 1.9; }
.article-body h2 { font-size: 22px; margin: 34px 0 12px; padding-left: 13px; border-left: 4px solid var(--primary); line-height: 1.4; }
.article-body h3 { font-size: 18px; margin: 24px 0 8px; }
.article-body p { margin: 0 0 16px; }
.article-body ul, .article-body ol { margin: 0 0 18px; padding-left: 22px; }
.article-body li { margin-bottom: 8px; }
.article-body a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.article-body strong { color: var(--ink); }
.article-body blockquote { margin: 0 0 18px; padding: 14px 18px; background: var(--bg-soft); border-left: 4px solid var(--accent); border-radius: 0 8px 8px 0; color: #40485a; }
.article-body .fig { margin: 8px 0 22px; text-align: center; }
.article-body .fig img { max-width: 100%; border-radius: 10px; box-shadow: var(--shadow); margin: 0 auto; }
.article-body .fig figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
.article-body table { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: 14.5px; }
.article-body th, .article-body td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.article-body th { background: var(--bg-soft); font-weight: 700; }
.cta-box { margin: 34px 0 6px; padding: 26px 28px; border-radius: var(--radius); background: linear-gradient(135deg, var(--primary), #2f6fd0); color: #fff; }
.cta-box h3 { font-size: 19px; margin-bottom: 6px; }
.cta-box p { opacity: .92; margin: 0 0 16px; font-size: 14.5px; }
.cta-box .btn { background: #fff; color: var(--primary); border-color: #fff; }
.cta-box .btn:hover { transform: translateY(-2px); }

/* FAQ */
.faq { margin-top: 34px; }
.faq h2 { font-size: 22px; margin-bottom: 14px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 15.5px; list-style: none; position: relative; padding-right: 26px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 2px; top: 0; color: var(--primary); font-weight: 700; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 10px 0 0; color: #40485a; font-size: 14.5px; line-height: 1.8; }

/* 上一篇/下一篇 + 相关 */
.post-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 30px; }
.post-nav a { flex: 1; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; font-size: 14px; color: var(--muted); transition: border-color .2s, box-shadow .2s; }
.post-nav a:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.post-nav .pn-label { display: block; font-size: 12px; color: #9aa3b2; margin-bottom: 3px; }
.post-nav .next { text-align: right; }
.related { margin-top: 40px; }
.related h2 { font-size: 20px; margin-bottom: 16px; }

/* ===== 响应式 ===== */
@media (max-width: 992px) {
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { font-size: 36px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; padding: 26px; gap: 24px; }
  .feature-row.reverse .feature-img { order: 1; }
  .feature-row.reverse .feature-text { order: 2; }
  .agency-inner { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-main { padding: 32px 26px; }
  .price-amount .num { font-size: 44px; }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-links {
    position: fixed; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(22, 42, 90, .1);
    max-height: 0; overflow: hidden; transition: max-height .3s;
  }
  .nav-links.open { max-height: 320px; }
  .nav-links a { padding: 14px 6%; border-top: 1px solid var(--line); }
  .nav-toggle { display: flex; margin-left: auto; }
  .nav-cta { display: none; }
  .hero { padding-top: 100px; }
  .hero h1 { font-size: 30px; }
  .hero-sub { font-size: 17px; }
  .sec-title { font-size: 25px; }
  .contact-card { grid-template-columns: 1fr; }
  .stat-num { font-size: 27px; }
  .blog { padding: 84px 0 60px; }
  .post-grid { grid-template-columns: 1fr; }
  .article { padding: 30px 22px 32px; }
  .article-head h1 { font-size: 24px; }
  .post-nav { flex-direction: column; }
}
