/* ============================================
   海科融通 QFPOS 手刷MPOS 官网样式
   年轻活力风，靛蓝+玫红撞色
   ============================================ */

/* ============ CSS变量 ============ */
:root {
  --primary: #6366F1;
  --primary-dark: #4338CA;
  --primary-light: #818CF8;
  --rose: #F43F5E;
  --rose-dark: #E11D48;
  --rose-light: #FB7185;
  --teal: #14B8A6;
  --teal-dark: #0D9488;
  --bg-white: #FFFFFF;
  --bg-page: #FAFAFA;
  --bg-light: #EEF2FF;
  --text-dark: #1E1B4B;
  --text-body: #374151;
  --text-muted: #6B7280;
  --text-light: #A5B4FC;
  --border: #E5E7EB;
  --card-shadow: 0 4px 12px rgba(99,102,241,0.08);
  --shadow-sm: 0 2px 8px rgba(99,102,241,0.06);
  --shadow-md: 0 8px 24px rgba(99,102,241,0.12);
  --shadow-lg: 0 16px 40px rgba(99,102,241,0.16);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 50px;
  --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, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-dark);
}

/* ============ 公共组件 ============ */

/* 容器 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Pill按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-size: 16px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--rose) 0%, var(--rose-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(244,63,94,0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(244,63,94,0.5);
}

.btn-secondary {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 2px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.6);
}

.btn-white {
  background: #fff;
  color: var(--primary-dark);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

/* 大圆角卡片 */
.card {
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 32px;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* 撞色渐变背景 */
.gradient-clash {
  background: linear-gradient(135deg, var(--primary) 0%, var(--rose) 100%);
}

.gradient-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, var(--rose) 100%);
}

/* 章节标题 */
.section-title {
  font-size: 40px;
  font-weight: 900;
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}

/* 标签 */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--bg-light);
  color: var(--primary);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
}

.tag-rose {
  background: rgba(244,63,94,0.1);
  color: var(--rose);
}

.tag-teal {
  background: rgba(20,184,166,0.1);
  color: var(--teal);
}

/* ============ 导航栏 ============ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 66px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(99,102,241,0.08);
  z-index: 1000;
  transition: var(--transition);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 900;
  color: var(--primary-dark);
}

.navbar-logo svg {
  width: 36px;
  height: 36px;
}

.navbar-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.navbar-logo-text span:first-child {
  font-size: 18px;
  font-weight: 900;
}

.navbar-logo-text span:last-child {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 400;
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar-link {
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-body);
  border-radius: var(--radius-pill);
  transition: var(--transition);
}

.navbar-link:hover {
  color: var(--primary);
  background: var(--bg-light);
}

.navbar-link.active {
  color: var(--primary);
}

/* CTA按钮集成在导航中 */
.navbar-cta {
  background: linear-gradient(135deg, var(--rose) 0%, var(--rose-dark) 100%);
  color: #fff !important;
  padding: 10px 20px !important;
  box-shadow: 0 4px 12px rgba(244,63,94,0.3);
}

.navbar-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(244,63,94,0.4);
  background: linear-gradient(135deg, var(--rose) 0%, var(--rose-dark) 100%) !important;
}

/* 汉堡菜单按钮 */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  cursor: pointer;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* 手机端导航 */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  
  .navbar-menu {
    position: fixed;
    top: 66px;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 20px;
    gap: 8px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }
  
  .navbar-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .navbar-link {
    width: 100%;
    text-align: center;
    padding: 14px;
  }
  
  .navbar-cta {
    width: 100%;
    text-align: center;
  }
}

/* ============ 页脚 ============ */
.footer {
  background: var(--primary);
  color: #fff;
}

.footer-top {
  padding: 60px 0;
}

.footer-top .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 900;
}

.footer-logo svg {
  width: 40px;
  height: 40px;
}

.footer-slogan {
  font-size: 15px;
  opacity: 0.85;
  line-height: 1.7;
}

.footer-links h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 14px;
  opacity: 0.85;
  transition: var(--transition);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--rose-light);
}

.footer-bottom {
  background: var(--primary-dark);
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  opacity: 0.6;
  line-height: 1.8;
}

