/* =========================================================
   retail-v2.css — 零售连锁管理系统 产品页
   风格：Premium B2B SaaS · 视觉层次丰富 · 现代感
   ========================================================= */

/* -------- 动画 -------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes glow {
  0%, 100% { opacity: .6; }
  50% { opacity: 1; }
}
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* -------- Hero（深色科技开场） -------- */
.product-hero {
  position: relative;
  min-height: 620px;
  padding: 132px 0 56px;
  background: linear-gradient(160deg, #040d1f 0%, #0a2248 40%, #0d3a6e 75%, #114d8a 100%);
  color: #fff;
  overflow: hidden;
}
.product-hero:before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 900px;
  height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34,211,238,.12) 0%, transparent 70%);
  pointer-events: none;
}
.product-hero:after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-copy .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 24px;
  padding: 6px 16px;
  border: 1px solid rgba(34,211,238,.3);
  border-radius: 24px;
  background: rgba(34,211,238,.06);
  color: #67e8f9;
  font: 500 11px/1.6 Arial, sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.hero-copy .eyebrow:before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22d3ee;
  animation: glow 2s ease-in-out infinite;
}
.hero-copy h1 {
  margin: 0 0 20px;
  font-size: clamp(40px, 4.8vw, 62px);
  line-height: 1.15;
  letter-spacing: -.035em;
  font-weight: 800;
}
.hero-copy h1 em {
  background: linear-gradient(135deg, #67e8f9, #22d3ee, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: normal;
}
.hero-copy .hero-desc {
  max-width: 480px;
  margin: 0 0 36px;
  color: rgba(255,255,255,.65);
  font-size: 16px;
  line-height: 1.9;
  font-weight: 300;
}
.hero-copy .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero-specs {
  display: grid;
  grid-template-columns: 1fr 1.6fr 1.1fr 1fr;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero-specs div { padding: 0 16px; border-left: 1px solid rgba(255,255,255,.12); }
.hero-specs div:first-child { border-left: 0; padding-left: 0; }
.hero-specs span { display: block; margin-bottom: 6px; color: rgba(255,255,255,.42); font: 500 11px/1.4 Arial, sans-serif; letter-spacing: .14em; }
.hero-specs strong { color: rgba(255,255,255,.92); font-size: 14px; font-weight: 600; }
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual .screen-frame {
  position: relative;
  width: 100%;
  max-width: 520px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 40px 80px rgba(0,0,0,.4),
    0 0 0 1px rgba(255,255,255,.08),
    inset 0 1px 0 rgba(255,255,255,.1);
  animation: float 6s ease-in-out infinite;
}
.hero-visual .frame-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #0b2447;
}
.hero-visual .frame-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,.22);
}
.hero-visual .frame-bar i:first-child { background: #22d3ee; }
.hero-visual .screen-frame img {
  display: block;
  width: 100%;
  height: auto;
}
.hero-visual .screen-frame:before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255,255,255,.06) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}
.hero-visual .glow-orb {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34,211,238,.2) 0%, transparent 70%);
  filter: blur(40px);
  z-index: -1;
}

