/* 普期汇科技现代风设计系统 */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;600;700;900&display=swap');

:root {
  --primary: #2563EB;
  --primary-dark: #1D4ED8;
  --primary-light: #3B82F6;
  --accent: #F59E0B;
  --success: #22C55E;
  --danger: #EF4444;
  --dark: #0B1120;
  --dark-2: #151D2E;
  --dark-3: #1E293B;
  --gray-1: #334155;
  --gray-2: #64748B;
  --gray-3: #94A3B8;
  --light: #F8FAFC;
  --white: #FFFFFF;
  --gradient-1: linear-gradient(135deg, #0B1120 0%, #1E293B 100%);
  --gradient-2: linear-gradient(135deg, #2563EB 0%, #7C3AED 100%);
  --gradient-3: linear-gradient(135deg, #1E293B 0%, #0B1120 100%);
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-glow: 0 0 40px rgba(37,99,235,0.15);
  --radius: 12px;
  --radius-lg: 20px;
}

* { 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;
  color: var(--dark);
  background: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(11,17,32,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  height: 72px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
}

.logo-img {
  height: 40px;
  width: auto;
  background: white;
  border-radius: 8px;
  padding: 3px;
  object-fit: contain;
}

.nav { display: flex; gap: 36px; }
.nav a {
  color: var(--gray-3);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}
.nav a:hover, .nav a.active { color: var(--white); }
.nav a.active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.header-btns { display: flex; gap: 12px; align-items: center; }

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1002;
}
.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s;
}
.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: var(--dark-2);
  z-index: 1001;
  padding: 100px 30px 30px;
  transition: right 0.3s ease;
  box-shadow: -10px 0 30px rgba(0,0,0,0.3);
}
.mobile-menu.active { right: 0; }
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}
.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}
.mobile-menu a {
  display: block;
  padding: 16px 0;
  color: white;
  font-size: 17px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-menu a.active { color: var(--primary-light); }
.mobile-menu .menu-btns {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient-2);
  color: white;
  box-shadow: 0 4px 14px rgba(37,99,235,0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,99,235,0.5);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.25);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.4);
}
.btn-white {
  background: white;
  color: var(--primary);
  box-shadow: var(--shadow);
}
.btn-white:hover { transform: translateY(-2px); }
.btn-lg { padding: 14px 28px; font-size: 16px; }

/* Page Title Bar */
.page-title-bar {
  background: var(--gradient-1);
  padding: 130px 0 70px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}
.page-title-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 80% 20%, rgba(37,99,235,0.2) 0%, transparent 50%),
              radial-gradient(circle at 20% 80%, rgba(124,58,237,0.15) 0%, transparent 50%);
}
.page-title-bar .container { position: relative; z-index: 1; }
.page-title-bar h1 {
  font-size: 44px;
  font-weight: 700;
  margin-bottom: 14px;
}
.page-title-bar p {
  font-size: 17px;
  color: var(--gray-3);
  max-width: 600px;
  margin: 0 auto;
}
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
  font-size: 14px;
  color: var(--gray-3);
}
.breadcrumb span { color: var(--primary-light); }

/* Section */
.section { padding: 80px 0; }
.section-dark { background: var(--gradient-1); color: white; }
.section-title {
  text-align: center;
  margin-bottom: 48px;
}
.section-title h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 14px;
}
.section-title p {
  font-size: 16px;
  color: var(--gray-2);
  max-width: 600px;
  margin: 0 auto;
}
.section-dark .section-title p { color: var(--gray-3); }

/* Cards */
.card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: all 0.3s;
  border: 1px solid rgba(226,232,240,0.8);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.card-dark {
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.08);
  color: white;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid #e2e8f0;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-2);
  transform: scaleX(0);
  transition: transform 0.3s;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card .icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
  background: rgba(37,99,235,0.1);
  color: var(--primary);
}
.service-card h3 { font-size: 19px; margin-bottom: 10px; }
.service-card p { color: var(--gray-2); font-size: 14px; line-height: 1.7; margin-bottom: 16px; }
.service-card .link {
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-img {
  background: var(--gradient-1);
  border-radius: var(--radius-lg);
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.about-img::before {
  content: '';
  position: absolute;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(37,99,235,0.3) 0%, transparent 70%);
  border-radius: 50%;
}
.about-img .content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
}
.about-img .content .big-num {
  font-size: 64px;
  font-weight: 900;
  background: var(--gradient-2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.about-img .content p { font-size: 17px; color: var(--gray-3); }
.about-content h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 18px;
}
.about-content > p {
  color: var(--gray-2);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 24px;
}
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}
.about-features .item {
  display: flex;
  gap: 10px;
}
.about-features .item .check {
  width: 22px;
  height: 22px;
  background: rgba(37,99,235,0.1);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}
