/* ========== Anthry 官网公共样式 ========== */
:root {
  --amber: #f2994a;
  --amber-deep: #e8890c;
  --amber-light: #fff3e2;
  --green: #5da93f;
  --green-deep: #4a8f30;
  --green-light: #eef7e7;
  --ink: #2b3440;
  --ink-2: #5a6572;
  --ink-3: #8a94a0;
  --bg: #fffdf8;
  --line: #ece5d8;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(226, 150, 60, 0.12);
  --nav-h: 68px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { text-decoration: none; color: inherit; }

.container {
  width: min(1160px, 92%);
  margin: 0 auto;
}

/* ---------- 顶部导航 ---------- */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  background: rgba(255, 253, 248, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-nav.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 18px rgba(43, 52, 64, 0.06);
}
.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: .5px;
}
.brand img { width: 40px; height: 40px; object-fit: contain; }
.brand span { color: var(--ink); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}
.nav-menu > li { position: relative; }
.nav-menu a.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: .98rem;
  color: var(--ink-2);
  transition: color .2s, background .2s;
}
.nav-menu a.nav-link:hover { color: var(--amber-deep); background: var(--amber-light); }
.nav-menu a.nav-link.active { color: var(--amber-deep); font-weight: 600; }
.nav-menu a.nav-link.active::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 2px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--amber), var(--green));
}
.nav-menu li > a.nav-link { position: relative; }

/* 下拉子菜单 */
.has-sub .caret {
  width: 0; height: 0;
  margin-left: 6px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid currentColor;
  transition: transform .2s;
}
.has-sub:hover .caret { transform: rotate(180deg); }
.sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 168px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(43, 52, 64, 0.12);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.has-sub:hover .sub-menu,
.has-sub:focus-within .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.sub-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: .94rem;
  color: var(--ink-2);
  white-space: nowrap;
}
.sub-menu a:hover { background: var(--amber-light); color: var(--amber-deep); }

/* 移动端菜单按钮 */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 通用区块 ---------- */
.section { padding: 96px 0; }
.section.tint { background: linear-gradient(180deg, #fff 0%, var(--amber-light) 100%); }
.section.tint-green { background: linear-gradient(180deg, #fff 0%, var(--green-light) 100%); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-kicker {
  display: inline-block;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--amber-deep);
  background: var(--amber-light);
  border: 1px solid #f6dcbc;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.section-kicker.green {
  color: var(--green-deep);
  background: var(--green-light);
  border-color: #d5e8c4;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 700;
  line-height: 1.3;
}
.section-desc { margin-top: 14px; color: var(--ink-2); font-size: 1.02rem; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: 0;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:active { transform: scale(.97); }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-deep) 100%);
  box-shadow: 0 8px 22px rgba(232, 137, 12, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(232, 137, 12, 0.42); }
.btn-green {
  color: #fff;
  background: linear-gradient(135deg, #6cb84c 0%, var(--green-deep) 100%);
  box-shadow: 0 8px 22px rgba(74, 143, 48, 0.3);
}
.btn-green:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(74, 143, 48, 0.4); }
.btn-ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn .os-icon { width: 20px; height: 20px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(255, 251, 240, 0.96) 8%, rgba(255, 250, 238, 0.78) 42%, rgba(255, 250, 238, 0.25) 78%);
}
.hero-inner { position: relative; z-index: 1; max-width: 640px; padding: 80px 0; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--green-deep);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #d5e8c4;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero-badge::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(93, 169, 63, 0.18);
}
.hero-title {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 1px;
}
.hero-title .hl {
  background: linear-gradient(120deg, var(--amber-deep), var(--amber));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  margin-top: 20px;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--ink-2);
}
.hero-sub strong { color: var(--ink); font-weight: 600; }
.hero-actions { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 16px; }
.hero-stats {
  margin-top: 56px;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.hero-stats .stat b {
  display: block;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--amber-deep);
}
.hero-stats .stat span { font-size: .9rem; color: var(--ink-2); }

/* 子页面 Hero */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 90px) 0 100px;
  overflow: hidden;
}
.page-hero .hero-bg::after {
  background: linear-gradient(180deg, rgba(255, 251, 240, 0.9) 0%, rgba(255, 250, 238, 0.72) 55%, rgba(255, 253, 248, 1) 100%);
}
.page-hero-inner { position: relative; z-index: 1; text-align: center; max-width: 780px; margin: 0 auto; }
.page-hero-tag {
  display: inline-block;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--amber-deep);
  margin-bottom: 12px;
}
.page-hero h1 {
  font-size: clamp(2rem, 4.4vw, 3rem);
  font-weight: 800;
  line-height: 1.3;
}
.page-hero .lead {
  margin: 20px auto 0;
  max-width: 640px;
  color: var(--ink-2);
  font-size: 1.08rem;
}
.page-hero .hero-actions { justify-content: center; }

/* ---------- 卡片栅格 ---------- */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 30px;
  box-shadow: 0 4px 16px rgba(43, 52, 64, 0.04);
  transition: transform .25s, box-shadow .25s, border-color .25s;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--amber), var(--green));
  opacity: 0;
  transition: opacity .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #f2ddc0; }