/* -------- 通用区块 -------- */
.pd-section {
  padding: 120px 0;
  position: relative;
}
.pd-section.alt { background: #f8fafc; }
.pd-section.dark {
  background: linear-gradient(180deg, #040d1f 0%, #0a2248 100%);
  color: #fff;
}
.pd-heading {
  max-width: 680px;
  margin: 0 auto 72px;
  text-align: center;
}
.pd-heading .eyebrow {
  display: inline-block;
  margin: 0 0 16px;
  color: var(--blue);
  font: 600 11px/1.4 Arial, sans-serif;
  letter-spacing: .28em;
  text-transform: uppercase;
}
.pd-section.dark .pd-heading .eyebrow { color: #22d3ee; }
.pd-heading h2 {
  margin: 0 0 18px;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.25;
  letter-spacing: -.03em;
  font-weight: 700;
  color: var(--ink);
}
.pd-section.dark .pd-heading h2 { color: #fff; }
.pd-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
  font-weight: 300;
}
.pd-section.dark .pd-heading p { color: rgba(255,255,255,.55); }

/* -------- 适用对象 -------- */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.audience-card {
  position: relative;
  padding: 40px 28px 36px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #eef2f7;
  box-shadow: 0 4px 24px rgba(0,0,0,.04);
  transition: all .35s cubic-bezier(.16,1,.3,1);
  overflow: hidden;
  text-align: center;
}
.audience-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #22d3ee, #3b82f6);
  opacity: 0;
  transition: opacity .3s;
}
.audience-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0,0,0,.08);
  border-color: transparent;
}
.audience-card:hover:before { opacity: 1; }
.audience-card .aud-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  border-radius: 16px;
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
}
.audience-card .aud-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.audience-card h3 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}
.audience-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  font-weight: 300;
}

/* -------- 功能模块 -------- */
.func-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.func-card {
  position: relative;
  padding: 32px 24px;
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
  transition: all .35s cubic-bezier(.16,1,.3,1);
  overflow: hidden;
}
.func-card:before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(34,211,238,.08), transparent);
  opacity: 0;
  transition: opacity .3s;
}
.func-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34,211,238,.25);
  box-shadow: 0 16px 48px rgba(0,0,0,.2);
}
.func-card:hover:before { opacity: 1; }
.func-card .func-num {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: rgba(34,211,238,.12);
  color: #22d3ee;
  font: 600 12px/1 Arial, sans-serif;
}
.func-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}
.func-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(255,255,255,.5);
  font-size: 13px;
  line-height: 1.75;
  font-weight: 300;
}

/* -------- 智能化能力 -------- */
.smart-feature {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}
.smart-feature + .smart-feature { margin-top: 120px; }
.smart-feature.reverse { grid-template-columns: 1.2fr 1fr; }
.smart-feature.reverse .smart-media { order: -1; }
.smart-copy .smart-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
  padding: 5px 14px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(34,211,238,.08), rgba(59,130,246,.08));
  border: 1px solid rgba(34,211,238,.2);
  color: var(--blue);
  font: 600 11px/1.6 Arial, sans-serif;
  letter-spacing: .14em;
}
.smart-copy h3 {
  margin: 0 0 18px;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.25;
  letter-spacing: -.025em;
  font-weight: 700;
  color: var(--ink);
}
.smart-copy .lead {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
  font-weight: 300;
}
.smart-copy ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.smart-copy ul li {
  position: relative;
  padding: 14px 0 14px 32px;
  color: #465872;
  font-size: 14.5px;
  line-height: 1.75;
  font-weight: 300;
  border-bottom: 1px solid #f1f5f9;
}
.smart-copy ul li:last-child { border-bottom: 0; }
.smart-copy ul li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e0f2fe, #f0f9ff);
  border: 1px solid #bae6fd;
}
.smart-copy ul li:after {
  content: "";
  position: absolute;
  left: 7px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22d3ee;
}
.smart-media {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 24px 80px rgba(0,0,0,.1),
    0 0 0 1px rgba(0,0,0,.04);
  background: #fff;
}
.smart-media img {
  display: block;
  width: 100%;
  height: auto;
}
.smart-media:after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255,255,255,.04) 0%, transparent 50%);
  pointer-events: none;
}

