/* ============================================================
   苹果智云 · 首页独立样式（简单大气上档次 · 浅色高端风）
   参考阿里巴巴国际站主页：白底 + 品牌绿 + 金色点缀
   ============================================================ */
:root {
  --bg: #FFFFFF;
  --bg-soft: #F5F8F6;
  --ink: #12241B;
  --ink-2: #55665C;
  --ink-3: #8FA096;
  --brand: #0B8A5F;
  --brand-2: #10B981;
  --brand-soft: #E6F5EF;
  --gold: #C9A227;
  --line: #E3EAE5;
  --shadow: 0 8px 30px rgba(18, 55, 40, 0.08);
  --shadow-lg: 0 20px 60px rgba(18, 55, 40, 0.12);
  --radius: 16px;
  --font-en: 'Space Grotesk', 'SF Pro Display', -apple-system, sans-serif;
  --font-cn: 'PingFang SC', 'HarmonyOS Sans SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body.home-page {
  font-family: var(--font-cn);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}
body.home-page a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }
.hp-container { width: min(1240px, 92vw); margin: 0 auto; }

/* ---------- 顶部导航 ---------- */
.hp-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.hp-header-inner { display: flex; align-items: center; gap: 30px; height: 70px; }
.hp-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: .5px; }
.hp-logo-mark {
  width: 36px; height: 36px; border-radius: 11px;
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  display: grid; place-items: center; color: #fff; font-size: 19px;
  box-shadow: 0 4px 14px rgba(11, 138, 95, 0.35);
}
.hp-logo .sub { display: block; font-size: 10px; color: var(--ink-3); letter-spacing: 3px; font-family: var(--font-en); font-weight: 500; }
.hp-nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.hp-nav a {
  color: var(--ink-2); font-size: 15px; padding: 9px 16px; border-radius: 10px; transition: all .2s;
}
.hp-nav a:hover { color: var(--brand); background: var(--brand-soft); }
.hp-nav a.active { color: var(--brand); font-weight: 600; }
.hp-cart {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(120deg, var(--brand-2), var(--brand));
  color: #fff; border: none; border-radius: 12px; padding: 10px 20px;
  font-size: 14px; font-weight: 600; box-shadow: 0 4px 16px rgba(11, 138, 95, 0.3);
  transition: all .25s;
}
.hp-cart:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(11, 138, 95, 0.4); }
.hp-cart .badge {
  background: rgba(255,255,255,0.25); border-radius: 999px; font-size: 12px; font-weight: 700; padding: 1px 9px;
}

