/* 外贸AI客服 · company-pc2 — 参考店播云式分区落地站，品牌绿取自 logo */
:root {
  --brand: #2f9e44;
  --brand-deep: #1b7a32;
  --brand-ink: #0f3d1c;
  --brand-soft: #e8f7eb;
  --brand-glow: rgba(47, 158, 68, 0.18);
  --text: #1a2420;
  --text-muted: #5a6b62;
  --line: #d5e3d9;
  --bg: #f4f8f5;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(15, 61, 28, 0.08);
  --radius: 18px;
  --max: 1160px;
  --font-display: "Syne", "Noto Sans SC", "PingFang SC", sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(213, 227, 217, 0.85);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--brand-ink);
  letter-spacing: 0.02em;
}

.brand-tag {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  padding: 8px 14px;
  font-size: 0.95rem;
  color: var(--text);
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}

.nav a:hover,
.nav a.is-active {
  background: var(--brand-soft);
  color: var(--brand-deep);
}

.header-cta {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
}

.header-cta .btn {
  white-space: nowrap;
  flex-shrink: 0;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.lang-switch select {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 8px;
  background: #fff;
  font: inherit;
  max-width: 118px;
}

.lang-switch-label {
  display: none;
}

.order-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.order-row-main {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.order-row-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.btn-sm {
  padding: 8px 12px !important;
  font-size: 0.85rem !important;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s, color 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: var(--white);
  box-shadow: 0 10px 28px var(--brand-glow);
}

.btn-outline {
  background: transparent;
  border-color: var(--brand);
  color: var(--brand-deep);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--brand-ink);
}

/* —— Hero —— */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(ellipse 90% 80% at 50% 35%, rgba(74, 168, 92, 0.55), transparent 62%),
    radial-gradient(ellipse 70% 60% at 85% 15%, rgba(126, 217, 143, 0.28), transparent 50%),
    radial-gradient(ellipse 55% 45% at 8% 85%, rgba(15, 61, 28, 0.65), transparent 55%),
    linear-gradient(160deg, #0c3318 0%, #145c28 42%, #1f8a38 78%, #176b2c 100%);
}

.hero--home {
  /* 首页整块英雄区作为主视觉背景（替代轮播） */
  min-height: min(70vh, 520px);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.55;
  mask-image: radial-gradient(ellipse 85% 75% at 50% 40%, black 20%, transparent 78%);
}

.hero::after {
  background:
    radial-gradient(ellipse 50% 40% at 70% 30%, rgba(255, 255, 255, 0.08), transparent 70%);
  opacity: 0.9;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  min-height: min(66vh, 480px);
  padding: 8px 0 12px;
}

.hero--home .hero-inner {
  min-height: min(64vh, 460px);
  padding: 8px 0 12px;
}

.hero .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  background: transparent;
}

.hero .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.hero-kicker {
  display: inline-block;
  margin-bottom: 18px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.hero h1 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero-lead {
  margin: 0 0 28px;
  max-width: 36em;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-keywords span {
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-panel {
  justify-self: end;
  width: min(100%, 420px);
  padding: 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.hero-panel h2 {
  margin: 0 0 16px;
  font-size: 1.15rem;
  font-family: var(--font-display);
}

.hero-panel li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.95rem;
}

.hero-panel li::before {
  content: "✓";
  color: #b8f0c4;
  font-weight: 700;
}

/* —— Sections —— */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--white);
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.section-head h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: var(--brand-ink);
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.02rem;
}

.sell-bar {
  margin-top: -36px;
  position: relative;
  z-index: 2;
  padding-bottom: 20px;
}

.sell-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.sell-item {
  text-align: center;
  padding: 12px 8px;
}

.sell-item .ico {
  width: 44px;
  height: 44px;
  margin: 0 auto 10px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-size: 1.2rem;
  font-weight: 700;
}

.sell-item strong {
  display: block;
  font-size: 0.9rem;
  color: var(--brand-ink);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.feature {
  padding: 28px 26px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.feature:hover {
  transform: translateY(-4px);
  border-color: #a8d8b2;
  box-shadow: var(--shadow);
}

.feature .tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-deep);
  background: var(--brand-soft);
}

.feature h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  color: var(--brand-ink);
  font-family: var(--font-display);
}

.feature p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.scene-list {
  display: grid;
  gap: 16px;
}

.scene-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: center;
  padding: 22px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.scene-num {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(0.75rem, 2.4vw, 1.25rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-align: center;
  padding: 4px;
  box-sizing: border-box;
  overflow: hidden;
  white-space: nowrap;
  color: var(--brand-deep);
  background: linear-gradient(160deg, #effaf1, #d6f0dc);
}

.scene-item h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
}

.scene-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.compare-card {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.compare-card.old {
  background: #f7f7f7;
}

.compare-card.new {
  background: linear-gradient(160deg, #f2fbf4, #ffffff);
  border-color: #9fd4aa;
  box-shadow: var(--shadow);
}

.compare-card h3 {
  margin: 0 0 16px;
  font-family: var(--font-display);
}

.compare-card li {
  padding: 8px 0 8px 22px;
  position: relative;
  color: var(--text-muted);
}

.compare-card.old li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: #999;
}

.compare-card.new li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 700;
}

.faq details {
  margin-bottom: 12px;
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--brand-ink);
}

.faq details p {
  margin: 12px 0 0;
  color: var(--text-muted);
}

.cta-band {
  position: relative;
  overflow: hidden;
  padding: 64px 0;
  color: var(--white);
  background: linear-gradient(120deg, var(--brand-ink), var(--brand-deep) 55%, var(--brand));
  text-align: center;
}

.cta-band h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.cta-band p {
  margin: 0 0 24px;
  opacity: 0.92;
}