/* -------- 生命周期 -------- */
.lifecycle-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-bottom: 60px;
  position: relative;
}
.lifecycle-timeline:before {
  content: "";
  position: absolute;
  top: 28px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, #22d3ee, #3b82f6, #8b5cf6, #f59e0b);
  border-radius: 2px;
}
.lifecycle-stage {
  position: relative;
  text-align: center;
  padding: 0 16px;
}
.lifecycle-stage .stage-dot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #22d3ee;
  box-shadow: 0 4px 16px rgba(34,211,238,.2);
  font: 700 14px/1 Arial, sans-serif;
  color: var(--blue);
}
.lifecycle-stage:nth-child(2) .stage-dot { border-color: #3b82f6; color: #3b82f6; box-shadow: 0 4px 16px rgba(59,130,246,.2); }
.lifecycle-stage:nth-child(3) .stage-dot { border-color: #8b5cf6; color: #8b5cf6; box-shadow: 0 4px 16px rgba(139,92,246,.2); }
.lifecycle-stage:nth-child(4) .stage-dot { border-color: #f59e0b; color: #f59e0b; box-shadow: 0 4px 16px rgba(245,158,11,.2); }
.lifecycle-stage h4 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}
.lifecycle-stage p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
  font-weight: 300;
}
.lifecycle-figure {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.08), 0 0 0 1px rgba(0,0,0,.04);
}
.lifecycle-figure img {
  display: block;
  width: 100%;
  height: auto;
}

/* -------- 产品优势 -------- */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.adv-card {
  position: relative;
  padding: 36px 22px 32px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #eef2f7;
  box-shadow: 0 4px 24px rgba(0,0,0,.03);
  text-align: center;
  transition: all .35s cubic-bezier(.16,1,.3,1);
  overflow: hidden;
}
.adv-card:before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(34,211,238,.04) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .3s;
}
.adv-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,.08);
  border-color: rgba(34,211,238,.2);
}
.adv-card:hover:before { opacity: 1; }
.adv-card .adv-icon {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  margin: 0 auto 20px;
}
.adv-card .adv-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.adv-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}
.adv-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.75;
  font-weight: 300;
}

/* -------- CTA -------- */
.pd-cta {
  position: relative;
  padding: 120px 0;
  background: linear-gradient(160deg, #040d1f 0%, #0a2248 50%, #0d3a6e 100%);
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.pd-cta:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34,211,238,.08) 0%, transparent 60%);
  pointer-events: none;
}
.pd-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}
.pd-cta .eyebrow {
  display: inline-block;
  margin: 0 0 20px;
  color: #22d3ee;
  font: 600 11px/1.4 Arial, sans-serif;
  letter-spacing: .28em;
  text-transform: uppercase;
}
.pd-cta h2 {
  margin: 0 0 20px;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.3;
  letter-spacing: -.025em;
  font-weight: 700;
}
.pd-cta p {
  margin: 0 0 40px;
  color: rgba(255,255,255,.55);
  font-size: 15px;
  line-height: 1.85;
  font-weight: 300;
}
.pd-cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* -------- 响应式 -------- */
@media (max-width: 900px) {
  /* 手机端首屏不展示概念图，避免图文换行堆叠 */
  .hero-visual { display: none; }
}
@media (max-width: 1024px) {
  .hero-grid, .pos-hero .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .product-hero { min-height: auto; padding: 120px 0 56px; }
  .hero-specs { margin-top: 48px; grid-template-columns: repeat(4, 1fr); gap: 0; }
  .hero-specs div { padding: 0 10px; }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .func-grid { grid-template-columns: repeat(3, 1fr); }
  .adv-grid { grid-template-columns: repeat(3, 1fr); }
  .smart-feature,
  .smart-feature.reverse { grid-template-columns: 1fr; gap: 40px; }
  .smart-feature.reverse .smart-media { order: 0; }
  .smart-feature + .smart-feature { margin-top: 80px; }
  .lifecycle-timeline { grid-template-columns: repeat(4, 1fr); gap: 0; }
  .lifecycle-timeline:before { top: 24px; }
  .lifecycle-stage { padding: 0 10px; }
  .lifecycle-stage .stage-dot { width: 48px; height: 48px; font-size: 13px; margin-bottom: 16px; }
  .lifecycle-stage h4 { font-size: 15px; }
  .lifecycle-stage p { font-size: 12px; }
  .pd-section { padding: 90px 0; }
}

