/* ============================================
   联动优势移动POS - 青柠绿主题样式
   ============================================ */

/* ===== CSS变量 ===== */
:root {
  --lime: #84CC16;
  --lime-dark: #65A30D;
  --lime-deep: #1A2E05;
  --lime-deeper: #0F1A03;
  --blue: #3B82F6;
  --blue-light: #EFF6FF;
  --gold: #F59E0B;
  --gold-light: #FFFBEB;
  --bg-white: #FFFFFF;
  --bg-page: #F7FEE7;
  --bg-light: #ECFCCB;
  --text-dark: #1A2E05;
  --text-body: #334155;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --border: #E5E7EB;
  --card-shadow: 0 2px 8px rgba(132,204,22,0.08);
  --shadow-md: 0 8px 24px rgba(132,204,22,0.12);
  --shadow-lg: 0 12px 40px rgba(132,204,22,0.15);
  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 16px;
  --transition: all 0.3s ease;
}

/* ===== 基础样式 ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
  background-color: var(--bg-page);
  overflow-x: hidden;
}

a {
  color: var(--lime-dark);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--lime);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== 导航栏 ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  background: rgba(255,255,255,0.98);
  z-index: 1000;
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(132,204,22,0.12);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
  color: var(--lime);
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--lime), var(--lime-dark));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-family: 'Barlow', sans-serif;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-body);
  font-weight: 500;
  padding: 8px 0;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--lime);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--lime);
}

.nav-cta {
  background: linear-gradient(135deg, var(--lime), var(--lime-dark));
  color: white !important;
  padding: 10px 24px !important;
  border-radius: var(--radius);
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(132,204,22,0.3);
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(132,204,22,0.4);
}

/* 汉堡菜单按钮 */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--lime);
  border-radius: 2px;
  transition: var(--transition);
}

/* 手机端导航 */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 20px;
    gap: 0;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }
  
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-links li {
    width: 100%;
  }
  
  .nav-links a {
    display: block;
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-dark);
  }
  
  .nav-links a:hover {
    color: var(--lime);
    background: var(--bg-light);
  }
}

/* ===== Hero区域 ===== */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--lime), var(--lime-deep));
  display: flex;
  align-items: center;
  padding-top: 70px;
  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");
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 20px;
}

.hero-badge {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 30px;
}

.badge-item {
  background: rgba(59, 130, 246, 0.2);
  color: white;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.3);
}

.hero h1 {
  font-size: 48px;
  font-weight: 800;
  color: white;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 50px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* GPS锁定动画区域 */
.gps-animation-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.gps-lock-animation {
  position: relative;
  width: 180px;
  height: 180px;
}

.gps-target {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 3px solid rgba(59, 130, 246, 0.8);
  border-radius: 4px;
  animation: gpsLock 3s ease-in-out infinite;
}

.gps-target:nth-child(1) {
  width: 160px;
  height: 160px;
  animation-delay: 0s;
}

.gps-target:nth-child(2) {
  width: 120px;
  height: 120px;
  animation-delay: 0.3s;
}

.gps-target:nth-child(3) {
  width: 80px;
  height: 80px;
  animation-delay: 0.6s;
}

.gps-target:nth-child(4) {
  width: 40px;
  height: 40px;
  animation-delay: 0.9s;
  border-color: var(--blue);
}

.gps-crosshair {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
}

.gps-crosshair::before,
.gps-crosshair::after {
  content: '';
  position: absolute;
  background: var(--blue);
}

.gps-crosshair::before {
  width: 2px;
  height: 100%;
  left: 50%;
  transform: translateX(-50%);
}

.gps-crosshair::after {
  width: 100%;
  height: 2px;
  top: 50%;
  transform: translateY(-50%);
}

@keyframes gpsLock {
  0% {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(0.8);
  }
}

.gps-status {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  animation: statusPop 3s ease-in-out infinite;
}

@keyframes statusPop {
  0%, 60% {
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
  }
  70%, 90% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(-10px);
  }
}

.discount-tag {
  background: linear-gradient(135deg, var(--gold), #F97316);
  color: white;
  padding: 20px 30px;
  border-radius: var(--radius-lg);
  font-size: 20px;
  font-weight: 700;
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.4);
  opacity: 0;
  transform: translateX(30px);
  animation: tagSlide 3s ease-in-out infinite;
}

@keyframes tagSlide {
  0%, 60% {
    opacity: 0;
    transform: translateX(30px);
  }
  70%, 90% {
    opacity: 1;
    transform: translateX(0);
  }
  100% {
    opacity: 0;
    transform: translateX(30px);
  }
}