.about-features .item h4 { font-size: 14px; margin-bottom: 2px; }
.about-features .item p { font-size: 12px; color: var(--gray-2); margin: 0; }

/* CTA */
.cta {
  background: var(--gradient-2);
  border-radius: var(--radius-lg);
  padding: 70px 40px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
}
.cta h2 { font-size: 36px; font-weight: 700; margin-bottom: 14px; }
.cta p { font-size: 17px; opacity: 0.9; margin-bottom: 28px; }

/* Footer */
.footer {
  background: var(--dark);
  color: var(--gray-3);
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand h3 {
  color: white;
  font-size: 20px;
  margin-bottom: 18px;
}
.footer-brand p { font-size: 14px; line-height: 1.8; margin-bottom: 18px; }
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 14px;
}
.footer h4 {
  color: white;
  font-size: 16px;
  margin-bottom: 20px;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 14px;
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--primary-light); }
.footer-qrcode {
  background: white;
  padding: 12px;
  border-radius: 12px;
  width: 120px;
  text-align: center;
}



.footer-qrcode div {
  width: 96px;
  height: 96px;
  background: #e2e8f0;
  border-radius: 8px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--gray-2);
}



.footer-qrcode div  img{
  width: 96px;
  height: 96px;
 
}



.footer-qrcode p { font-size: 12px; color: var(--dark); }
.copyright {
  padding: 22px 0;
  text-align: center;
  font-size: 13px;
  color: var(--gray-2);
}
.copyright a { color: var(--primary-light); }

/* Utility */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
}
.tag-blue { background: rgba(37,99,235,0.1); color: var(--primary); }
.tag-green { background: rgba(34,197,94,0.1); color: var(--success); }
.tag-red { background: rgba(239,68,68,0.1); color: var(--danger); }

.text-gradient {
  background: var(--gradient-2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ======================== */
/* 响应式适配 - 平板和手机 */
/* ======================== */
@media (max-width: 1024px) {
  .container { width: 100%; }
  .nav { display: none; }
  .header-btns { display: none; }
  .mobile-menu-btn { display: flex; }
  
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .rewards-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  body { font-size: 15px; }
  
  .container { padding: 0 16px; }
  .section { padding: 60px 0; }
  .section-title { margin-bottom: 36px; }
  .section-title h2 { font-size: 28px; }
  .section-title p { font-size: 15px; }
  
  .page-title-bar { padding: 110px 0 50px; }
  .page-title-bar h1 { font-size: 32px; }
  .page-title-bar p { font-size: 15px; padding: 0 20px; }
  
  .btn { padding: 11px 20px; font-size: 14px; }
  .btn-lg { padding: 13px 24px; font-size: 15px; }
  
  .header { height: 64px; }
  .header-inner { height: 64px; }
  .logo { font-size: 18px; }
  .logo-img { height: 36px; }
  
  .services-grid,
  .rewards-grid,
  .about-grid,
  .rule-cards,
  .contact-grid,
  .qr-section,
  .stats-summary {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }
  .footer-contact p { justify-content: center; }
  .footer-qrcode { margin: 0 auto; }
  
  .cta { padding: 50px 24px; }
  .cta h2 { font-size: 26px; }
  .cta p { font-size: 15px; }
  
  .about-img { height: 280px; }
  .about-content h2 { font-size: 28px; }
  .about-features { grid-template-columns: 1fr; }
  
  .card { padding: 24px; }
}

@media (max-width: 480px) {
  .section-title h2 { font-size: 24px; }
  .page-title-bar h1 { font-size: 28px; }
  .cta h2 { font-size: 22px; }
}
