/* ========================================
   联动优势移动POS - 深苔松墨批包风样式
   ======================================== */

/* CSS变量 */
:root {
  --ump-pine: #1E2A1A;
  --ump-pine-light: #2E3A2A;
  --approve-cyan: #06B6D4;
  --approve-cyan-light: #0891B2;
  --ship-green: #10B981;
  --ship-green-light: #059669;
  --bg-page: #E5EBE5;
  --bg-white: #FFFFFF;
  --text-dark: #080D08;
  --text-body: #334155;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: all 0.3s ease;
}

/* 基础重置 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
  background-color: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* 数字英文字体 */
.font-dm {
  font-family: 'DM Sans', 'Noto Sans SC', sans-serif;
}

/* ========================================
   导航栏
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg-white);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
  background: var(--bg-white);
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ump-pine);
  font-weight: 700;
  font-size: 20px;
}

.navbar-logo svg {
  width: 40px;
  height: 40px;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.navbar-nav a {
  color: var(--text-body);
  font-weight: 500;
  font-size: 15px;
  position: relative;
}

.navbar-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--approve-cyan);
  transition: var(--transition);
}

.navbar-nav a:hover::after,
.navbar-nav a.active::after {
  width: 100%;
}

.navbar-nav a:hover {
  color: var(--ump-pine);
}

.navbar-cta {
  background: linear-gradient(135deg, var(--ump-pine) 0%, var(--ump-pine-light) 100%);
  color: var(--bg-white);
  padding: 10px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
}

.navbar-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* 汉堡菜单 */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ump-pine);
  transition: var(--transition);
}

/* ========================================
   Hero区域
   ======================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  background: linear-gradient(160deg, var(--ump-pine) 0%, var(--ump-pine-light) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(6, 182, 212, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  max-width: 800px;
  position: relative;
  z-index: 1;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(6, 182, 212, 0.15);
  color: var(--approve-cyan);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
  animation: fadeInDown 0.8s ease;
}

.hero-title {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 700;
  color: var(--bg-white);
  line-height: 1.2;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
  font-size: clamp(18px, 2.5vw, 22px);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.btn-primary {
  background: linear-gradient(135deg, var(--approve-cyan) 0%, var(--approve-cyan-light) 100%);
  color: var(--bg-white);
  padding: 16px 40px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(6, 182, 212, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--bg-white);
  padding: 16px 40px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: var(--transition);
}

.btn-secondary:hover {
  border-color: var(--bg-white);
  background: rgba(255, 255, 255, 0.1);
}

/* Hero 变体 - 批青背景 */
.hero-approve {
  background: linear-gradient(160deg, var(--ump-pine) 0%, var(--approve-cyan-light) 100%);
  min-height: 60vh;
}

.hero-approve::before {
  background: radial-gradient(ellipse at 70% 30%, rgba(6, 182, 212, 0.25) 0%, transparent 50%);
}

/* Hero 变体 - 包绿背景 */
.hero-shipping {
  background: linear-gradient(160deg, var(--ump-pine) 0%, var(--ship-green-light) 100%);
  min-height: 60vh;
}

.hero-shipping::before {
  background: radial-gradient(ellipse at 70% 30%, rgba(16, 185, 129, 0.25) 0%, transparent 50%);
}

/* 页面标题 */
.page-hero {
  min-height: 50vh;
  padding: 140px 24px 60px;
}

.page-hero .hero-tag {
  background: rgba(255, 255, 255, 0.15);
  color: var(--bg-white);
}

.page-hero .hero-title {
  font-size: clamp(32px, 5vw, 48px);
}

/* ========================================
   区块通用样式
   ======================================== */
.section {
  padding: 80px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  color: var(--ump-pine);
  text-align: center;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}

/* ========================================
   批包板块
   ======================================== */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.feature-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.feature-content h2 {
  font-size: clamp(28px, 3vw, 36px);
  color: var(--ump-pine);
  margin-bottom: 20px;
  line-height: 1.3;
}

.feature-content p {
  font-size: 18px;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 24px;
}

.highlight {
  color: var(--approve-cyan);
  font-weight: 700;
}

/* ========================================
   快速审批板块
   ======================================== */
.approve-cards {
  display: grid;
  grid-template-columns: 55% 43%;
  gap: 24px;
  padding: 80px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.approve-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.approve-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.approve-card .card-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--approve-cyan) 0%, var(--approve-cyan-light) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.approve-card .card-icon svg {
  width: 28px;
  height: 28px;
  color: var(--bg-white);
}

.approve-card h3 {
  font-size: 22px;
  color: var(--ump-pine);
  margin-bottom: 12px;
}

.approve-card p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.stat-number {
  font-size: 48px;
  font-weight: 700;
  color: var(--approve-cyan);
  line-height: 1;
}