/* ---------- 首屏 ---------- */
.hp-hero { position: relative; padding: 96px 0 80px; text-align: center; overflow: hidden; }
.hp-hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(700px 380px at 85% -20%, rgba(16, 185, 129, 0.12), transparent 65%),
    radial-gradient(600px 320px at 8% 0%, rgba(201, 162, 39, 0.08), transparent 60%);
  pointer-events: none;
}
.hp-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px; border-radius: 999px;
  border: 1px solid rgba(11, 138, 95, 0.3);
  background: var(--brand-soft);
  color: var(--brand); font-size: 14px; font-weight: 500; letter-spacing: 1px;
  margin-bottom: 26px;
}
.hp-tag::before { content: '✦'; }
.hp-hero h1 {
  font-size: clamp(38px, 6.5vw, 66px);
  font-weight: 800; line-height: 1.15; letter-spacing: 2px;
}
.hp-hero h1 .grad {
  background: linear-gradient(100deg, var(--brand) 10%, var(--brand-2) 55%, #34D399 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hp-hero .sub {
  margin: 22px auto 0; max-width: 640px; color: var(--ink-2); font-size: 17px;
}
.hp-cta { margin-top: 38px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hp-btn {
  display: inline-flex; align-items: center; gap: 8px; border-radius: 13px;
  padding: 15px 40px; font-size: 16px; font-weight: 700; transition: all .25s;
}
.hp-btn-solid {
  background: linear-gradient(120deg, var(--brand-2), var(--brand)); color: #fff;
  box-shadow: 0 6px 22px rgba(11, 138, 95, 0.35);
}
.hp-btn-solid:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(11, 138, 95, 0.45); }
.hp-btn-line { border: 1.5px solid var(--line); color: var(--ink); background: #fff; }
.hp-btn-line:hover { border-color: var(--brand); color: var(--brand); }
.hp-stats {
  margin-top: 56px; display: flex; justify-content: center; gap: clamp(30px, 7vw, 90px);
}
.hp-stat b {
  display: block; font-family: var(--font-en); font-size: 38px; font-weight: 700;
  background: linear-gradient(120deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hp-stat span { color: var(--ink-3); font-size: 13px; letter-spacing: 1px; }

/* ---------- 标语滚动条 ---------- */
.hp-strip {
  overflow: hidden; white-space: nowrap;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--bg-soft); padding: 15px 0;
}
.hp-strip-track { display: inline-block; animation: hpMarquee 40s linear infinite; }
.hp-strip-track span {
  font-size: 15px; color: var(--ink-2); margin: 0 34px; letter-spacing: 1px;
  display: inline-flex; align-items: center; gap: 10px;
}
.hp-strip-track span::before { content: '✦'; color: var(--brand-2); font-size: 11px; }
@keyframes hpMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- 板块 ---------- */
.hp-section { padding: 74px 0 30px; }
.hp-head { text-align: center; margin-bottom: 42px; }
.hp-head .en {
  font-family: var(--font-en); font-size: 12px; letter-spacing: 5px; color: var(--brand); text-transform: uppercase;
}
.hp-head h2 { font-size: 34px; font-weight: 800; letter-spacing: 2px; margin-top: 8px; }
.hp-head p { color: var(--ink-2); margin-top: 10px; font-size: 15px; }
.hp-head .gold-line { width: 56px; height: 3px; background: linear-gradient(90deg, var(--gold), var(--brand-2)); border-radius: 99px; margin: 16px auto 0; }

.hp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 960px) { .hp-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .hp-cards { grid-template-columns: 1fr; } }
.hp-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: all .3s ease; overflow: hidden;
}
.hp-card::after {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--brand-2), var(--gold));
  opacity: 0; transition: opacity .3s;
}
.hp-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(11, 138, 95, 0.35); }
.hp-card:hover::after { opacity: 1; }
.hp-card .ic {
  width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center;
  font-size: 26px; background: var(--brand-soft); margin-bottom: 18px;
}
.hp-card h3 { font-size: 21px; font-weight: 800; letter-spacing: 1px; margin-bottom: 8px; }
.hp-card p { color: var(--ink-2); font-size: 14px; min-height: 44px; }
.hp-card .meta {
  margin-top: 18px; display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--brand); font-weight: 600;
}
.hp-card .meta .count {
  font-family: var(--font-en); font-size: 12px; font-weight: 500; color: var(--ink-3);
  background: var(--bg-soft); border: 1px solid var(--line); padding: 2px 11px; border-radius: 999px;
}

/* ---------- 平台速览 ---------- */
.hp-branches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 960px) { .hp-branches { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .hp-branches { grid-template-columns: 1fr; } }
.hp-branch {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; padding: 20px;
  transition: all .25s;
}
.hp-branch:hover { border-color: rgba(11, 138, 95, 0.4); background: #fff; box-shadow: var(--shadow); }
.hp-branch h4 { font-size: 16px; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.hp-branch ul { list-style: none; }
.hp-branch li { font-size: 13px; color: var(--ink-2); padding: 4px 0; display: flex; gap: 8px; align-items: center; }
.hp-branch li::before { content: '◆'; font-size: 8px; color: var(--brand-2); }

/* 国内电商/财税 芯片条 */
.hp-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 10px; }
.hp-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 20px; font-size: 14px; font-weight: 600; color: var(--ink);
  transition: all .22s; box-shadow: 0 2px 8px rgba(18, 55, 40, 0.05);
}
.hp-chip:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow); }
.hp-chip .n {
  font-family: var(--font-en); font-size: 12px; font-weight: 500; color: var(--brand);
  background: var(--brand-soft); border-radius: 999px; padding: 1px 9px;
}

/* ---------- 流程 ---------- */
.hp-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 960px) { .hp-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .hp-steps { grid-template-columns: 1fr; } }
.hp-step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; position: relative; transition: all .25s;
}
.hp-step:hover { box-shadow: var(--shadow); border-color: rgba(11, 138, 95, 0.3); }
.hp-step .num { font-family: var(--font-en); font-size: 12px; letter-spacing: 3px; color: var(--gold); font-weight: 700; }
.hp-step h4 { font-size: 17px; margin: 10px 0 6px; }
.hp-step p { font-size: 13px; color: var(--ink-2); }

