/* ===== 殴易钱包 全局样式 ===== */
:root {
  --primary: #165DFF;
  --primary-dark: #0E42D2;
  --primary-light: #4080FF;
  --accent: #00D4AA;
  --accent-dark: #00B894;
  --danger: #F53F3F;
  --warning: #FF7D00;
  --bg-dark: #0B1B3B;
  --bg-darker: #06122A;
  --bg-light: #F5F7FA;
  --bg-white: #FFFFFF;
  --text-primary: #1D2129;
  --text-secondary: #4E5969;
  --text-muted: #86909C;
  --border: #E5E6EB;
  --gradient-primary: linear-gradient(135deg, #165DFF 0%, #00D4AA 100%);
  --gradient-dark: linear-gradient(135deg, #0B1B3B 0%, #165DFF 100%);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 40px rgba(22, 93, 255, 0.35);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  color: var(--text-primary);
  background-color: var(--bg-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

/* ===== 容器 ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== 导航栏 ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-primary);
}

.brand-logo {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(22, 93, 255, 0.3);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text .main {
  color: var(--bg-dark);
}

.brand-text .sub {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 400;
}

.main-nav ul {
  display: flex;
  gap: 8px;
}

.main-nav a {
  display: inline-block;
  padding: 10px 18px;
  color: var(--text-primary);
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary);
  background: rgba(22, 93, 255, 0.08);
}

.nav-cta {
  display: flex;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 14px rgba(22, 93, 255, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(22, 93, 255, 0.45);
  color: white;
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.btn-light {
  background: white;
  color: var(--primary);
}

.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--primary-dark);
}

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

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

/* 汉堡菜单 */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== Hero 区 ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-dark);
  color: white;
  overflow: hidden;
  padding-top: 72px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(22, 93, 255, 0.6) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(0, 212, 170, 0.4) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 90%, rgba(139, 92, 246, 0.3) 0%, transparent 50%);
}

.hero-bg::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: 40px 40px;
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  animation: float linear infinite;
}

@keyframes float {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-10vh) rotate(720deg);
    opacity: 0;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 0;
}

.hero-text {
  animation: fadeInUp 0.8s ease-out;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  font-size: 0.85rem;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}

.hero-text h1 {
  color: white;
  margin-bottom: 20px;
  font-weight: 800;
}

.hero-text h1 .gradient-text {
  background: linear-gradient(135deg, #00D4AA 0%, #4080FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text .subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-stat-item .num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  display: block;
}

.hero-stat-item .label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.hero-visual {
  position: relative;
  animation: fadeInRight 0.8s ease-out 0.2s backwards;
}

.hero-phone {
  position: relative;
  width: 280px;
  height: 560px;
  margin: 0 auto;
  background: #1a1a2e;
  border-radius: 40px;
  border: 8px solid #2a2a4a;
  box-shadow: var(--shadow-glow), 0 0 80px rgba(0, 212, 170, 0.2);
  overflow: hidden;
}

.hero-phone::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 20px;
  background: #0a0a1a;
  border-radius: 12px;
  z-index: 10;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--gradient-dark);
  padding: 40px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.phone-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 14px;
  backdrop-filter: blur(8px);
}

.phone-card.price {
  background: linear-gradient(135deg, rgba(22, 93, 255, 0.5), rgba(0, 212, 170, 0.3));
}

.phone-card .label {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 4px;
}

.phone-card .value {
  font-size: 1.3rem;
  font-weight: 700;
  color: white;
}

.phone-card .change {
  font-size: 0.75rem;
  color: var(--accent);
}

.phone-chart {
  height: 100px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  margin-top: 8px;
  position: relative;
  overflow: hidden;
}

.phone-chart::before {
  content: '';
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  height: 60px;
  background: linear-gradient(90deg, transparent 0%, #00D4AA 20%, #165DFF 60%, #00D4AA 100%);
  clip-path: polygon(0 100%, 5% 70%, 15% 80%, 25% 50%, 35% 60%, 45% 30%, 55% 45%, 65% 20%, 75% 35%, 85% 15%, 95% 25%, 100% 10%, 100% 100%);
  opacity: 0.8;
}

.hero-float-card {
  position: absolute;
  background: white;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: floatCard 4s ease-in-out infinite;
}

.hero-float-card.card-1 {
  top: 10%;
  right: -30px;
  animation-delay: 0s;
}

.hero-float-card.card-2 {
  bottom: 15%;
  left: -30px;
  animation-delay: 2s;
}

.float-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}

.float-icon.blue { background: var(--primary); }
.float-icon.green { background: var(--accent); }