.discount-tag span {
  display: block;
  font-size: 14px;
  font-weight: 400;
  margin-top: 5px;
  opacity: 0.9;
}

.gps-connection {
  text-align: center;
  color: rgba(255,255,255,0.7);
  font-size: 15px;
  margin-bottom: 40px;
}

.gps-connection strong {
  color: white;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), #F97316);
  color: var(--text-dark);
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(245, 158, 11, 0.4);
  color: var(--text-dark);
}

.btn-secondary {
  background: transparent;
  color: white;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 16px;
  border: 2px solid rgba(255,255,255,0.5);
  cursor: pointer;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
  color: white;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 32px;
  }
  
  .hero-subtitle {
    font-size: 16px;
  }
  
  .gps-animation-container {
    gap: 30px;
  }
}

/* ===== 通用区块 ===== */
.section {
  padding: 80px 0;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 16px;
  max-width: 700px;
  margin: 0 auto 50px;
}

.bg-white {
  background: var(--bg-white);
}

.bg-lime {
  background: linear-gradient(135deg, var(--lime), var(--lime-deep));
  color: white;
}

.bg-lime .section-title {
  color: white;
}

.bg-lime .section-subtitle {
  color: rgba(255,255,255,0.85);
}

/* ===== 青柠卡片 ===== */
.lime-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--card-shadow);
  border-top: 4px solid var(--lime);
  transition: var(--transition);
}

.lime-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.lime-card-blue {
  border-top-color: var(--blue);
  border-bottom: 2px solid var(--blue);
}

.lime-card-gold {
  border-top-color: var(--gold);
  border-bottom: 2px solid var(--gold);
}

/* ===== 3列网格 ===== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .grid-3,
  .grid-2,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* ===== 精准定位区块 ===== */
.feature-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--card-shadow);
  border-top: 3px solid var(--blue);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: var(--blue-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}

.feature-card h4 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.feature-card p {
  color: var(--text-muted);
  font-size: 15px;
}

/* ===== 新户立减卡片 ===== */
.discount-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--card-shadow);
  border-left: 4px solid var(--gold);
  transition: var(--transition);
}

.discount-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.discount-card .feature-icon {
  background: var(--gold-light);
}

.discount-emphasis {
  background: var(--bg-light);
  padding: 20px;
  border-radius: var(--radius);
  margin-top: 40px;
  text-align: center;
  color: var(--text-dark);
  font-weight: 500;
}

/* ===== 产品卡片 ===== */
.product-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  border-top: 4px solid var(--lime);
  border-bottom: 2px solid var(--blue);
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.product-image {
  height: 200px;
  background: linear-gradient(135deg, var(--bg-light), var(--bg-page));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
}

.product-info {
  padding: 24px;
}

.product-model {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-family: 'Barlow', sans-serif;
}

.product-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.product-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.tag-gps {
  background: var(--blue-light);
  color: var(--blue);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.tag-discount {
  background: var(--gold-light);
  color: var(--gold);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.product-features {
  list-style: none;
  margin-bottom: 20px;
}

.product-features li {
  padding: 6px 0;
  color: var(--text-muted);
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}

.product-features li:last-child {
  border-bottom: none;
}

.btn-lime {
  background: linear-gradient(135deg, var(--lime), var(--lime-dark));
  color: white;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  display: inline-block;
  text-align: center;
  width: 100%;
}

.btn-lime:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(132,204,22,0.4);
  color: white;
}

/* ===== 对比表格 ===== */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.comparison-table th,
.comparison-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.comparison-table th {
  background: var(--lime-deep);
  color: white;
  font-weight: 600;
  font-size: 14px;
}

.comparison-table td:first-child {
  font-weight: 600;
  color: var(--text-dark);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr:hover td {
  background: var(--bg-page);
}

.check-yes {
  color: var(--lime-dark);
  font-weight: 700;
}

.check-no {
  color: #EF4444;
  font-weight: 700;
}

.check-warn {
  color: var(--gold);
  font-weight: 700;
}

/* ===== 三方对比 ===== */
.tri-compare {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tri-compare-item {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--card-shadow);
  text-align: center;
  transition: var(--transition);
}

.tri-compare-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.tri-compare-item.highlight {
  border: 3px solid var(--lime);
  background: linear-gradient(to bottom, var(--bg-light), var(--bg-white));
}

.tri-compare-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}

.tri-compare-item:nth-child(1) .tri-compare-icon {
  background: #F3E8FF;
}

.tri-compare-item:nth-child(2) .tri-compare-icon {
  background: #CCFBF1;
}

.tri-compare-item:nth-child(3) .tri-compare-icon {
  background: var(--bg-light);
}

.tri-compare-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.tri-compare-list {
  list-style: none;
  text-align: left;
}

.tri-compare-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-body);
}