/* ---------- 页脚 ---------- */
.hp-footer { margin-top: 90px; border-top: 1px solid var(--line); background: var(--bg-soft); padding: 50px 0 26px; }
.hp-footer-grid { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.hp-footer h5 { font-size: 14px; font-weight: 700; margin-bottom: 12px; letter-spacing: 1px; }
.hp-footer a { display: block; color: var(--ink-2); font-size: 13px; padding: 3px 0; transition: color .2s; }
.hp-footer a:hover { color: var(--brand); }
.hp-footer-bottom {
  margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line);
  color: var(--ink-3); font-size: 12px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}

/* ---------- 联系挂件（浅色） ---------- */
.hp-contact {
  position: fixed; right: 18px; bottom: 18px; z-index: 120;
  display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
}
.hp-contact-main {
  display: flex; align-items: center; gap: 10px;
  background: linear-gradient(120deg, var(--brand-2), var(--brand)); color: #fff;
  border-radius: 999px; padding: 12px 22px; font-size: 14px; font-weight: 700;
  box-shadow: 0 6px 22px rgba(11, 138, 95, 0.4); cursor: pointer; transition: all .25s;
}
.hp-contact-main:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(11, 138, 95, 0.5); }
.hp-contact-panel {
  display: none; width: 310px; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; padding: 20px; box-shadow: var(--shadow-lg);
  animation: hpSlide .25s ease both;
}
.hp-contact.open .hp-contact-panel { display: block; }
.hp-contact-panel h4 { font-size: 15px; font-weight: 800; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.hp-crow { display: flex; align-items: center; gap: 10px; padding: 9px 0; font-size: 14px; border-bottom: 1px dashed var(--line); }
.hp-crow:last-child { border-bottom: none; }
.hp-crow .ci { font-size: 17px; width: 24px; text-align: center; }
.hp-crow .cl { color: var(--ink-3); font-size: 12px; width: 44px; flex-shrink: 0; }
.hp-crow a { color: var(--ink); font-size: 14px; font-weight: 600; }
.hp-crow a:hover { color: var(--brand); }
@keyframes hpSlide { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- 动效 ---------- */
.hp-reveal { opacity: 0; transform: translateY(24px); transition: all .7s ease; }
.hp-reveal.in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 640px) {
  .hp-nav a { padding: 8px 10px; font-size: 14px; }
  .hp-header-inner { gap: 12px; }
  .hp-hero { padding: 64px 0 56px; }
  .hp-hero h1 { font-size: 34px; }
  .hp-btn { padding: 13px 28px; font-size: 15px; }
}

/* ---------- 客户提交动态轮播 ---------- */
.hp-feed {
  max-width: 680px;
  margin: 38px auto 0;
  background: linear-gradient(180deg, #F3E9D8, #FFFCF3);
  border: 1px solid #E7DCC8;
  border-top: 3px solid #8A6D2F;
  border-radius: 14px;
  box-shadow: 0 10px 34px rgba(138, 109, 47, 0.12);
  padding: 14px 22px 12px;
  text-align: center;
}
.hp-feed-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 13px;
}
.hp-feed-head b { font-size: 15px; color: #7A5A1E; letter-spacing: 1px; }
.hp-feed-head span {
  font-size: 12px; color: #9C8A62; background: rgba(138, 109, 47, 0.10);
  border: 1px solid rgba(138, 109, 47, 0.25); border-radius: 999px; padding: 2px 12px;
}
.hp-feed-viewport {
  height: 126px;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent);
}
.hp-feed-list { animation: hpFeedUp 22s linear infinite; }
.hp-feed:hover .hp-feed-list { animation-play-state: paused; }
.hp-feed-list span {
  display: block;
  font-size: 16px;
  line-height: 2.05;
  color: #4A4237;
  letter-spacing: 0.5px;
}
.hp-feed-list span b {
  color: #0B8A5F;
  font-weight: 700;
  margin-right: 2px;
}
@keyframes hpFeedUp {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}
@media (max-width: 640px) {
  .hp-feed { padding: 12px 14px 10px; }
  .hp-feed-list span { font-size: 14px; line-height: 2; }
}

/* 首页 logo 图片 */
.hp-logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
