/* 银联商务流量卡POS - 深松墨绿安套风样式表 */

:root {
  /* 主色：深松墨绿 */
  --ums-pine-ink: #1E3A2F;
  --ums-pine-ink-light: #2E4A3F;
  
  /* 辅助色：安青（安全可靠） */
  --safe-cyan: #06B6D4;
  --safe-cyan-light: #0DD3ED;
  --safe-cyan-dark: #0891B2;
  
  /* 点缀色：套金（无套路） */
  --trick-gold: #F59E0B;
  --trick-gold-light: #FBBF24;
  --trick-gold-dark: #D97706;
  
  /* 背景色 */
  --bg-page: #EDF2F0;
  --bg-white: #FFFFFF;
  --bg-card: #FFFFFF;
  
  /* 文字色 */
  --text-dark: #0A1510;
  --text-body: #334155;
  --text-light: #64748B;
  --text-muted: #94A3B8;
  
  /* 边框色 */
  --border-light: #E2E8F0;
  --border-pine: rgba(30, 58, 47, 0.2);
  
  /* 阴影 */
  --shadow-sm: 0 1px 2px rgba(10, 21, 16, 0.05);
  --shadow-md: 0 4px 6px rgba(10, 21, 16, 0.07), 0 2px 4px rgba(10, 21, 16, 0.06);
  --shadow-lg: 0 10px 15px rgba(10, 21, 16, 0.1), 0 4px 6px rgba(10, 21, 16, 0.05);
  --shadow-pine: 0 4px 20px rgba(30, 58, 47, 0.15);
  
  /* 字体 */
  --font-cn: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-number: 'DM Sans', var(--font-cn);
  
  /* 间距 */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  
  /* 圆角 */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  /* 过渡 */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
}

/* 重置样式 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-cn);
  background-color: var(--bg-page);
  color: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 容器 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* 导航栏 */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg-white);
  transition: box-shadow var(--transition-normal);
}

.navbar.scrolled {
  box-shadow: var(--shadow-pine);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  color: var(--ums-pine-ink);
  font-weight: 700;
  font-size: 1.25rem;
}

.navbar-logo svg {
  width: 36px;
  height: 36px;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  list-style: none;
}

.navbar-nav a {
  text-decoration: none;
  color: var(--text-body);
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
}

.navbar-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--safe-cyan);
  transition: width var(--transition-fast);
}

.navbar-nav a:hover,
.navbar-nav a.active {
  color: var(--ums-pine-ink);
}

.navbar-nav a:hover::after,
.navbar-nav a.active::after {
  width: 100%;
}

.navbar-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  background: var(--safe-cyan);
  color: var(--bg-white) !important;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.navbar-cta:hover {
  background: var(--safe-cyan-dark);
  transform: translateY(-1px);
}

.navbar-cta::after {
  display: none !important;
}

/* 汉堡菜单 */
.navbar-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
}

.navbar-hamburger span {
  width: 24px;
  height: 2px;
  background: var(--ums-pine-ink);
  transition: all var(--transition-fast);
}

.navbar-mobile {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: var(--bg-white);
  padding: var(--space-lg);
  box-shadow: var(--shadow-lg);
}

.navbar-mobile.active {
  display: block;
}

.navbar-mobile a {
  display: block;
  padding: var(--space-md) 0;
  color: var(--text-body);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid var(--border-light);
}

.navbar-mobile .navbar-cta {
  margin-top: var(--space-md);
  text-align: center;
  justify-content: center;
}

/* Hero区域 */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, var(--ums-pine-ink) 0%, var(--ums-pine-ink-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.03'%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: var(--space-sm);
  padding: 8px 16px;
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: 100px;
  color: var(--safe-cyan-light);
  font-size: 0.875rem;
  margin-bottom: var(--space-lg);
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--bg-white);
  line-height: 1.2;
  margin-bottom: var(--space-lg);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin-bottom: var(--space-xl);
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all var(--transition-fast);
}

.btn-primary {
  background: linear-gradient(135deg, var(--safe-cyan) 0%, var(--safe-cyan-dark) 100%);
  color: var(--bg-white);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(6, 182, 212, 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--bg-white);
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--bg-white);
}

.btn-gold {
  background: linear-gradient(135deg, var(--trick-gold) 0%, var(--trick-gold-dark) 100%);
  color: var(--bg-white);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.35);
}