.tri-compare-list li:last-child {
  border-bottom: none;
}

@media (max-width: 768px) {
  .tri-compare {
    grid-template-columns: 1fr;
  }
}

/* ===== 理由网格 ===== */
.reason-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.reason-item {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--card-shadow);
  display: flex;
  gap: 20px;
  transition: var(--transition);
}

.reason-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.reason-number {
  font-size: 36px;
  font-weight: 800;
  color: var(--lime);
  font-family: 'Barlow', sans-serif;
  line-height: 1;
}

.reason-content h4 {
  font-size: 18px;
  margin-bottom: 8px;
}

.reason-content p {
  color: var(--text-muted);
  font-size: 14px;
}

@media (max-width: 768px) {
  .reason-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== CTA区域 ===== */
.cta-section {
  background: linear-gradient(135deg, var(--lime), var(--lime-deep));
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::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");
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  color: white;
  font-size: 32px;
  margin-bottom: 20px;
}

.cta-advantages {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.cta-advantage {
  color: rgba(255,255,255,0.9);
  font-size: 16px;
}

.cta-advantage strong {
  color: white;
}

/* ===== 表单 ===== */
.cta-form {
  max-width: 500px;
  margin: 0 auto;
  background: rgba(26, 46, 5, 0.3);
  padding: 30px;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
}

.form-group {
  margin-bottom: 16px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.1);
  color: white;
  font-size: 16px;
  font-family: inherit;
  transition: var(--transition);
}

.form-group input::placeholder {
  color: rgba(255,255,255,0.6);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--lime);
  background: rgba(255,255,255,0.15);
}

.form-group select option {
  color: var(--text-dark);
}

.btn-submit {
  background: linear-gradient(135deg, var(--gold), #F97316);
  color: var(--text-dark);
  padding: 16px 32px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(245, 158, 11, 0.5);
}

.cta-tips {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  color: rgba(255,255,255,0.7);
  font-size: 13px;
}

/* ===== FAQ手风琴 ===== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-white);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.faq-question {
  padding: 20px 24px;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--lime);
}

.faq-icon {
  transition: var(--transition);
  font-size: 20px;
  color: var(--lime);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  padding: 0 24px 20px;
  max-height: 500px;
}

/* ===== 计算器 ===== */
.calculator {
  background: var(--bg-white);
  border: 3px solid var(--lime);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 600px;
  margin: 0 auto;
}

.calc-input-group {
  margin-bottom: 30px;
}

.calc-input-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.calc-input-group input {
  width: 100%;
  padding: 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 18px;
  font-family: 'Barlow', sans-serif;
  transition: var(--transition);
}

.calc-input-group input:focus {
  outline: none;
  border-color: var(--lime);
}

.calc-results {
  background: var(--bg-page);
  border-radius: var(--radius);
  padding: 24px;
}

.calc-result-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.calc-result-item:last-child {
  border-bottom: none;
}

.calc-result-label {
  color: var(--text-muted);
}

.calc-result-value {
  font-weight: 700;
  font-family: 'Barlow', sans-serif;
  font-size: 18px;
}

.calc-savings {
  color: var(--lime-dark) !important;
}

.calc-tag {
  background: var(--bg-light);
  padding: 12px;
  border-radius: var(--radius);
  margin-top: 20px;
  text-align: center;
  color: var(--text-dark);
  font-weight: 500;
}

/* ===== 流程步骤 ===== */
.steps-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.step-item {
  text-align: center;
  flex: 1;
  min-width: 200px;
  max-width: 280px;
  position: relative;
}

.step-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 35px;
  right: -40px;
  width: 40px;
  height: 3px;
  background: var(--lime);
}

@media (max-width: 768px) {
  .step-item::after {
    display: none;
  }
}

.step-number {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--gold), #F97316);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  color: white;
  margin: 0 auto 20px;
  font-family: 'Barlow', sans-serif;
}

.step-icon {
  font-size: 24px;
  margin-bottom: 8px;
}

.step-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.step-desc {
  color: var(--text-muted);
  font-size: 14px;
}

/* ===== 资质展示 ===== */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cert-item {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: center;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
}

.cert-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.cert-icon {
  width: 80px;
  height: 80px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin: 0 auto 16px;
}

.cert-title {
  font-weight: 700;
  color: var(--text-dark);
}