.footer-bottom a {
  opacity: 0.85;
}

.footer-bottom a:hover {
  opacity: 1;
}

@media (max-width: 768px) {
  .footer-top .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ============ 首页Hero区 ============ */
.hero {
  min-height: 100vh;
  padding: 120px 0 80px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 40%, var(--rose) 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(circle, rgba(244,63,94,0.15) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-pill);
  font-size: 14px;
  color: #fff;
  margin-bottom: 32px;
  animation: fadeInDown 0.8s ease;
}

.hero-title {
  font-size: 52px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-subtitle {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 40px;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-device {
  margin-top: 60px;
  display: flex;
  justify-content: center;
  animation: fadeInUp 0.8s ease 0.8s both;
}

.hero-device-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  border-radius: var(--radius);
  padding: 32px 48px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.2);
}

.hero-device-icon {
  font-size: 64px;
  margin-bottom: 16px;
}

.hero-device-text {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.hero-device-size {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin-top: 8px;
}

@media (max-width: 768px) {
  .hero {
    padding: 100px 0 60px;
  }
  
  .hero-title {
    font-size: 36px;
  }
  
  .hero-subtitle {
    font-size: 16px;
  }
  
  .hero-device-card {
    padding: 24px 32px;
  }
}

/* ============ 小巧便携展示区 ============ */
.section-portable {
  padding: 100px 0;
  background: var(--bg-page);
}

.portable-intro {
  text-align: center;
  margin-bottom: 60px;
}

.portable-comparison {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.comparison-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
}

.comparison-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.comparison-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.comparison-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.comparison-text {
  font-size: 14px;
  color: var(--text-muted);
}

.portable-quote {
  text-align: center;
  padding: 40px;
  background: linear-gradient(135deg, var(--bg-light) 0%, rgba(244,63,94,0.05) 100%);
  border-radius: var(--radius);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
}

@media (max-width: 768px) {
  .portable-comparison {
    grid-template-columns: 1fr;
  }
}

/* ============ 激活返现说明区 ============ */
.section-cashback-intro {
  padding: 100px 0;
  background: var(--bg-white);
}

.cashback-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.step-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  box-shadow: var(--card-shadow);
  border-top: 4px solid var(--primary);
  position: relative;
}

.step-number {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 900;
  margin: 0 auto 20px;
}

.step-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.step-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-text {
  font-size: 14px;
  color: var(--text-muted);
}

/* 返现档次 */
.tier-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.tier-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.tier-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.tier-card.tier-bronze {
  border-top: 4px solid #CD7F32;
}

.tier-card.tier-silver {
  border-top: 4px solid #C0C0C0;
}

.tier-card.tier-gold {
  border-top: 4px solid #FFD700;
  background: linear-gradient(180deg, rgba(255,215,0,0.05) 0%, var(--bg-white) 100%);
}

.tier-badge {
  font-size: 48px;
  margin-bottom: 16px;
}

.tier-name {
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 8px;
}

.tier-amount {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.tier-reward {
  font-size: 32px;
  font-weight: 900;
  color: var(--rose);
}

.tier-link {
  margin-top: 24px;
}

@media (max-width: 768px) {
  .cashback-steps,
  .tier-cards {
    grid-template-columns: 1fr;
  }
}

/* ============ 产品展示区 ============ */
.section-products {
  padding: 100px 0;
  background: var(--bg-page);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.product-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.product-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 24px;
  text-align: center;
  position: relative;
}

.product-icon {
  font-size: 56px;
  margin-bottom: 8px;
}

.product-name {
  font-size: 20px;
  font-weight: 900;
  color: #fff;
}

.product-model {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  margin-top: 4px;
}

.product-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--rose);
  color: #fff;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
}

.product-body {
  padding: 24px;
}

.product-features {
  margin-bottom: 24px;
}

.product-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.product-features li:last-child {
  border-bottom: none;
}

.product-features li::before {
  content: '✓';
  color: var(--teal);
  font-weight: 700;
}

.product-btn {
  width: 100%;
}

@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}

/* ============ 6宫格场景 ============ */
.section-scenarios {
  padding: 100px 0;
  background: var(--bg-white);
}

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.scenario-card {
  background: var(--bg-page);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
}

