/* 海科融通流量卡POS - 深蓝蓝快审包邮风 CSS */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Sans+SC:wght@300;400;500;600;700&display=swap');

:root {
  /* 品牌主色 - 深蓝蓝快审包邮风 */
  --haike-blue: #1D4ED8;
  --haike-blue-light: #2563EB;
  --haike-blue-dark: #1E40AF;
  
  /* 快审金 - 快速审批 */
  --quick-gold: #F59E0B;
  --quick-gold-light: #FBBF24;
  --quick-gold-dark: #D97706;
  
  /* 包邮绿 - 包邮 */
  --shipping-green: #10B981;
  --shipping-green-light: #34D399;
  --shipping-green-dark: #059669;
  
  /* 背景色 */
  --bg-page: #EFF6FF;
  --bg-white: #FFFFFF;
  --bg-light: #F8FAFC;
  
  /* 文字色 */
  --text-dark: #1D4ED8;
  --text-body: #334155;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  
  /* 四品牌对比色 */
  --brand-huifu: #1E3A8A;
  --brand-jialian: #0F766E;
  --brand-lakala: #854D0E;
  
  /* 阴影 */
  --shadow-sm: 0 1px 2px 0 rgba(29, 78, 216, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(29, 78, 216, 0.1), 0 2px 4px -2px rgba(29, 78, 216, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(29, 78, 216, 0.1), 0 4px 6px -4px rgba(29, 78, 216, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(29, 78, 216, 0.1), 0 8px 10px -6px rgba(29, 78, 216, 0.1);
  
  /* 圆角 */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  /* 过渡 */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* 重置与基础样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans SC', 'DM Sans', -apple-system, BlinkMacSystemFont, 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;
}

/* 容器 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 导航栏 */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  background: var(--bg-white);
  z-index: 1000;
  transition: box-shadow var(--transition-normal);
}

.navbar.scrolled {
  box-shadow: var(--shadow-lg);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.navbar-logo {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--haike-blue), var(--haike-blue-light));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 18px;
}

.navbar-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--haike-blue);
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-body);
  text-decoration: none;
  padding: 8px 0;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--quick-gold);
  transition: width var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
  color: var(--haike-blue);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-cta {
  background: linear-gradient(135deg, var(--haike-blue), var(--haike-blue-light));
  color: white !important;
  padding: 10px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* 汉堡菜单 */
.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.navbar-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--haike-blue);
  transition: var(--transition-fast);
}

/* 移动端菜单 */
@media (max-width: 768px) {
  .navbar-toggle {
    display: flex;
  }
  
  .navbar-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg-white);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
  }
  
  .navbar-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
}

/* Hero 区域 */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, var(--haike-blue) 0%, var(--haike-blue-light) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 8px 16px;
  border-radius: 50px;
  color: white;
  font-size: 14px;
  margin-bottom: 24px;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  color: white;
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 24px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
}

/* 快审动画 + 包邮动画区域 */
.hero-animation {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin: 50px 0;
  flex-wrap: wrap;
}

.animation-box {
  width: 200px;
  height: 160px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.animation-icon {
  font-size: 48px;
  margin-bottom: 12px;
}

.animation-label {
  font-size: 20px;
  font-weight: 600;
  color: white;
}

.animation-plus {
  font-size: 36px;
  color: white;
  opacity: 0.7;
}

.animation-equals {
  font-size: 36px;
  color: var(--quick-gold);
  font-weight: 700;
}

/* 快审动画 */
.quick-animation {
  position: relative;
}

.quick-progress {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  margin-top: 12px;
  overflow: hidden;
}

.quick-progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--quick-gold), var(--quick-gold-light));
  border-radius: 4px;
  transition: width 1.5s ease-out;
}

.quick-animation.animating .quick-progress-bar {
  width: 100%;
}

/* 包邮动画 */
.shipping-animation {
  position: relative;
}

.shipping-icon {
  animation: none;
}

.shipping-animation.animating .shipping-icon {
  animation: packageFloat 1.5s ease-out;
}

@keyframes packageFloat {
  0% {
    transform: translateY(-30px) scale(0.5);
    opacity: 0;
  }
  50% {
    transform: translateY(0) scale(1.2);
    opacity: 1;
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-normal);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--shipping-green), var(--shipping-green-light));
  color: white;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background: white;
  color: var(--haike-blue);
}

/* 通用区块 */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--bg-white);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-muted);
}

/* 卡片网格 */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 992px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.card-gold::before {
  background: linear-gradient(90deg, var(--quick-gold), var(--quick-gold-light));
}

.card-blue::before {
  background: linear-gradient(90deg, var(--haike-blue), var(--haike-blue-light));
}

.card-green::before {
  background: linear-gradient(90deg, var(--shipping-green), var(--shipping-green-light));
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.card-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.card-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* 产品展示 */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}

