/* ========================================
   拉卡拉移动POS - 深棕多诚风样式表
   ======================================== */

/* CSS变量定义 */
:root {
  --lkl-brown: #7C2D12;
  --lkl-brown-light: #92400E;
  --lkl-brown-dark: #5C1A0A;
  --multi-purple: #8B5CF6;
  --multi-purple-light: #A78BFA;
  --honest-green: #16A34A;
  --honest-green-light: #22C55E;
  --bg-page: #FFF7ED;
  --bg-section: #FEF3C7;
  --text-dark: #431407;
  --text-body: #334155;
  --text-muted: #64748B;
  --white: #FFFFFF;
  --shadow-sm: 0 1px 2px rgba(124, 45, 18, 0.05);
  --shadow-md: 0 4px 6px rgba(124, 45, 18, 0.1);
  --shadow-lg: 0 10px 15px rgba(124, 45, 18, 0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --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;
  background-color: var(--bg-page);
  color: var(--text-body);
  line-height: 1.6;
  font-size: 16px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* 排版 */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }

.text-purple { color: var(--multi-purple); }
.text-green { color: var(--honest-green); }
.text-brown { color: var(--lkl-brown); }
.text-center { text-align: center; }
.text-left { text-align: left; }

.font-number {
  font-family: 'DM Sans', 'Noto Sans SC', sans-serif;
  font-weight: 700;
}

/* 容器 */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-sm {
  padding: 60px 0;
}

/* ========================================
   导航栏
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--white);
  z-index: 1000;
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-lg);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--lkl-brown);
}

.navbar-logo svg {
  width: 36px;
  height: 36px;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar-nav a {
  color: var(--text-body);
  font-weight: 500;
  position: relative;
  padding: 5px 0;
}

.navbar-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--multi-purple);
  transition: var(--transition);
}

.navbar-nav a:hover::after,
.navbar-nav a.active::after {
  width: 100%;
}

.navbar-nav a:hover,
.navbar-nav a.active {
  color: var(--multi-purple);
}

.navbar-cta {
  background: linear-gradient(135deg, var(--lkl-brown), var(--lkl-brown-light));
  color: var(--white) !important;
  padding: 10px 24px !important;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.navbar-cta::after {
  display: none !important;
}

.navbar-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--white) !important;
}

/* 汉堡菜单 */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--lkl-brown);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* 手机端菜单 */
.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: var(--white);
  padding: 20px;
  box-shadow: var(--shadow-lg);
}

.mobile-menu.active {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 12px 0;
  color: var(--text-body);
  font-weight: 500;
  border-bottom: 1px solid #eee;
}

.mobile-menu a:last-child {
  border-bottom: none;
}

.mobile-menu .navbar-cta {
  width: 100%;
  text-align: center;
  margin-top: 10px;
}

/* ========================================
   Hero 区域
   ======================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 80px;
  position: relative;
  overflow: hidden;
}

.hero-brown {
  background: linear-gradient(135deg, var(--lkl-brown) 0%, var(--lkl-brown-light) 50%, var(--lkl-brown) 100%);
  color: var(--white);
}

.hero-purple {
  background: linear-gradient(135deg, var(--multi-purple) 0%, var(--multi-purple-light) 100%);
  color: var(--white);
}

.hero-green {
  background: linear-gradient(135deg, var(--honest-green) 0%, var(--honest-green-light) 100%);
  color: var(--white);
}

.hero-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  font-size: 0.9rem;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
}

.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Hero 动画背景 */
.hero-bg-animation {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  animation: float 6s ease-in-out infinite;
}

.hero-circle:nth-child(1) {
  width: 300px;
  height: 300px;
  top: 10%;
  left: -100px;
  animation-delay: 0s;
}

.hero-circle:nth-child(2) {
  width: 200px;
  height: 200px;
  top: 60%;
  right: -50px;
  animation-delay: 2s;
}

