/* ========================================
   东芯付官网 - 全局样式
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700;900&display=swap');

:root {
  --primary: #1D4ED8;
  --primary-light: #3B82F6;
  --primary-dark: #1E40AF;
  --primary-50: #EFF6FF;
  --primary-100: #DBEAFE;
  --accent: #F59E0B;
  --accent-light: #FCD34D;
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8FAFC;
  --bg-tertiary: #EFF6FF;
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  --border: #E2E8F0;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.05);
  --radius: 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', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: var(--text-primary);
  background: var(--bg-primary);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* ========== UTILITIES ========== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-alt {
  background: var(--bg-secondary);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: var(--primary);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.3;
}

.section-desc {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.8;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(29,78,216,0.35);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline-dark:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 17px;
}

/* ========== NAVBAR ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
  padding: 10px 0;
}

/* 页面背景为浅色时（如开发者中心），navbar 固定显示深色背景 */
.navbar-solid {
  background: #0f172a !important;
}
.navbar-solid.scrolled {
  background: rgba(15,23,42,0.97) !important;
  box-shadow: 0 2px 16px rgba(0,0,0,0.25);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.nav-logo span {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  transition: var(--transition);
}

.navbar.scrolled .nav-logo span {
  color: var(--text-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  position: relative;
}

.navbar.scrolled .nav-links a {
  color: var(--text-secondary);
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.navbar.scrolled .nav-links a:hover,
.navbar.scrolled .nav-links a.active {
  color: var(--primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  padding: 8px 18px !important;
  background: transparent !important;
  color: rgba(255,255,255,0.85) !important;
  border: 1px solid rgba(255,255,255,0.35) !important;
  border-radius: 6px;
  font-weight: 500 !important;
}

.nav-cta:hover {
  background: rgba(255,255,255,0.12) !important;
  color: #fff !important;
  transform: translateY(-1px);
}

.navbar.scrolled .nav-cta {
  color: var(--text-secondary) !important;
  border-color: var(--border) !important;
  background: transparent !important;
}

.navbar.scrolled .nav-cta:hover {
  background: var(--bg-secondary) !important;
  color: var(--text-primary) !important;
}

.nav-cta::after { display: none !important; }

/* Nav Login Buttons */
.nav-login-btns {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 12px;
}

.nav-login-btns a {
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.nav-login-btns .btn-merchant-login {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.35);
}

.nav-login-btns .btn-agent-login {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.35);
}

.navbar.scrolled .nav-login-btns .btn-merchant-login {
  color: var(--text-secondary);
  border-color: var(--border);
}

.navbar.scrolled .nav-login-btns .btn-agent-login {
  background: transparent;
  color: var(--text-secondary);
  border-color: var(--border);
}

.nav-login-btns a:hover {
  transform: translateY(-1px);
}

.nav-login-btns .btn-merchant-login::after,
.nav-login-btns .btn-agent-login::after { display: none; }

/* Mobile Menu */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}

.navbar.scrolled .nav-toggle span {
  background: var(--text-primary);
}

/* 汉堡菜单打开动画（三条线 → X） */
.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0F172A 0%, #1E3A5F 40%, #1D4ED8 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(59,130,246,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(245,158,11,0.1) 0%, transparent 40%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-top: 80px;
}

.hero-badge {
  display: inline-block;
  padding: 6px 20px;
  background: rgba(245,158,11,0.15);
  border: 1px solid rgba(245,158,11,0.3);
  border-radius: 50px;
  color: var(--accent-light);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 32px;
  letter-spacing: 1px;
}

.hero h1 {
  font-size: 56px;
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.hero h1 .text-gold {
  background: linear-gradient(135deg, #F59E0B 0%, #FCD34D 50%, #F59E0B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .hero-sub {
  font-size: 20px;
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 72px;
  flex-wrap: wrap;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
}

.hero-trust-item i {
  color: var(--accent);
  font-size: 18px;
}

/* ========== STATS BAR ========== */
.stats-bar {
  background: var(--bg-primary);
  padding: 48px 0;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 3;
  margin-top: -48px;
  border-radius: var(--radius-lg);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat-item {
  text-align: center;
  padding: 20px;
}

.stat-number {
  font-size: 42px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-number span {
  font-size: 20px;
  font-weight: 600;
}

.stat-label {
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 1px;
}

/* ========== FEATURE CARDS ========== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  font-size: 28px;
}

.feature-icon.blue { background: var(--primary-50); color: var(--primary); }
.feature-icon.gold { background: #FEF3C7; color: #D97706; }
.feature-icon.green { background: #D1FAE5; color: #059669; }
.feature-icon.purple { background: #EDE9FE; color: #7C3AED; }

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ========== PRODUCT CARDS ========== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.product-number {
  font-size: 48px;
  font-weight: 900;
  color: var(--primary-50);
  line-height: 1;
  margin-bottom: 16px;
}

.product-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.product-card ul {
  margin-bottom: 20px;
}

.product-card li {
  font-size: 14px;
  color: var(--text-secondary);
  padding: 6px 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.product-card li i {
  color: var(--primary);
  font-size: 12px;
  margin-top: 5px;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}

.product-link:hover {
  gap: 10px;
  color: var(--primary-dark);
}

/* ========== INDUSTRY GRID ========== */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.industry-card {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.industry-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}

.industry-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.industry-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ========== ADVANTAGE GRID ========== */
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.advantage-card {
  display: flex;
  gap: 20px;
  padding: 28px;
  background: var(--bg-primary);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.advantage-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.adv-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background: var(--primary-50);
  color: var(--primary);
}

.advantage-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.advantage-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ========== PARTNERS ========== */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.partner-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 8px;
  background: var(--bg-primary);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.partner-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.partner-item img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 8px;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: var(--transition);
}

.partner-item:hover img {
  filter: grayscale(0);
  opacity: 1;
}

.partner-item span {
  font-size: 12px;
  color: var(--text-secondary);
}

/* ========== CTA BANNER ========== */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  padding: 80px 0;
  text-align: center;
}

.cta-banner h2 {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 17px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
}

.cta-banner .btn {
  background: var(--accent);
  color: #fff;
}

.cta-banner .btn:hover {
  background: #D97706;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245,158,11,0.35);
}

/* ========== FOOTER ========== */
.footer {
  background: #0F172A;
  color: rgba(255,255,255,0.7);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand img {
  height: 48px;
  margin-bottom: 16px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255,255,255,0.5);
}

.footer h4 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
}

.footer-links a:hover {
  color: #fff;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  margin-bottom: 12px;
}

.footer-contact i {
  color: var(--primary-light);
  font-size: 16px;
  width: 20px;
  text-align: center;
}
.footer-contact a:hover { color: var(--primary-light) !important; }

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.3);
}