/* 页面标题区 */
.page-hero {
  padding: 120px 0 60px;
  position: relative;
  overflow: hidden;
}

.page-hero.safe {
  background: linear-gradient(135deg, var(--safe-cyan-dark) 0%, var(--safe-cyan) 100%);
}

.page-hero.tricks {
  background: linear-gradient(135deg, var(--trick-gold-dark) 0%, var(--trick-gold) 100%);
}

.page-hero.pine {
  background: linear-gradient(135deg, var(--ums-pine-ink) 0%, var(--ums-pine-ink-light) 100%);
}

.page-hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--bg-white);
  margin-bottom: var(--space-md);
}

.page-hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
}

/* 板块通用 */
.section {
  padding: var(--space-3xl) 0;
}

.section-alt {
  background: var(--bg-white);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: var(--space-md);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
}

/* 安套板块 */
.antai-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.antai-image {
  background: linear-gradient(135deg, var(--ums-pine-ink-light) 0%, var(--ums-pine-ink) 100%);
  border-radius: var(--radius-xl);
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.antai-image::before {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  background: var(--safe-cyan);
  opacity: 0.1;
  border-radius: 50%;
  top: -50px;
  right: -50px;
}

.antai-image::after {
  content: '';
  position: absolute;
  width: 150px;
  height: 150px;
  background: var(--trick-gold);
  opacity: 0.1;
  border-radius: 50%;
  bottom: -30px;
  left: -30px;
}

.antai-image svg {
  width: 120px;
  height: 120px;
  color: var(--safe-cyan);
  opacity: 0.8;
}

.antai-content h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: var(--space-md);
}

.antai-content p {
  font-size: 1.125rem;
  color: var(--text-body);
  line-height: 1.8;
}

.antai-content .highlight {
  color: var(--safe-cyan);
  font-weight: 700;
}

/* 安全可靠卡片 */
.safe-cards {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-lg);
}

.safe-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

.safe-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.safe-card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--safe-cyan) 0%, var(--safe-cyan-dark) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
}

.safe-card-icon svg {
  width: 32px;
  height: 32px;
  color: var(--bg-white);
}

.safe-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: var(--space-sm);
}

.safe-card .number {
  font-family: var(--font-number);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--safe-cyan);
  margin-bottom: var(--space-sm);
}

.safe-card p {
  color: var(--text-light);
}

/* 无套路板块 */
.notricks-block {
  text-align: left;
  max-width: 700px;
}

.notricks-block h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: var(--space-lg);
}

.notricks-block h3 .gold {
  color: var(--trick-gold);
  font-weight: 800;
}

.notricks-list {
  list-style: none;
  margin-bottom: var(--space-xl);
}

.notricks-list li {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  font-size: 1.125rem;
  color: var(--text-body);
}

.notricks-list li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--trick-gold);
  color: var(--bg-white);
  border-radius: 50%;
  font-size: 0.875rem;
  font-weight: 700;
}

/* 对比表格 */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.compare-table th,
.compare-table td {
  padding: var(--space-md) var(--space-lg);
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

.compare-table th {
  background: var(--ums-pine-ink);
  color: var(--bg-white);
  font-weight: 600;
  font-size: 1rem;
}

.compare-table th:first-child {
  font-size: 1.125rem;
}

.compare-table tr:last-child td {
  border-bottom: none;
}

.compare-table tr:hover td {
  background: var(--bg-page);
}

.compare-table .check {
  color: var(--safe-cyan);
  font-weight: 700;
  font-size: 1.25rem;
}

.compare-table .cross {
  color: var(--text-muted);
  font-size: 1.25rem;
}

.compare-table .brand-highlight {
  background: linear-gradient(135deg, rgba(30, 58, 47, 0.05) 0%, rgba(46, 74, 63, 0.05) 100%);
  font-weight: 600;
  color: var(--ums-pine-ink);
}

/* 底部申请区 */
.cta-section {
  padding: var(--space-3xl) 0;
  background: linear-gradient(135deg, var(--ums-pine-ink) 0%, var(--ums-pine-ink-light) 100%);
  text-align: center;
}

.cta-section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--bg-white);
  margin-bottom: var(--space-md);
}

.cta-section h2 .cyan {
  color: var(--safe-cyan);
}

.cta-section p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-xl);
  font-size: 1.125rem;
}

/* 特色卡片 */
.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.feature-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-card.wide {
  grid-column: span 2;
}