.hero-circle:nth-child(3) {
  width: 150px;
  height: 150px;
  bottom: 10%;
  left: 20%;
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

/* 页面标题区 */
.page-hero {
  padding: 140px 20px 80px;
  text-align: center;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 16px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ========================================
   按钮
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--multi-purple), var(--multi-purple-light));
  color: var(--white);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(139, 92, 246, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-brown {
  background: linear-gradient(135deg, var(--lkl-brown), var(--lkl-brown-light));
  color: var(--white);
}

.btn-brown:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(124, 45, 18, 0.4);
}

.btn-green {
  background: linear-gradient(135deg, var(--honest-green), var(--honest-green-light));
  color: var(--white);
}

.btn-green:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(22, 163, 74, 0.4);
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.1rem;
}

/* ========================================
   卡片
   ======================================== */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.card-purple {
  background: linear-gradient(135deg, var(--multi-purple), var(--multi-purple-light));
  color: var(--white);
}

.card-green {
  background: linear-gradient(135deg, var(--honest-green), var(--honest-green-light));
  color: var(--white);
}

.card-brown {
  background: linear-gradient(135deg, var(--lkl-brown), var(--lkl-brown-light));
  color: var(--white);
}

/* ========================================
   多诚板块 - 左图右文
   ======================================== */
.honest-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.honest-story.reverse {
  direction: rtl;
}

.honest-story.reverse > * {
  direction: ltr;
}

.honest-story-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.honest-story-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.honest-story-content h2 {
  margin-bottom: 20px;
}

.honest-story-content p {
  font-size: 1.1rem;
  color: var(--text-body);
  margin-bottom: 24px;
}

.highlight {
  color: var(--multi-purple);
  font-weight: 700;
}

.highlight-green {
  color: var(--honest-green);
  font-weight: 700;
}

.highlight-brown {
  color: var(--lkl-brown);
  font-weight: 700;
}

/* ========================================
   一机多商户卡片
   ======================================== */
.cards-staggered {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 30px;
  align-items: start;
}

.card-feature {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.card-feature:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.card-feature .icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--multi-purple), var(--multi-purple-light));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card-feature .icon svg {
  width: 30px;
  height: 30px;
  color: var(--white);
}

.card-feature h3 {
  margin-bottom: 12px;
}

.card-feature p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.card-feature .stat {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.card-feature .stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--multi-purple);
  font-family: 'DM Sans', sans-serif;
}

.card-feature .stat-label {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* ========================================
   无套路板块
   ======================================== */
.no-trap-section {
  padding-left: 0;
}

.no-trap-section h2 {
  margin-bottom: 12px;
}

.no-trap-section .lead {
  font-size: 1.25rem;
  color: var(--text-body);
  margin-bottom: 32px;
}

.promise-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.promise-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--honest-green);
}

.promise-item .icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: rgba(22, 163, 74, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--honest-green);
}

.promise-item h4 {
  margin-bottom: 4px;
  color: var(--text-dark);
}

.promise-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ========================================
   对比表格
   ======================================== */
.compare-section h2 {
  text-align: center;
  margin-bottom: 40px;
}

.compare-table {
  width: 100%;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border-collapse: collapse;
}

.compare-table th,
.compare-table td {
  padding: 20px 24px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.compare-table th {
  background: var(--lkl-brown);
  color: var(--white);
  font-weight: 600;
  font-size: 1.1rem;
}

.compare-table tr:last-child td {
  border-bottom: none;
}

.compare-table tr:hover td {
  background: rgba(124, 45, 18, 0.03);
}

.compare-table .brand-name {
  font-weight: 600;
  color: var(--text-dark);
}

.compare-table .check {
  color: var(--honest-green);
  font-weight: 700;
}

.compare-table .cross {
  color: #DC2626;
}

.compare-table .partial {
  color: var(--multi-purple);
}

/* ========================================
   FAQ 手风琴
   ======================================== */
.faq-section h2 {
  text-align: center;
  margin-bottom: 40px;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  text-align: left;
  transition: var(--transition);
}

.faq-question:hover {
  background: rgba(124, 45, 18, 0.03);
}

.faq-question .icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.faq-item.active .faq-question .icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--text-body);
  line-height: 1.7;
}