.cta-band .hero-actions {
  justify-content: center;
  margin: 0;
}

/* —— Page hero (inner pages) —— */
.page-hero {
  padding: 56px 0 40px;
  background:
    radial-gradient(ellipse at 90% 0%, rgba(47, 158, 68, 0.12), transparent 45%),
    linear-gradient(180deg, #eef8f0 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}

.page-hero-inner {
  max-width: var(--max);
}

.page-hero--price .page-hero-inner {
  text-align: left;
}

.page-hero h1 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  color: var(--brand-ink);
  line-height: 1.25;
  letter-spacing: 0;
}

.page-hero p {
  margin: 0;
  max-width: 40em;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.page-hero .contact-pill {
  margin-top: 16px;
}

.breadcrumb {
  margin-bottom: 14px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--brand-deep);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.price-card {
  position: relative;
  overflow: hidden;
  padding: 28px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border-color: var(--brand);
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

/* 右上角斜角推荐标 */
.price-card .rec-ribbon {
  position: absolute;
  top: 18px;
  right: -36px;
  z-index: 2;
  width: 128px;
  padding: 6px 0;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #fff;
  background: linear-gradient(135deg, #2f9e44, #1b7a32);
  box-shadow: 0 4px 12px rgba(27, 122, 50, 0.35);
  transform: rotate(45deg);
  pointer-events: none;
}

.price-card h3 {
  margin: 0 0 8px;
  padding-right: 48px;
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-ink);
  letter-spacing: 0;
  line-height: 1.35;
}

.price-card .price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 6px;
  margin: 8px 0 16px;
  color: var(--brand-deep);
  font-family: var(--font-body);
  letter-spacing: 0;
  line-height: 1.2;
}

.price-card .price-currency {
  font-size: 1.15rem;
  font-weight: 700;
}

.price-card .price-num {
  font-size: 2rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  font-stretch: normal;
  transform: none;
}

.price-card .price-num--consult {
  font-size: 1.45rem;
}

.price-card .price-suffix,
.price-card .price small {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

.price-card ul {
  flex: 1;
  margin-bottom: 20px;
}

.price-card li {
  padding: 7px 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  border-top: 1px dashed var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
}

.contact-card,
.form-card {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.form-card label {
  display: block;
  margin: 0 0 6px;
  font-size: 0.9rem;
  font-weight: 600;
}

.form-card input,
.form-card textarea,
.form-card select {
  width: 100%;
  margin-bottom: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font: inherit;
  background: #fafcfb;
}

.form-card textarea {
  min-height: 120px;
  resize: vertical;
}

.form-note {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* —— Footer —— */
.site-footer {
  background: #0c2414;
  color: rgba(255, 255, 255, 0.82);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 28px 36px;
  margin-bottom: 36px;
  align-items: start;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px 24px;
}

.footer-brand {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.footer-brand img {
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 10px;
  padding: 4px;
}

.footer-brand strong {
  display: block;
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.footer-brand p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
}

.footer-col h4 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 0.95rem;
}

.footer-col a {
  display: block;
  padding: 5px 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
}

.footer-col a:hover {
  color: #b8f0c4;
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

/* —— Float dock —— */
.float-dock {
  position: fixed;
  right: 18px;
  bottom: 24px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.float-dock a {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--white);
  color: var(--brand-deep);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.15;
}

.float-dock a.top {
  background: var(--brand);
  color: #fff;
  border-color: transparent;
}

.seo-block {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.prose h2 {
  margin: 1.6em 0 0.6em;
  font-family: var(--font-display);
  color: var(--brand-ink);
}

.prose p {
  color: var(--text-muted);
}

.prose ul {
  list-style: disc;
  padding-left: 1.2em;
  color: var(--text-muted);
}

.prose li {
  margin: 6px 0;
}

/* —— Motion —— */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-copy,
.hero-panel {
  animation: rise 0.7s ease both;
}

.hero-panel {
  animation-delay: 0.12s;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* —— Responsive —— */
@media (max-width: 960px) {
  .hero-inner,
  .grid-3,
  .price-grid,
  .contact-grid,
  .compare {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* 手机端：产品 / 服务 / 支持 一行三栏 */
  .footer-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px 10px;
  }

  .footer-col h4 {
    margin-bottom: 10px;
    font-size: 0.9rem;
  }

  .footer-col a {
    padding: 4px 0;
    font-size: 0.8rem;
    line-height: 1.45;
    word-break: break-word;
  }

  .footer-brand p {
    font-size: 0.84rem;
  }

  .sell-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .price-card.featured {
    transform: none;
  }

  .nav {
    display: none;
    position: absolute;
    left: 20px;
    right: 20px;
    top: 72px;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: flex;
  }

  .menu-toggle {
    display: inline-block;
  }

  .header-cta .btn-outline {
    display: none;
  }
}

@media (max-width: 560px) {
  .sell-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-inner {
    padding: 28px 0 36px;
    min-height: auto;
  }

  .footer-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 8px;
  }

  .footer-col h4 {
    font-size: 0.85rem;
  }

  .footer-col a {
    font-size: 0.75rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 6px;
  }

  .float-dock {
    right: 12px;
    bottom: 12px;
  }
}

/* 页面数据加载动画 */
.page-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 48px 16px;
  min-height: 120px;
  color: var(--text-muted);
  text-align: center;
}

.page-loading-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--line);
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: page-spin 0.7s linear infinite;
}

.page-loading-text {
  margin: 0;
  font-size: 0.95rem;
}

@keyframes page-spin {
  to {
    transform: rotate(360deg);
  }
}

.page-loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(244, 248, 245, 0.72);
  backdrop-filter: blur(2px);
}
