/* ========================================
   银联商务电签机 - 深绛紫到批风样式
   ======================================== */

/* CSS Variables */
:root {
  --ums-magenta: #2A1E2A;
  --ums-magenta-light: #3A2E3A;
  --arrival-green: #10B981;
  --arrival-green-light: #34D399;
  --fast-orange: #F97316;
  --fast-orange-light: #FB923C;
  --bg-page: #F2EEF2;
  --bg-white: #FFFFFF;
  --text-dark: #120A12;
  --text-body: #334155;
  --text-muted: #64748B;
  --border-light: #E5E0E5;
  --shadow-sm: 0 2px 8px rgba(42, 30, 42, 0.08);
  --shadow-md: 0 4px 16px rgba(42, 30, 42, 0.12);
  --shadow-lg: 0 8px 32px rgba(42, 30, 42, 0.16);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
  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;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.3;
}

.font-number {
  font-family: 'DM Sans', 'Noto Sans SC', sans-serif;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg-white);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--ums-magenta);
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--ums-magenta);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 14px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 15px;
  color: var(--text-body);
  transition: var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ums-magenta);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--arrival-green);
  border-radius: 2px;
}

.nav-cta {
  background: var(--arrival-green);
  color: white !important;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  transition: var(--transition);
}

.nav-cta:hover {
  background: var(--arrival-green-light);
}

.nav-cta::after {
  display: none !important;
}

/* Mobile Menu */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ums-magenta);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 70px;
  left: 0;
  right: 0;
  background: var(--bg-white);
  padding: 20px;
  box-shadow: var(--shadow-lg);
}

.mobile-menu.active {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 12px 0;
  font-size: 16px;
  color: var(--text-body);
  border-bottom: 1px solid var(--border-light);
}