.product-card {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-normal);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.product-image {
  height: 280px;
  background: linear-gradient(135deg, var(--haike-blue) 0%, var(--haike-blue-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 120px;
  color: white;
  position: relative;
  overflow: hidden;
}

.product-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--quick-gold);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.product-info {
  padding: 24px;
}

.product-name {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.product-desc {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.product-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.product-feature {
  background: var(--bg-page);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  color: var(--haike-blue);
  font-weight: 500;
}

.product-price {
  font-size: 28px;
  font-weight: 700;
  color: var(--shipping-green);
}

.product-price span {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
}

/* 理由列表 */
.reasons-list {
  max-width: 800px;
  margin: 0 auto;
}

.reason-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.reason-item:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-md);
}

.reason-number {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--haike-blue), var(--haike-blue-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
}

.reason-content h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.reason-content p {
  font-size: 15px;
  color: var(--text-muted);
}

/* 四品牌对比表 */
.brand-compare {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.brand-compare table {
  width: 100%;
  border-collapse: collapse;
}

.brand-compare th,
.brand-compare td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--bg-page);
}

.brand-compare th {
  background: var(--haike-blue);
  color: white;
  font-weight: 600;
  font-size: 15px;
}

.brand-compare tr:last-child td {
  border-bottom: none;
}

.brand-compare tr:hover td {
  background: var(--bg-page);
}

.brand-name {
  font-weight: 600;
  color: var(--text-dark);
}

.brand-haike {
  color: var(--haike-blue);
  font-weight: 700;
}

.brand-huifu {
  color: var(--brand-huifu);
}

.brand-jialian {
  color: var(--brand-jialian);
}

.brand-lakala {
  color: var(--brand-lakala);
}

.check-icon {
  color: var(--shipping-green);
  font-size: 18px;
}

.star-icon {
  color: var(--quick-gold);
  font-size: 18px;
}

/* 底部CTA */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--haike-blue) 0%, var(--haike-blue-light) 100%);
  text-align: center;
}

.cta-title {
  font-size: 36px;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
}

.cta-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
}

/* 页脚 */
.footer {
  background: linear-gradient(135deg, var(--haike-blue) 0%, var(--haike-blue-light) 100%);
  color: white;
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
  }
}

.footer-section h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
  color: white;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 10px;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-section a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

/* 快审Hero - 金色背景 */
.hero-quick {
  background: linear-gradient(135deg, var(--quick-gold) 0%, var(--quick-gold-dark) 100%);
}

.hero-quick .hero-badge {
  background: rgba(255, 255, 255, 0.2);
}

.hero-quick .hero-title {
  color: white;
}

.hero-quick .hero-subtitle {
  color: rgba(255, 255, 255, 0.95);
}

/* 包邮Hero - 绿色背景 */
.hero-shipping {
  background: linear-gradient(135deg, var(--shipping-green) 0%, var(--shipping-green-dark) 100%);
}

.hero-shipping .hero-badge {
  background: rgba(255, 255, 255, 0.2);
}

.hero-shipping .hero-title {
  color: white;
}

.hero-shipping .hero-subtitle {
  color: rgba(255, 255, 255, 0.95);
}

/* FAQ手风琴 */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-dark);
  transition: var(--transition-fast);
}

.faq-question:hover {
  color: var(--haike-blue);
}

.faq-icon {
  transition: transform var(--transition-fast);
  font-size: 20px;
  color: var(--haike-blue);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer-content {
  padding: 0 24px 20px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* 三方对比表 */
.compare-table {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.compare-table table {
  width: 100%;
  border-collapse: collapse;
}

.compare-table th,
.compare-table td {
  padding: 16px 20px;
  text-align: center;
  border-bottom: 1px solid var(--bg-page);
}

.compare-table th {
  background: var(--haike-blue);
  color: white;
  font-weight: 600;
}

.compare-table th:first-child {
  text-align: left;
}

.compare-table td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--text-dark);
}

.compare-table tr:last-child td {
  border-bottom: none;
}

.compare-table tr:hover td {
  background: var(--bg-page);
}

.cell-best {
  background: rgba(16, 185, 129, 0.1);
  color: var(--shipping-green);
  font-weight: 600;
}

.cell-good {
  color: var(--text-body);
}

.cell-poor {
  color: var(--text-muted);
}

/* 滚动渐入动画 */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 响应式调整 */
@media (max-width: 992px) {
  .hero-title {
    font-size: 36px;
  }
  
  .hero-subtitle {
    font-size: 20px;
  }
  
  .section-title {
    font-size: 30px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 120px 0 60px;
  }
  
  .hero-title {
    font-size: 28px;
  }
  
  .hero-subtitle {
    font-size: 18px;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 26px;
  }
  
  .hero-animation {
    gap: 20px;
  }
  
  .animation-box {
    width: 160px;
    height: 140px;
  }
}

/* 快审金快审效果 */
.quick-glow {
  animation: quickGlow 1.5s ease-in-out infinite alternate;
}

@keyframes quickGlow {
  from {
    text-shadow: 0 0 10px var(--quick-gold), 0 0 20px var(--quick-gold);
  }
  to {
    text-shadow: 0 0 20px var(--quick-gold), 0 0 40px var(--quick-gold);
  }
}

/* 闪光效果 */
.sparkle {
  display: inline-block;
  animation: sparkle 1s ease-in-out infinite;
}

@keyframes sparkle {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
}

/* 特色标签 */
.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
}

.feature-tag-gold {
  background: rgba(245, 158, 11, 0.15);
  color: var(--quick-gold);
}

.feature-tag-green {
  background: rgba(16, 185, 129, 0.15);
  color: var(--shipping-green);
}

.feature-tag-blue {
  background: rgba(29, 78, 216, 0.15);
  color: var(--haike-blue);
}