@media (max-width: 768px) {
  .cert-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== 数据展示 ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.stat-item {
  text-align: center;
  padding: 30px;
}

.stat-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.stat-value {
  font-size: 32px;
  font-weight: 800;
  color: var(--lime);
  font-family: 'Barlow', sans-serif;
  margin-bottom: 8px;
}

.stat-label {
  color: var(--text-muted);
  font-size: 14px;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== 页脚 ===== */
.footer {
  background: linear-gradient(135deg, var(--lime), var(--lime-deep));
  color: white;
  padding: 60px 0 0;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 700;
}

.footer-logo .logo-icon {
  width: 48px;
  height: 48px;
  font-size: 20px;
}

.footer-slogan {
  color: rgba(255,255,255,0.85);
  font-size: 15px;
  line-height: 1.6;
}

.footer-links h4 {
  font-size: 18px;
  margin-bottom: 20px;
  color: white;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  transition: var(--transition);
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  background: var(--lime-deeper);
  padding: 20px;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
}

.footer-bottom a {
  color: rgba(255,255,255,0.7);
}

.footer-bottom a:hover {
  color: white;
}

@media (max-width: 768px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ===== 页面标题区 ===== */
.page-hero {
  background: linear-gradient(135deg, var(--lime), var(--lime-deep));
  padding: 120px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-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");
}

.page-hero h1 {
  color: white;
  font-size: 48px;
  font-weight: 800;
  position: relative;
  z-index: 1;
}

.page-hero p {
  color: rgba(255,255,255,0.85);
  font-size: 18px;
  margin-top: 16px;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .page-hero {
    padding: 100px 0 60px;
  }
  
  .page-hero h1 {
    font-size: 36px;
  }
}

/* ===== 品牌介绍 ===== */
.brand-intro {
  background: var(--bg-white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  margin-bottom: 40px;
}

.brand-intro p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-body);
}

/* ===== 链接按钮 ===== */
.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--lime);
  font-weight: 600;
  transition: var(--transition);
}

.link-btn:hover {
  color: var(--lime-dark);
  gap: 12px;
}

/* ===== 滚动动画 ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== 产品对比详情 ===== */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

@media (max-width: 768px) {
  .product-detail {
    grid-template-columns: 1fr;
  }
}

.product-specs {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--card-shadow);
}

.product-specs h4 {
  margin-bottom: 20px;
  color: var(--text-dark);
}

.spec-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.spec-item:last-child {
  border-bottom: none;
}

.spec-label {
  color: var(--text-muted);
}

.spec-value {
  font-weight: 600;
  color: var(--text-dark);
}

/* ===== 强调文字 ===== */
.highlight-lime {
  color: var(--lime);
}

.highlight-blue {
  color: var(--blue);
}

.highlight-gold {
  color: var(--gold);
}

/* ===== 优势标签 ===== */
.advantage-tags {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 16px;
}

.advantage-tag {
  background: rgba(255,255,255,0.2);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
}

/* ===== 表单提示 ===== */
.form-note {
  text-align: center;
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  margin-top: 16px;
}

/* ===== 表格响应式 ===== */
@media (max-width: 768px) {
  .comparison-table {
    font-size: 13px;
  }
  
  .comparison-table th,
  .comparison-table td {
    padding: 12px 10px;
  }
}

/* ===== 区块间距调整 ===== */
.section + .section {
  border-top: 1px solid var(--border);
}

/* ===== 列表样式 ===== */
.feature-list {
  list-style: none;
}

.feature-list li {
  padding: 12px 0;
  padding-left: 30px;
  position: relative;
  border-bottom: 1px solid var(--border);
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--lime);
  font-weight: 700;
}

.feature-list li:last-child {
  border-bottom: none;
}

/* ===== 强调卡片 ===== */
.emphasis-card {
  background: linear-gradient(135deg, var(--bg-light), var(--bg-page));
  border: 2px solid var(--lime);
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: center;
  margin-top: 40px;
}

.emphasis-card p {
  font-size: 17px;
  color: var(--text-dark);
  font-weight: 500;
}

/* ===== 链接组 ===== */
.link-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap;
}

/* ===== 产品对比表格 ===== */
.detail-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.detail-table th,
.detail-table td {
  padding: 14px 16px;
  text-align: center;
  border: 1px solid var(--border);
}

.detail-table th {
  background: var(--bg-page);
  font-weight: 600;
}

.detail-table td:first-child {
  text-align: left;
  font-weight: 500;
}

@media (max-width: 768px) {
  .detail-table {
    font-size: 13px;
  }
  
  .detail-table th,
  .detail-table td {
    padding: 10px 8px;
  }
}