.scenario-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-md);
  background: var(--bg-white);
}

.scenario-icon {
  font-size: 36px;
  margin-bottom: 12px;
}

.scenario-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.scenario-desc {
  font-size: 13px;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .scenario-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============ 底部CTA申请区 ============ */
.section-cta {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 40%, var(--rose) 100%);
  position: relative;
  overflow: hidden;
}

.section-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 50%);
  pointer-events: none;
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: 40px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 40px;
}

.cta-form {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 40px;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full {
  grid-column: span 2;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  transition: var(--transition);
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.1);
}

.cta-form .btn {
  width: 100%;
}

.cta-hint {
  margin-top: 20px;
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .form-group.full {
    grid-column: span 1;
  }
  
  .cta-title {
    font-size: 28px;
  }
}

/* ============ 页面标题区 ============ */
.page-header {
  padding: 120px 0 60px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  text-align: center;
}

.page-header.rose {
  background: linear-gradient(135deg, var(--rose) 0%, var(--rose-dark) 100%);
}

.page-header h1 {
  font-size: 48px;
  color: #fff;
  margin-bottom: 16px;
}

.page-header p {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
}

/* ============ 尺寸详解区 ============ */
.section-specs {
  padding: 100px 0;
  background: var(--bg-page);
}

.spec-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.spec-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
}

.spec-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.spec-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.spec-value {
  font-size: 40px;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 8px;
}

.spec-label {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.spec-desc {
  font-size: 14px;
  color: var(--text-muted);
}

.spec-demo {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.spec-demo-item {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  box-shadow: var(--card-shadow);
}

.spec-demo-icon {
  font-size: 48px;
  margin-bottom: 12px;
}

.spec-demo-text {
  font-size: 16px;
  font-weight: 600;
}

@media (max-width: 768px) {
  .spec-cards,
  .spec-demo {
    grid-template-columns: 1fr;
  }
}

/* ============ 便携性对比 ============ */
.section-compare {
  padding: 100px 0;
  background: var(--bg-white);
}

.compare-table-wrapper {
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.compare-table th,
.compare-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.compare-table th {
  background: var(--bg-light);
  font-weight: 700;
  color: var(--text-dark);
}

.compare-table td {
  font-size: 14px;
}

.compare-table tr:last-child td {
  border-bottom: none;
}

.compare-table .highlight {
  color: var(--primary);
  font-weight: 700;
}

.compare-table .check {
  color: var(--teal);
  font-weight: 700;
}

.compare-conclusion {
  margin-top: 40px;
  padding: 32px;
  background: linear-gradient(135deg, var(--bg-light) 0%, rgba(20,184,166,0.08) 100%);
  border-radius: var(--radius);
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
}

/* ============ 产品详情 ============ */
.section-product-detail {
  padding: 100px 0;
  background: var(--bg-page);
}

.product-detail {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: start;
}

.product-detail-image {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  box-shadow: var(--card-shadow);
  position: sticky;
  top: 90px;
}

.product-detail-icon {
  font-size: 96px;
  margin-bottom: 16px;
}

.product-detail-name {
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 8px;
}

.product-detail-tag {
  display: inline-block;
  padding: 6px 14px;
  background: var(--bg-light);
  color: var(--primary);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
}

.product-detail-info h3 {
  font-size: 20px;
  margin-bottom: 16px;
}

.product-detail-info p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.detail-params {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--card-shadow);
}

.detail-params h4 {
  font-size: 16px;
  margin-bottom: 16px;
}

.detail-params ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.detail-params li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.detail-params li::before {
  content: '✓';
  color: var(--teal);
  font-weight: 700;
}

.product-detail-for {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 24px;
}

.product-detail-for h4 {
  font-size: 14px;
  margin-bottom: 8px;
}

.product-detail-for p {
  margin-bottom: 0;
  color: var(--primary);
  font-weight: 600;
}

@media (max-width: 768px) {
  .product-detail {
    grid-template-columns: 1fr;
  }
  
  .product-detail-image {
    position: static;
  }
  
  .detail-params ul {
    grid-template-columns: 1fr;
  }
}

/* ============ 核心功能 ============ */
.section-features {
  padding: 100px 0;
  background: var(--bg-white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-page);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  background: var(--bg-white);
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.feature-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 14px;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============ 蓝牙连接 ============ */
.section-bluetooth {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-page) 100%);
}

.bluetooth-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.bluetooth-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 20%;
  right: 20%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--rose) 100%);
  border-radius: 2px;
  z-index: 0;
}