/* ========== PAGE BANNER (subpages) ========== */
.page-banner {
  background: linear-gradient(135deg, #0F172A 0%, #1E3A5F 50%, #1D4ED8 100%);
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.page-banner h1 {
  font-size: 40px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.page-banner p {
  font-size: 17px;
  color: rgba(255,255,255,0.65);
  position: relative;
  z-index: 1;
}

/* ========== PRODUCT DETAIL (subpages) ========== */
.product-detail {
  display: flex;
  gap: 64px;
  align-items: center;
  padding: 80px 0;
}

.product-detail:nth-child(even) {
  flex-direction: row-reverse;
}

.product-detail-img {
  flex: 1;
  min-height: 300px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
}

.product-detail-content {
  flex: 1;
}

.product-detail-content h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
}

.product-detail-content p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
}

.product-detail-content ul {
  margin-bottom: 32px;
}

.product-detail-content li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-secondary);
}

.product-detail-content li i {
  color: var(--primary);
  font-size: 14px;
}

/* ========== SOLUTION CARD (subpages) ========== */
.solution-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}

.solution-card:last-child {
  border-bottom: none;
}

.solution-icon-area {
  min-height: 280px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 72px;
}

.solution-card h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
}

.solution-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}

.solution-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.solution-tag {
  padding: 6px 16px;
  background: var(--primary-50);
  color: var(--primary);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
}

.contact-form {
  min-height: 600px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text-primary);
  background: var(--bg-primary);
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(29,78,216,0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-card {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--bg-secondary);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.contact-info-card .ci-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  background: var(--primary-50);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.contact-info-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-info-card p {
  font-size: 14px;
  color: var(--text-secondary);
}
.contact-info-card a:hover {
  color: var(--primary) !important;
}

/* ========== ABOUT PAGE ========== */
.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-content h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
}

.about-content p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 2;
  margin-bottom: 24px;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.about-value {
  text-align: center;
  padding: 40px 24px;
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.about-value i {
  font-size: 36px;
  color: var(--primary);
  margin-bottom: 16px;
}

.about-value h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.about-value p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ========== ANIMATIONS ========== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== RESPONSIVE ========== */

/* --- 平板端 1024px --- */
@media (max-width: 1024px) {
  .container { padding: 0 20px; }

  /* Nav: 登录按钮缩小 */
  .nav-login-btns { gap: 8px; margin-left: 8px; }
  .nav-login-btns a { padding: 7px 12px; font-size: 13px; }
  .nav-links { gap: 20px; }

  /* Grids */
  .feature-grid,
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .advantage-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }

  /* Hero */
  .hero h1 { font-size: 44px; }

  /* Solution */
  .solution-card { gap: 32px; }
  .solution-icon-area { min-height: 220px; font-size: 56px; }
}