@media (max-width: 600px) {
  .product-hero { padding: 96px 0 44px; }
  .hero-copy h1 { font-size: 34px; }
  .hero-copy .hero-desc { font-size: 14px; }
  .hero-specs { margin-top: 28px; padding-top: 18px; grid-template-columns: 1fr 1fr; gap: 16px 0; }
  .hero-specs div { padding: 0 14px; }
  .hero-specs div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .hero-specs div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.12); padding-top: 16px; }
  .hero-specs strong { font-size: 13px; }
  .pd-section { padding: 70px 0; }
  .pd-heading { margin-bottom: 44px; }
  .pd-heading h2 { font-size: 26px; }
  .pd-heading p { font-size: 14px; }
  .audience-grid { grid-template-columns: 1fr; gap: 14px; }
  .audience-card { padding: 28px 22px; }
  .func-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .func-card { padding: 22px 16px; }
  .func-card h3 { font-size: 14px; }
  .func-card p { font-size: 12px; }
  .adv-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .adv-card { padding: 26px 16px; }
  .smart-feature + .smart-feature { margin-top: 60px; }
  .smart-copy h3 { font-size: 24px; }
  .smart-copy .lead { font-size: 14px; }
  .smart-copy ul li { font-size: 13px; padding-left: 28px; }
  .lifecycle-timeline { grid-template-columns: repeat(4, 1fr); gap: 0; margin-bottom: 40px; }
  .lifecycle-timeline:before { top: 18px; left: 12.5%; right: 12.5%; }
  .lifecycle-stage { padding: 0 4px; }
  .lifecycle-stage .stage-dot { width: 36px; height: 36px; border-width: 2px; font-size: 11px; margin: 0 auto 12px; }
  .lifecycle-stage h4 { font-size: 13.5px; margin-bottom: 6px; }
  .lifecycle-stage p { font-size: 10.5px; line-height: 1.6; }
  .pd-cta { padding: 80px 0; }
  .pd-cta h2 { font-size: 24px; }
}

/* ============ pos.html 专属 ============ */
/* 首屏纯色底，与概念图背景同色融合（色值按生成图取样微调） */
.pos-hero { background: #152644; }
/* pos 规格条：支付方式列按内容自适应不留空，其余三列均分 */
.pos-hero .hero-specs { grid-template-columns: 1fr 1fr auto 1fr; }
.pos-hero .hero-specs div:nth-child(3) { padding-right: 26px; }
/* 手机端 pos 规格条：四列均分，支付方式同样允许换行 */
@media (max-width: 1024px) {
  .pos-hero .hero-specs { grid-template-columns: repeat(4, 1fr); }
  .pos-hero .hero-specs div:nth-child(3) { padding-right: 10px; }
}
@media (max-width: 600px) {
  .pos-hero .hero-specs { grid-template-columns: 1fr 1fr; }
}
.pos-hero:before, .pos-hero:after { display: none; }
/* 副标题字号收敛，保证单行 */
.pos-hero .hero-copy h1 em { font-size: .55em; letter-spacing: -.02em; }
/* 概念图去框去浮动，边缘羽化与背景融合 */
.pos-hero .hero-grid { grid-template-columns: .9fr 1.1fr; gap: 40px; }
.hero-blend {
  display: block;
  width: 100%;
  max-width: 800px;
  height: auto;
  margin-left: auto;
  -webkit-mask-image: radial-gradient(115% 115% at 50% 50%, #000 60%, transparent 100%);
  mask-image: radial-gradient(115% 115% at 50% 50%, #000 60%, transparent 100%);
}
/* 手机端（含平板竖屏）特性文案居中 */
@media (max-width: 1024px) {
  .smart-copy { text-align: center; }
  .smart-copy .lead { max-width: 420px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 600px) {
  .smart-copy .lead { max-width: 340px; }
}