.card:hover::before { opacity: 1; }
.card-icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  background: var(--amber-light);
}
.card-icon svg { width: 30px; height: 30px; }
.card-icon.green { background: var(--green-light); }
.card h3 { font-size: 1.28rem; font-weight: 700; margin-bottom: 6px; }
.card .card-sub { font-size: .9rem; color: var(--amber-deep); font-weight: 600; margin-bottom: 14px; }
.card p { color: var(--ink-2); font-size: .97rem; }
.card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-weight: 600;
  font-size: .95rem;
  color: var(--amber-deep);
}
.card .card-link:hover { gap: 10px; }
.card .card-link::after { content: "→"; transition: inherit; }

/* ---------- 图文分栏 ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.split.reverse { grid-template-columns: 1fr 1.05fr; }
.split.reverse .split-media { order: -1; }
.split-media { position: relative; }
.split-media img {
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 24px 48px rgba(43, 52, 64, 0.14);
}
.split-body h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 700; line-height: 1.35; }
.split-body .lead { margin-top: 12px; color: var(--ink-2); }
.feature-list { margin-top: 26px; display: grid; gap: 18px; }
.feature-item { display: flex; gap: 14px; }
.feature-dot {
  flex: none;
  width: 42px; height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--amber-light);
}
.feature-dot.green { background: var(--green-light); }
.feature-dot svg { width: 22px; height: 22px; }
.feature-item h4 { font-size: 1.04rem; font-weight: 700; }
.feature-item p { font-size: .93rem; color: var(--ink-2); margin-top: 2px; }

/* ---------- 流程/链路 ---------- */
.flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  counter-reset: step;
}
.flow-step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 28px 30px;
  counter-increment: step;
  text-align: center;
}
.flow-step::before {
  content: "0" counter(step);
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: .9rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--amber), var(--amber-deep));
  padding: 4px 14px;
  border-radius: 999px;
  letter-spacing: 1px;
}
.flow-step h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.flow-step p { color: var(--ink-2); font-size: .95rem; }

/* ---------- 大屏/视角 ---------- */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.audience-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform .25s, box-shadow .25s;
  text-align: center;
}
.audience-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.audience-card h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.audience-card h3 .tag-dot {
  width: 12px; height: 12px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--amber), var(--amber-deep));
}
.audience-card.green h3 .tag-dot { background: linear-gradient(135deg, #6cb84c, var(--green-deep)); }
.audience-card ul { list-style: none; display: grid; gap: 10px; }
.audience-card li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--ink-2);
  font-size: .96rem;
}
.audience-card li::before {
  content: "";
  flex: none;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--amber);
}
.audience-card.green li::before { background: var(--green); }

/* ---------- 下载面板 ---------- */
.download-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  max-width: 860px;
  margin: 0 auto;
}
.download-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 40px 34px;
  text-align: center;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.download-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #f2ddc0; }
.download-card .os-icon-wrap {
  width: 72px; height: 72px;
  margin: 0 auto 18px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--amber-light);
}
.download-card .os-icon-wrap svg { width: 36px; height: 36px; }
.download-card h3 { font-size: 1.25rem; font-weight: 700; }
.download-card .ver { font-size: .88rem; color: var(--ink-3); margin: 6px 0 22px; }

/* ---------- CTA 区段：与上一区块留白 + 颜色平滑过渡 ---------- */
.section-cta { padding-top: 56px; }
.section.tint + .section-cta {
  background: linear-gradient(180deg, var(--amber-light) 0%, var(--bg) 75%);
}
.section.tint-green + .section-cta {
  background: linear-gradient(180deg, var(--green-light) 0%, var(--bg) 75%);
}

/* ---------- CTA 横幅 ---------- */
.cta-band {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  padding: 64px 8%;
  text-align: center;
  color: #fff;
  background: linear-gradient(120deg, #e8890c 0%, #f2994a 45%, #5da93f 120%);
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.18) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  opacity: .5;
}
.cta-band h2 { position: relative; font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; }
.cta-band p { position: relative; margin-top: 12px; opacity: .94; }
.cta-band .hero-actions { position: relative; justify-content: center; margin-top: 32px; }
.cta-band .btn-ghost { background: rgba(255,255,255,.16); color: #fff; border-color: rgba(255,255,255,.4); }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,.28); }

/* ---------- 页脚 ---------- */
.site-footer {
  background: #142820;
  color: #b9c2cc;
  padding: 64px 0 30px;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 1.2rem; }
.footer-brand img { width: 38px; height: 38px; }
.footer-desc { margin-top: 16px; font-size: .92rem; max-width: 320px; color: #93a0ad; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { font-size: .93rem; color: #b9c2cc; transition: color .2s; }
.footer-col a:hover { color: var(--amber); }
.footer-bottom {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  font-size: .86rem;
  color: #7d8894;
}

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

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .cards-3, .flow { grid-template-columns: 1fr 1fr; }
  .split, .split.reverse { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse .split-media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(43, 52, 64, 0.1);
    padding: 12px 5%;
    gap: 2px;
    display: none;
  }
  .nav-menu.open { display: flex; }
  .nav-menu a.nav-link { width: 100%; padding: 12px 14px; }
  .nav-menu a.nav-link.active::after { display: none; }
  .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    border-left: 2px solid var(--line);
    border-radius: 0;
    margin: 2px 0 6px 18px;
    padding: 2px 0;
    display: none;
  }
  .has-sub.open .sub-menu { display: block; }
  .cards-3, .flow, .audience-grid, .download-panel { grid-template-columns: 1fr; }
  .hero-inner { padding: 48px 0 64px; }
  .hero-stats { gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .footer-brand { justify-content: center; }
  .footer-desc { margin-left: auto; margin-right: auto; }
}