.float-text strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.float-text small {
  font-size: 0.75rem;
  color: var(--text-muted);
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ===== 动画关键帧 ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

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

/* ===== Section 通用 ===== */
.section {
  padding: 100px 0;
}

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

.section-header .tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(22, 93, 255, 0.1);
  color: var(--primary);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ===== Features ===== */
.features {
  background: var(--bg-white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.feature-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(22, 93, 255, 0.1), rgba(0, 212, 170, 0.1));
  color: var(--primary);
}

.feature-card h3 {
  margin-bottom: 12px;
  color: var(--text-primary);
}

.feature-card p {
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.feature-list li::before {
  content: '✓';
  width: 18px;
  height: 18px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ===== Services ===== */
.services {
  background: var(--bg-light);
}

.services-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.services-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.services-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services-content h2 {
  margin-bottom: 20px;
}

.services-content p {
  margin-bottom: 28px;
}

.service-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.service-item:last-child {
  border-bottom: none;
}

.service-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gradient-primary);
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-item h4 {
  margin-bottom: 6px;
}

.service-item p {
  margin-bottom: 0;
  font-size: 0.92rem;
}

/* ===== Detailed Content ===== */
.detail-section {
  background: var(--bg-white);
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 100px;
}

.detail-grid:last-child {
  margin-bottom: 0;
}

.detail-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.detail-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.detail-content h2 {
  margin-bottom: 20px;
}

.detail-content p {
  margin-bottom: 20px;
}

.detail-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.detail-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.detail-feature .check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: rgba(0, 212, 170, 0.15);
  color: var(--accent-dark);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.detail-feature span {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

/* ===== Download / CTA ===== */
.download-section {
  background: var(--gradient-dark);
  color: white;
  position: relative;
  overflow: hidden;
}

.download-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 212, 170, 0.3) 0%, transparent 70%);
}

.download-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.download-content .tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: white;
  border-radius: 100px;
  font-size: 0.85rem;
  margin-bottom: 16px;
}

.download-content h2 {
  color: white;
  margin-bottom: 16px;
}

.download-content p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto 40px;
}

.download-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.download-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 32px;
  background: white;
  border-radius: var(--radius-md);
  transition: var(--transition);
  min-width: 220px;
}

.download-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.download-btn .icon {
  font-size: 2rem;
  color: var(--bg-dark);
}

.download-btn .info {
  text-align: left;
}

.download-btn .info small {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.download-btn .info strong {
  display: block;
  font-size: 1.05rem;
  color: var(--bg-dark);
}

/* ===== FAQ ===== */
.faq-section {
  background: var(--bg-light);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  padding: 22px 28px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  font-family: inherit;
}

.faq-question .toggle {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(22, 93, 255, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition);
}

.faq-item.active .faq-question .toggle {
  background: var(--primary);
  color: white;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer-inner {
  padding: 0 28px 22px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ===== CTA Section ===== */
.cta-section {
  background: var(--bg-dark);
  color: white;
  padding: 80px 0;
}

.cta-wrapper {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}

.cta-content h2 {
  color: white;
  margin-bottom: 12px;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0;
}

.cta-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--bg-darker);
  color: rgba(255, 255, 255, 0.7);
  padding-top: 80px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  max-width: 320px;
}

.footer-brand .brand {
  margin-bottom: 20px;
  color: white;
}

.footer-brand p {
  font-size: 0.9rem;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: var(--transition);
  font-size: 1.1rem;
}

.footer-social a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-col h4 {
  color: white;
  margin-bottom: 22px;
  font-size: 1rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-bottom {
  padding: 28px 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.6);
}

/* ===== 页面 Banner（内页通用） ===== */
.page-banner {
  background: var(--gradient-dark);
  padding: 140px 0 80px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(22, 93, 255, 0.5) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 60%, rgba(0, 212, 170, 0.4) 0%, transparent 55%);
}

.page-banner .container {
  position: relative;
  z-index: 2;
}

.page-banner h1 {
  color: white;
  margin-bottom: 16px;
}

.page-banner p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 auto;
}