.stat-label {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ========================================
   包邮板块
   ======================================== */
.shipping-section {
  padding: 80px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.shipping-header {
  margin-bottom: 48px;
}

.shipping-header h2 {
  font-size: clamp(28px, 4vw, 36px);
  color: var(--ump-pine);
  margin-bottom: 12px;
}

.shipping-header h2 .highlight-green {
  color: var(--ship-green);
  font-weight: 700;
}

.shipping-header p {
  font-size: 18px;
  color: var(--text-body);
}

.shipping-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.shipping-feature {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.shipping-feature:hover {
  box-shadow: var(--shadow-md);
}

.feature-num {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--ship-green) 0%, var(--ship-green-light) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-white);
  font-weight: 700;
  font-size: 20px;
}

.feature-text h4 {
  font-size: 18px;
  color: var(--ump-pine);
  margin-bottom: 4px;
}

.feature-text p {
  font-size: 15px;
  color: var(--text-muted);
}

.btn-free {
  background: linear-gradient(135deg, var(--ship-green) 0%, var(--ship-green-light) 100%);
  color: var(--bg-white);
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-free:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.35);
}

/* ========================================
   对比表格
   ======================================== */
.compare-section {
  padding: 80px 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.compare-table {
  width: 100%;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.compare-table th,
.compare-table td {
  padding: 20px 24px;
  text-align: left;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.compare-table th {
  background: var(--ump-pine);
  color: var(--bg-white);
  font-weight: 600;
  font-size: 15px;
}

.compare-table th:first-child {
  font-size: 18px;
}

.compare-table tr:last-child td {
  border-bottom: none;
}

.compare-table td {
  font-size: 15px;
  color: var(--text-body);
}

.check-icon {
  color: var(--ship-green);
  font-weight: 700;
  font-size: 18px;
}

.x-icon {
  color: var(--text-light);
  font-size: 16px;
}

/* 三方对比表格 */
.compare-three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.compare-col {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.compare-col.highlight-col {
  background: linear-gradient(135deg, var(--ump-pine) 0%, var(--ump-pine-light) 100%);
  color: var(--bg-white);
  transform: scale(1.02);
}

.compare-col h4 {
  font-size: 18px;
  margin-bottom: 8px;
}

.compare-col .time {
  font-size: 36px;
  font-weight: 700;
  margin: 16px 0;
}

.compare-col.highlight-col .time {
  color: var(--approve-cyan);
}

.compare-col:not(.highlight-col) .time {
  color: var(--ump-pine);
}

.compare-col p {
  font-size: 14px;
  opacity: 0.8;
}

/* ========================================
   FAQ手风琴
   ======================================== */
.faq-section {
  padding: 80px 24px;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--ump-pine);
  text-align: left;
  transition: var(--transition);
}

.faq-question:hover {
  background: rgba(30, 42, 26, 0.03);
}

.faq-icon {
  width: 24px;
  height: 24px;
  transition: var(--transition);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-content {
  padding: 0 24px 20px;
  color: var(--text-body);
  font-size: 15px;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

/* ========================================
   底部申请区
   ======================================== */
.cta-section {
  background: linear-gradient(160deg, var(--ump-pine) 0%, var(--ump-pine-light) 100%);
  padding: 80px 24px;
  text-align: center;
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: clamp(26px, 4vw, 32px);
  color: var(--bg-white);
  margin-bottom: 16px;
}

.cta-content h2 .highlight-cyan {
  color: var(--approve-cyan);
  font-weight: 700;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
  font-size: 18px;
}

/* ========================================
   包邮说明框
   ======================================== */
.shipping-note {
  background: rgba(16, 185, 129, 0.08);
  border: 2px solid var(--ship-green);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-top: 48px;
}

.shipping-note h3 {
  font-size: 20px;
  color: var(--ump-pine);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.shipping-note .price {
  font-size: 48px;
  font-weight: 700;
  color: var(--ship-green);
  margin: 16px 0;
}

.shipping-note p {
  color: var(--text-body);
  font-size: 15px;
}

/* ========================================
   页脚
   ======================================== */
.footer {
  background: linear-gradient(180deg, var(--ump-pine) 0%, var(--ump-pine-light) 100%);
  color: var(--bg-white);
  padding: 60px 24px 30px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.footer-brand h3 {
  font-size: 22px;
  margin-bottom: 16px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  line-height: 1.7;
}

.footer-links h4 {
  font-size: 16px;
  margin-bottom: 16px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--bg-white);
}

.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   动画
   ======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   响应式设计
   ======================================== */
@media (max-width: 1024px) {
  .feature-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .approve-cards {
    grid-template-columns: 1fr;
  }
  
  .compare-three {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .navbar-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg-white);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }
  
  .navbar-nav.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  
  .hero {
    min-height: auto;
    padding: 100px 24px 60px;
  }
  
  .page-hero {
    min-height: auto;
    padding: 100px 24px 50px;
  }
  
  .section {
    padding: 60px 20px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .shipping-feature {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 16px;
  }
  
  .compare-table {
    font-size: 13px;
  }
  
  .compare-table th,
  .compare-table td {
    padding: 14px 12px;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }
  
  .cta-content .btn-primary {
    width: auto;
  }
}

/* ========================================
   移动端优化
   ======================================== */
@media (max-width: 375px) {
  .hero-title {
    font-size: 28px;
  }
  
  .section-title {
    font-size: 24px;
  }
  
  .stat-number {
    font-size: 36px;
  }
}