/* --- 移动端 768px --- */
@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .section { padding: 56px 0; }
  .section-title { font-size: 24px; }
  .section-desc { font-size: 15px; }
  .section-header { margin-bottom: 40px; }

  /* ---- Nav ---- */
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .navbar { padding: 14px 0; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 20px 16px 24px;
    box-shadow: var(--shadow-lg);
    gap: 4px;
    z-index: 999;
  }

  .nav-links.open a {
    color: var(--text-secondary) !important;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
  }

  .nav-links.open a:last-of-type {
    border-bottom: none;
  }

  /* 移动端登录按钮：单独一行并排 */
  .nav-login-btns {
    margin-left: 0;
    flex-direction: row;
    gap: 10px;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    width: 100%;
  }

  .nav-login-btns a {
    flex: 1;
    text-align: center;
    padding: 10px 8px;
    font-size: 14px;
    border-radius: 6px;
  }

  .nav-login-btns .btn-merchant-login {
    border: 1px solid var(--border);
    color: var(--text-secondary) !important;
  }

  /* ---- Hero ---- */
  .hero { min-height: 100svh; min-height: 100vh; }
  .hero .container { padding-top: 100px; padding-bottom: 60px; }
  .hero h1 { font-size: 28px; letter-spacing: 1px; line-height: 1.3; }
  .hero .hero-sub { font-size: 15px; margin-bottom: 32px; }
  .hero-badge { font-size: 12px; padding: 5px 16px; margin-bottom: 24px; }
  .hero-buttons { flex-direction: column; align-items: center; gap: 12px; }
  .hero-buttons .btn-lg { width: 100%; max-width: 280px; justify-content: center; }
  .hero-trust { gap: 16px; margin-top: 48px; }
  .hero-trust-item { font-size: 13px; }

  /* ---- Stats ---- */
  .stats-bar {
    margin-top: 0;
    border-radius: 0;
    padding: 32px 0;
    box-shadow: var(--shadow-md);
  }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .stat-item {
    padding: 16px 12px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }
  .stat-item:nth-child(2n) { border-right: none; }
  .stat-item:nth-child(3),
  .stat-item:nth-child(4) { border-bottom: none; }
  .stat-number { font-size: 28px; }
  .stat-label { font-size: 13px; }

  /* ---- Feature / Product / Advantage 网格 ---- */
  .feature-grid,
  .product-grid,
  .advantage-grid { grid-template-columns: 1fr; gap: 16px; }
  .industry-grid { grid-template-columns: 1fr; gap: 16px; }
  .feature-card { padding: 28px 20px; }

  /* ---- Partners ---- */
  .partners-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .partner-item { padding: 12px 6px; }
  .partner-item img { width: 44px; height: 44px; }
  .partner-item span { font-size: 11px; }

  /* ---- CTA Banner ---- */
  .cta-banner { padding: 56px 0; }
  .cta-banner h2 { font-size: 24px; }
  .cta-banner p { font-size: 15px; }
  .cta-banner .btn { width: 100%; max-width: 260px; justify-content: center; }

  /* ---- Product Detail ---- */
  .product-detail,
  .product-detail:nth-child(even) {
    flex-direction: column;
    gap: 24px;
    padding: 40px 0;
  }
  .product-detail-img { min-height: 200px; font-size: 56px; }
  .product-detail-content h2 { font-size: 22px; }

  /* ---- Solution Card ---- */
  .solution-card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 40px 0;
  }
  .solution-icon-area { min-height: 160px; font-size: 56px; border-radius: var(--radius); }
  .solution-card h2 { font-size: 20px; }

  /* ---- Contact ---- */
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-form { min-height: auto; }

  /* ---- Footer ---- */
  .footer { padding: 48px 0 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding-bottom: 32px; }
  .footer-brand img { height: 36px; filter: brightness(0) invert(1); }
  .footer-brand p { max-width: 100%; }
  .footer-bottom { padding: 20px 0; font-size: 12px; line-height: 1.8; }

  /* ---- About ---- */
  .about-values { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
  .about-value { padding: 28px 20px; }
  .about-content p { font-size: 15px; }

  /* ---- Page Banner ---- */
  .page-banner { padding: 110px 0 56px; }
  .page-banner h1 { font-size: 28px; }
  .page-banner p { font-size: 15px; }

  /* ---- Buttons ---- */
  .btn { padding: 12px 24px; font-size: 15px; }
  .btn-lg { padding: 14px 32px; font-size: 16px; }
}

/* --- 小屏手机 390px --- */
@media (max-width: 390px) {
  .hero h1 { font-size: 24px; }
  .section-title { font-size: 22px; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { font-size: 11px; }
}