.mobile-menu .nav-cta {
  margin-top: 16px;
  text-align: center;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, var(--ums-magenta) 0%, var(--ums-magenta-light) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(16, 185, 129, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(249, 115, 22, 0.1) 0%, transparent 40%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 52px;
  color: white;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
  line-height: 1.5;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--arrival-green) 0%, var(--arrival-green-light) 100%);
  color: white;
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(16, 185, 129, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: transparent;
  color: white;
  font-size: 16px;
  font-weight: 500;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.btn-secondary:hover {
  border-color: white;
  background: rgba(255, 255, 255, 0.1);
}

/* Green Hero Variant */
.hero-green {
  background: linear-gradient(135deg, var(--arrival-green) 0%, #059669 100%);
  padding: 100px 0 60px;
}

.hero-green::before {
  background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
}

/* Orange Hero Variant */
.hero-orange {
  background: linear-gradient(135deg, var(--fast-orange) 0%, #EA580C 100%);
  padding: 100px 0 60px;
}

.hero-orange::before {
  background: radial-gradient(circle at 70% 50%, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
}

/* ========================================
   Section Styles
   ======================================== */
.section {
  padding: 80px 0;
}

.section-dark {
  background: var(--ums-magenta);
  color: white;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 36px;
  margin-bottom: 12px;
}

.section-header p {
  font-size: 18px;
  color: var(--text-muted);
}

.section-dark .section-header p {
  color: rgba(255, 255, 255, 0.7);
}

/* ========================================
   Feature Cards
   ======================================== */
.feature-grid {
  display: grid;
  gap: 24px;
}

.feature-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
}

.feature-icon.green {
  background: rgba(16, 185, 129, 0.1);
  color: var(--arrival-green);
}

.feature-icon.orange {
  background: rgba(249, 115, 22, 0.1);
  color: var(--fast-orange);
}

.feature-icon.purple {
  background: rgba(42, 30, 42, 0.1);
  color: var(--ums-magenta);
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 15px;
}

.feature-number {
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
}

.feature-number.green {
  color: var(--arrival-green);
}

.feature-number.orange {
  color: var(--fast-orange);
}

.feature-number span {
  font-size: 20px;
  font-weight: 500;
}

/* Staggered Cards */
.cards-staggered {
  display: grid;
  grid-template-columns: 55% 43%;
  gap: 24px;
  align-items: start;
}

.cards-staggered .feature-card:first-child {
  margin-top: 30px;
}

/* Three Column Cards */
.cards-three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cards-three .feature-card:first-child {
  grid-column: span 1;
}

/* Highlighted Card */
.card-highlight {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(16, 185, 129, 0.02) 100%);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

/* ========================================
   Text Section
   ======================================== */
.text-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.text-section.reverse {
  direction: rtl;
}

.text-section.reverse > * {
  direction: ltr;
}

.text-section h2 {
  font-size: 32px;
  margin-bottom: 16px;
}

.text-section p {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
}

.text-highlight {
  color: var(--arrival-green) !important;
  font-weight: 600;
}

.text-highlight-orange {
  color: var(--fast-orange) !important;
  font-weight: 600;
}

.text-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.text-image img {
  width: 100%;
  display: block;
}

/* ========================================
   Comparison Table
   ======================================== */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.comparison-table th,
.comparison-table td {
  padding: 18px 24px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

.comparison-table th {
  background: var(--ums-magenta);
  color: white;
  font-weight: 600;
  font-size: 15px;
}

.comparison-table th:first-child {
  font-size: 16px;
}

.comparison-table td {
  font-size: 15px;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr:hover td {
  background: rgba(42, 30, 42, 0.02);
}

.check-icon {
  color: var(--arrival-green);
  font-size: 20px;
}

.cross-icon {
  color: var(--text-muted);
  font-size: 18px;
}

/* ========================================
   FAQ Section
   ======================================== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dark);
  text-align: left;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--ums-magenta);
}

.faq-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
  margin-left: 12px;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
  background: linear-gradient(135deg, var(--ums-magenta) 0%, var(--ums-magenta-light) 100%);
  padding: 80px 0;
  text-align: center;
}

.cta-section h2 {
  color: white;
  font-size: 36px;
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 18px;
  margin-bottom: 32px;
}

.cta-section .btn-primary {
  font-size: 18px;
  padding: 16px 40px;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: linear-gradient(135deg, var(--ums-magenta) 0%, var(--ums-magenta-light) 100%);
  color: white;
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer h3 {
  color: white;
  font-size: 18px;
  margin-bottom: 16px;
}

.footer p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  line-height: 1.7;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   Page Title
   ======================================== */
.page-title {
  text-align: center;
  padding: 40px 0;
}

.page-title h1 {
  font-size: 40px;
  margin-bottom: 12px;
}

.page-title p {
  font-size: 18px;
  color: var(--text-muted);
}

/* ========================================
   Process Steps
   ======================================== */
.process-steps {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.process-step {
  flex: 1;
  min-width: 200px;
  max-width: 280px;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.process-step::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -20px;
  width: 20px;
  height: 2px;
  background: var(--border-light);
}

.process-step:last-child::after {
  display: none;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--fast-orange);
  color: white;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.process-step h4 {
  font-size: 18px;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 14px;
  color: var(--text-muted);
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
  .cards-staggered {
    grid-template-columns: 1fr;
  }
  
  .cards-staggered .feature-card:first-child {
    margin-top: 0;
  }
  
  .cards-three {
    grid-template-columns: 1fr 1fr;
  }
  
  .text-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .text-section.reverse {
    direction: ltr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .mobile-toggle {
    display: flex;
  }
  
  .hero {
    padding: 120px 0 60px;
  }
  
  .hero h1 {
    font-size: 36px;
  }
  
  .hero-subtitle {
    font-size: 17px;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .section-header h2 {
    font-size: 28px;
  }
  
  .cards-three {
    grid-template-columns: 1fr;
  }
  
  .comparison-table {
    font-size: 14px;
  }
  
  .comparison-table th,
  .comparison-table td {
    padding: 14px 16px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .process-step::after {
    display: none;
  }
  
  .page-title h1 {
    font-size: 32px;
  }
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content {
  animation: fadeInUp 0.8s ease-out;
}

.hero-buttons {
  animation: fadeInUp 0.8s ease-out 0.2s both;
}