.feature-card.colored {
  background: linear-gradient(135deg, var(--ums-pine-ink-light) 0%, var(--ums-pine-ink) 100%);
  color: var(--bg-white);
}

.feature-card.colored h3,
.feature-card.colored p {
  color: var(--bg-white);
}

.feature-card-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--safe-cyan) 0%, var(--safe-cyan-dark) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
}

.feature-card-icon svg {
  width: 28px;
  height: 28px;
  color: var(--bg-white);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: var(--space-sm);
}

.feature-card .number {
  font-family: var(--font-number);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--safe-cyan);
  margin-bottom: var(--space-sm);
}

.feature-card.colored .number {
  color: var(--safe-cyan-light);
}

.feature-card p {
  color: var(--text-light);
}

/* 承诺列表 */
.promise-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.promise-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--trick-gold);
}

.promise-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.promise-card h3 .icon {
  width: 24px;
  height: 24px;
  background: var(--trick-gold);
  color: var(--bg-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.promise-card p {
  color: var(--text-light);
  line-height: 1.7;
}

/* 费用透明框 */
.fee-box {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--trick-gold);
}

.fee-box h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: var(--space-xl);
  text-align: center;
}

.fee-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) 0;
  border-bottom: 1px dashed var(--border-light);
}

.fee-item:last-child {
  border-bottom: none;
}

.fee-item .label {
  color: var(--text-body);
  font-weight: 500;
}

.fee-item .value {
  font-family: var(--font-number);
  font-weight: 700;
  color: var(--trick-gold);
  font-size: 1.25rem;
}

.fee-item.total {
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 2px solid var(--ums-pine-ink);
  border-bottom: none;
}

.fee-item.total .label {
  font-size: 1.125rem;
  color: var(--text-dark);
}

.fee-item.total .value {
  font-size: 1.75rem;
}

/* FAQ手风琴 */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg);
  cursor: pointer;
  font-weight: 600;
  color: var(--text-dark);
  transition: all var(--transition-fast);
}

.faq-question:hover {
  color: var(--ums-pine-ink);
}

.faq-question svg {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 var(--space-lg) var(--space-lg);
  color: var(--text-light);
  line-height: 1.7;
}

/* 页脚 */
.footer {
  background: linear-gradient(180deg, var(--ums-pine-ink) 0%, var(--ums-pine-ink-light) 100%);
  color: var(--bg-white);
  padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-xl);
}

.footer h4 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: var(--space-lg);
  color: var(--bg-white);
}

.footer p,
.footer a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9375rem;
  line-height: 1.8;
  text-decoration: none;
}

.footer a:hover {
  color: var(--safe-cyan);
}

.footer-bottom {
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

/* 响应式设计 */
@media (max-width: 1024px) {
  .antai-block {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  
  .antai-image {
    order: -1;
    height: 300px;
  }
  
  .safe-cards {
    grid-template-columns: 1fr;
  }
  
  .feature-cards {
    grid-template-columns: 1fr 1fr;
  }
  
  .feature-card.wide {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  .navbar-nav {
    display: none;
  }
  
  .navbar-hamburger {
    display: flex;
  }
  
  .hero {
    padding: 120px 0 60px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .page-hero {
    padding: 100px 0 50px;
  }
  
  .page-hero-title {
    font-size: 1.75rem;
  }
  
  .section {
    padding: var(--space-2xl) 0;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .safe-cards {
    grid-template-columns: 1fr;
  }
  
  .safe-card .number {
    font-size: 2rem;
  }
  
  .feature-cards,
  .promise-cards {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  
  .compare-table th,
  .compare-table td {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.875rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
  }
}

/* 移动端导航 */
@media (max-width: 768px) {
  .navbar-mobile {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg-white);
    padding: var(--space-lg);
    box-shadow: var(--shadow-lg);
    z-index: 999;
  }
  
  .navbar-mobile.active {
    display: block;
  }
  
  .navbar-mobile a {
    display: block;
    padding: var(--space-md) 0;
    color: var(--text-body);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid var(--border-light);
  }
}

/* 动画 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 0.6s ease forwards;
}

/* 辅助类 */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.font-bold { font-weight: 700; }
.text-pine { color: var(--ums-pine-ink); }
.text-cyan { color: var(--safe-cyan); }
.text-gold { color: var(--trick-gold); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