.breadcrumb {
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb span {
  margin: 0 10px;
}

/* ===== 关于页 ===== */
.about-intro {
  padding: 80px 0;
}

.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.about-text h2 {
  margin-bottom: 20px;
}

.about-text p {
  margin-bottom: 18px;
}

.about-stats {
  padding: 80px 0;
  background: var(--bg-light);
}

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

.about-stat {
  text-align: center;
  padding: 36px 20px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.about-stat:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.about-stat .num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}

.about-stat .label {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ===== 产品页 ===== */
.products-grid {
  padding: 80px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
}

.product-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.product-image {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}

.product-info {
  padding: 28px;
}

.product-info h3 {
  margin-bottom: 10px;
}

.product-info p {
  font-size: 0.92rem;
  margin-bottom: 20px;
}

.product-specs {
  display: flex;
  gap: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.product-specs strong {
  display: block;
  color: var(--primary);
  font-size: 1rem;
}

/* ===== 新闻列表页 ===== */
.news-list {
  padding: 80px 0;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.news-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

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

.news-image {
  height: 200px;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
  transform: scale(1.08);
}

.news-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-meta {
  display: flex;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.news-meta .cat {
  color: var(--primary);
  font-weight: 600;
}

.news-card h3 {
  margin-bottom: 12px;
  font-size: 1.1rem;
  line-height: 1.5;
}

.news-card h3 a {
  color: var(--text-primary);
}

.news-card h3 a:hover {
  color: var(--primary);
}

.news-card p {
  font-size: 0.9rem;
  margin-bottom: 16px;
  flex: 1;
}

.read-more {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.read-more::after {
  content: '→';
  transition: transform 0.3s ease;
}

.read-more:hover::after {
  transform: translateX(4px);
}

/* ===== 新闻详情页 ===== */
.news-detail {
  padding: 80px 0;
}

.detail-wrapper {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 50px;
}

.detail-article {
  background: white;
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.article-header {
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.article-header h1 {
  margin-bottom: 16px;
  font-size: 1.8rem;
}

.article-meta {
  display: flex;
  gap: 24px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.article-cover {
  margin-bottom: 32px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.article-cover img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.article-body {
  font-size: 1.05rem;
  line-height: 1.9;
}

.article-body p {
  margin-bottom: 22px;
}

.article-body h3 {
  margin: 36px 0 16px;
}

.article-body ul,
.article-body ol {
  margin-bottom: 22px;
  padding-left: 24px;
}

.article-body li {
  color: var(--text-secondary);
  margin-bottom: 10px;
  list-style: disc;
}

.article-body ol li {
  list-style: decimal;
}

/* 侧边栏 */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.sidebar-widget {
  background: white;
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.sidebar-widget h4 {
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

.sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sidebar-list a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  display: block;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--border);
  line-height: 1.5;
  transition: var(--transition);
}

.sidebar-list a:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sidebar-list a:hover {
  color: var(--primary);
  padding-left: 6px;
}

/* ===== 联系页 ===== */
.contact-section {
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h2 {
  margin-bottom: 20px;
}

.contact-info > p {
  margin-bottom: 32px;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-item .icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  background: rgba(22, 93, 255, 0.1);
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.contact-item h4 {
  margin-bottom: 6px;
  font-size: 1rem;
}

.contact-item p {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.contact-form-wrapper {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  font-size: 0.95rem;
  font-family: inherit;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-light);
  transition: var(--transition);
  color: var(--text-primary);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 3px rgba(22, 93, 255, 0.1);
}

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

/* ===== 返回顶部 ===== */
.back-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 999;
  font-size: 1.2rem;
  border: none;
}

.back-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-top:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .hero-content,
  .services-layout,
  .detail-grid,
  .about-intro-grid,
  .contact-grid,
  .detail-wrapper {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .hero-visual {
    order: -1;
    max-width: 400px;
    margin: 0 auto;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .about-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cta-actions {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 70px 0;
  }

  .main-nav,
  .nav-cta .btn-outline {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .main-nav.open {
    display: block;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: white;
    padding: 20px;
    box-shadow: var(--shadow-md);
    border-top: 1px solid var(--border);
  }

  .main-nav.open ul {
    flex-direction: column;
    gap: 4px;
  }

  .main-nav.open a {
    display: block;
    padding: 14px 18px;
  }

  .hero {
    min-height: auto;
    padding-top: 72px;
  }

  .hero-content {
    padding: 60px 0;
    gap: 40px;
  }

  .hero-phone {
    width: 220px;
    height: 440px;
  }

  .hero-float-card.card-1 {
    right: -10px;
  }

  .hero-float-card.card-2 {
    left: -10px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-brand {
    max-width: 100%;
  }

  .about-stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .about-stat {
    padding: 24px 16px;
  }

  .about-stat .num {
    font-size: 1.8rem;
  }

  .detail-features {
    grid-template-columns: 1fr;
  }

  .services-image img,
  .detail-image img,
  .about-image img {
    height: 280px;
  }

  .page-banner {
    padding: 120px 0 60px;
  }

  .contact-form-wrapper,
  .detail-article {
    padding: 28px;
  }

  .article-cover img {
    height: 240px;
  }

  .download-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-stats {
    gap: 24px;
  }

  .hero-stat-item .num {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .hero-text h1 {
    font-size: 1.8rem;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .about-stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}