.bluetooth-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.bluetooth-step-icon {
  width: 80px;
  height: 80px;
  background: var(--bg-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin: 0 auto 20px;
  box-shadow: var(--shadow-md);
}

.bluetooth-step h4 {
  font-size: 18px;
  margin-bottom: 8px;
}

.bluetooth-step p {
  font-size: 14px;
  color: var(--text-muted);
}

.bluetooth-note {
  text-align: center;
  margin-top: 48px;
  padding: 24px;
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  font-size: 16px;
  font-weight: 600;
  color: var(--teal);
}

@media (max-width: 768px) {
  .bluetooth-steps {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .bluetooth-steps::before {
    display: none;
  }
}

/* ============ 返现规则详解 ============ */
.section-rules {
  padding: 100px 0;
  background: var(--bg-page);
}

.rules-intro {
  max-width: 700px;
  margin: 0 auto 60px;
  text-align: center;
  padding: 32px;
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
}

.rules-intro p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-body);
}

.rules-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}

.rule-step {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  box-shadow: var(--card-shadow);
  position: relative;
}

.rule-step::after {
  content: '→';
  position: absolute;
  right: -24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: var(--primary);
  font-weight: 900;
}

.rule-step:last-child::after {
  display: none;
}

.rule-step-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.rule-step h4 {
  font-size: 18px;
  margin-bottom: 8px;
}

.rule-step p {
  font-size: 14px;
  color: var(--text-muted);
}

.rules-note {
  text-align: center;
  padding: 20px;
  background: rgba(20,184,166,0.1);
  border-radius: var(--radius);
  color: var(--teal-dark);
  font-weight: 600;
}

@media (max-width: 768px) {
  .rules-flow {
    grid-template-columns: 1fr;
  }
  
  .rule-step::after {
    display: none;
  }
}

/* ============ 返现档次详情 ============ */
.section-tiers {
  padding: 100px 0;
  background: var(--bg-white);
}

.tiers-detail {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 700px;
  margin: 0 auto;
}

.tier-detail-card {
  background: var(--bg-page);
  border-radius: var(--radius);
  padding: 32px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
}

.tier-detail-card:hover {
  transform: translateX(8px);
}

.tier-detail-card.bronze {
  border-left: 6px solid #CD7F32;
}

.tier-detail-card.silver {
  border-left: 6px solid #C0C0C0;
}

.tier-detail-card.gold {
  border-left: 6px solid #FFD700;
  background: linear-gradient(90deg, rgba(255,215,0,0.08) 0%, var(--bg-page) 100%);
}

.tier-detail-icon {
  font-size: 56px;
}

.tier-detail-info h4 {
  font-size: 22px;
  margin-bottom: 8px;
}

.tier-detail-info p {
  color: var(--text-muted);
  font-size: 14px;
}

.tier-detail-reward {
  text-align: center;
}

.tier-detail-reward .amount {
  font-size: 36px;
  font-weight: 900;
  color: var(--rose);
}

.tier-detail-reward .label {
  font-size: 13px;
  color: var(--text-muted);
}

.tiers-note {
  text-align: center;
  margin-top: 32px;
  font-size: 14px;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .tier-detail-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* ============ 返现计算器 ============ */
.section-calculator {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--bg-light) 0%, rgba(244,63,94,0.05) 100%);
}