/* ========================================
   底部申请区
   ======================================== */
.cta-section {
  background: linear-gradient(135deg, var(--lkl-brown) 0%, var(--lkl-brown-light) 100%);
  color: var(--white);
  text-align: center;
  padding: 80px 20px;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .highlight {
  color: var(--multi-purple-light);
}

.cta-section .btn-primary {
  background: var(--white);
  color: var(--lkl-brown);
}

.cta-section .btn-primary:hover {
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

/* ========================================
   底部
   ======================================== */
.footer {
  background: linear-gradient(180deg, var(--lkl-brown-light) 0%, var(--lkl-brown) 100%);
  color: var(--white);
  padding: 60px 20px 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer h4 {
  color: var(--white);
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.footer ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer a {
  opacity: 0.8;
  transition: var(--transition);
}

.footer a:hover {
  opacity: 1;
  color: var(--multi-purple-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  text-align: center;
  opacity: 0.7;
  font-size: 0.9rem;
}

/* ========================================
   机制卡片 - 错落布局
   ======================================== */
.mechanism-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 24px;
}

.mechanism-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.mechanism-card:nth-child(1) {
  grid-row: span 2;
}

.mechanism-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.mechanism-card h3 {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mechanism-card p {
  color: var(--text-muted);
}

.mechanism-card .number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--multi-purple);
  font-family: 'DM Sans', sans-serif;
  margin-bottom: 8px;
}

/* ========================================
   承诺说明框
   ======================================== */
.promise-box {
  background: rgba(22, 163, 74, 0.05);
  border: 2px solid var(--honest-green);
  border-radius: var(--radius-md);
  padding: 40px;
  margin-top: 40px;
}

.promise-box h3 {
  color: var(--honest-green);
  margin-bottom: 20px;
  text-align: center;
}

.promise-box ul {
  display: grid;
  gap: 16px;
}

.promise-box li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-body);
}

.promise-box li .check {
  flex-shrink: 0;
  color: var(--honest-green);
  font-weight: 700;
}

/* ========================================
   响应式设计
   ======================================== */
@media (max-width: 992px) {
  .navbar-nav {
    display: none;
  }
  
  .hamburger {
    display: flex;
  }
  
  .honest-story {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .honest-story.reverse {
    direction: ltr;
  }
  
  .cards-staggered {
    grid-template-columns: 1fr;
  }
  
  .mechanism-grid {
    grid-template-columns: 1fr;
  }
  
  .mechanism-card:nth-child(1) {
    grid-row: span 1;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }
  
  .hero {
    padding: 100px 20px 60px;
    min-height: auto;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .page-hero {
    padding: 120px 20px 60px;
  }
  
  .compare-table {
    font-size: 0.9rem;
  }
  
  .compare-table th,
  .compare-table td {
    padding: 12px 16px;
  }
  
  .card-feature .stat-number {
    font-size: 2.5rem;
  }
  
  .cta-section {
    padding: 60px 20px;
  }
}

/* ========================================
   表单
   ======================================== */
.form-group {
  margin-bottom: 20px;
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: var(--transition);
  font-family: inherit;
}

.form-input:focus {
  outline: none;
  border-color: var(--multi-purple);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

/* ========================================
   工具类
   ======================================== */
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }

.w-full { width: 100%; }
.max-w-md { max-width: 600px; }
.max-w-lg { max-width: 800px; }

/* 背景块 */
.bg-block {
  background: var(--bg-section);
  border-radius: var(--radius-md);
  padding: 32px;
}

/* 区块标题 */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}