.calculator {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 48px;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.calculator h3 {
  font-size: 24px;
  margin-bottom: 32px;
}

.calculator-input {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.calculator-input input {
  flex: 1;
  min-width: 200px;
  padding: 16px 20px;
  border: 2px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 18px;
  text-align: center;
  font-weight: 700;
}

.calculator-input input:focus {
  outline: none;
  border-color: var(--primary);
}

.calculator-result {
  padding: 32px;
  background: var(--bg-page);
  border-radius: var(--radius);
  margin-bottom: 24px;
  display: none;
}

.calculator-result.show {
  display: block;
  animation: fadeIn 0.3s ease;
}

.calculator-result .amount-label {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.calculator-result .amount-value {
  font-size: 28px;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 16px;
}

.calculator-result .reward-amount {
  font-size: 48px;
  font-weight: 900;
  color: var(--rose);
  margin-bottom: 8px;
}

.calculator-result .reward-label {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.calculator-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 16px;
}

/* ============ 返现案例 ============ */
.section-cases {
  padding: 100px 0;
  background: var(--bg-white);
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.case-card {
  background: var(--bg-page);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.case-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.case-avatar {
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  font-weight: 700;
}

.case-info h4 {
  font-size: 16px;
  margin-bottom: 2px;
}

.case-info p {
  font-size: 13px;
  color: var(--text-muted);
}

.case-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.case-stat {
  text-align: center;
  padding: 12px;
  background: var(--bg-white);
  border-radius: var(--radius-sm);
}

.case-stat .value {
  font-size: 20px;
  font-weight: 900;
  color: var(--primary);
}

.case-stat .label {
  font-size: 12px;
  color: var(--text-muted);
}

.case-status {
  text-align: center;
  padding: 10px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
}

.case-status.success {
  background: rgba(20,184,166,0.1);
  color: var(--teal-dark);
}

.case-status.pending {
  background: rgba(99,102,241,0.1);
  color: var(--primary);
}

@media (max-width: 768px) {
  .cases-grid {
    grid-template-columns: 1fr;
  }
}

/* ============ FAQ手风琴 ============ */
.section-faq {
  padding: 100px 0;
  background: var(--bg-page);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-white);
  border-radius: var(--radius);
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--primary);
}

.faq-question::after {
  content: '+';
  font-size: 24px;
  color: var(--primary);
  transition: var(--transition);
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-answer-content {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.7;
}

/* ============ 关于页 ============ */
.section-about {
  padding: 100px 0;
  background: var(--bg-white);
}

.about-intro {
  max-width: 800px;
  margin: 0 auto 60px;
  text-align: center;
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-body);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}

.advantage-card {
  background: var(--bg-page);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  transition: var(--transition);
}

.advantage-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.advantage-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.advantage-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.advantage-desc {
  font-size: 14px;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .advantages-grid {
    grid-template-columns: 1fr;
  }
}

/* 办理说明 */
.section-process {
  padding: 100px 0;
  background: var(--bg-page);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.process-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  box-shadow: var(--card-shadow);
}

.process-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.process-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.process-desc {
  font-size: 14px;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
}

/* 资质展示 */
.section-certificates {
  padding: 100px 0;
  background: var(--bg-white);
}

.certificates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.certificate-card {
  background: var(--bg-page);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  transition: var(--transition);
}

.certificate-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.certificate-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.certificate-title {
  font-size: 16px;
  font-weight: 700;
}

@media (max-width: 768px) {
  .certificates-grid {
    grid-template-columns: 1fr;
  }
}

/* ============ 动画 ============ */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@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);
  }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-bounceIn {
  animation: bounceIn 0.8s ease forwards;
}

.animate-bounce:hover {
  animation: bounce 0.6s ease infinite;
}

/* 滚动触发动画 */
.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ 响应式基础 ============ */
@media (max-width: 1024px) {
  .container {
    padding: 0 20px;
  }
  
  .section-title {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .section-subtitle {
    font-size: 16px;
    margin-bottom: 32px;
  }
  
  section {
    padding: 60px 0;
  }
  
  .card {
    padding: 24px;
  }
}

/* ============ 表单提交反馈 ============ */
.form-success {
  padding: 20px;
  background: rgba(20,184,166,0.1);
  border-radius: var(--radius);
  color: var(--teal-dark);
  text-align: center;
  font-weight: 600;
  display: none;
}

.form-success.show {
  display: block;
  animation: fadeIn 0.3s ease;
}

/* ============ 辅助类 ============ */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-rose { color: var(--rose); }
.text-teal { color: var(--teal); }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.mb-8 { margin-bottom: 32px; }
