/* Hero优化样式 - 从test.html提取 */
.hero-optimized {
  padding: 80px 0 60px;
  background: 
    radial-gradient(800px 400px at 15% 10%, rgba(245,166,35,.08), transparent 65%),
    radial-gradient(700px 400px at 85% 20%, rgba(73,90,106,.06), transparent 70%),
    linear-gradient(180deg, #fafbfc 0%, #f6f8fa 50%, #f2f5f8 100%);
  position: relative;
  overflow: hidden;
}

.hero-optimized::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245,166,35,.12), transparent 60%);
  border-radius: 50%;
  filter: blur(80px);
  animation: float 8s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.hero-grid-opt {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content-opt {
  max-width: 600px;
}

.hero-badge-opt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 6px;
  border-radius: 100px;
  background: rgba(255,255,255,.4);
  border: 1px solid rgba(255,255,255,.6);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
  margin-bottom: 24px;
  animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-badge-opt .dot {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #00a870, #00c984);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,168,112,.2);
}

.hero-badge-opt .dot::after {
  content: "✓";
  color: white;
  font-size: 16px;
  font-weight: bold;
}

.hero-badge-opt span {
  font-size: 13px;
  font-weight: 600;
  color: #3d4f5c;
  letter-spacing: 0px;
}

.hero-title-opt {
  font-size: 58px;
  font-weight: 900;
  line-height: 1.1;
  color: #2c3e50;
  margin: 0 0 20px;
  letter-spacing: -1px;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-title-opt .highlight {
  display: inline-block;
  background: linear-gradient(135deg, #f5a623 0%, #ffc658 50%, #e89b2f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.2); }
}

.hero-title-opt .shield {
  color: #3d4f5c;
  font-weight: 950;
}

.hero-subtitle-opt {
  font-size: 17px;
  line-height: 1.7;
  color: #546e7a;
  margin: 0 0 32px;
  max-width: 540px;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-cta-opt {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #495a6a, #3d4f5c);
  border: none;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(73,90,106,.25), inset 0 1px 0 rgba(255,255,255,.15);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.22, 0.78, 0.22, 1);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.btn-hero-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
  transition: left 0.5s;
}

.btn-hero-primary:hover::before {
  left: 100%;
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(73,90,106,.35), inset 0 1px 0 rgba(255,255,255,.2);
}

.btn-hero-accent {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #f5a623, #e89b2f);
  border: none;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(245,166,35,.3), inset 0 1px 0 rgba(255,255,255,.2);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.22, 0.78, 0.22, 1);
  text-decoration: none;
}

.btn-hero-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(245,166,35,.4), inset 0 1px 0 rgba(255,255,255,.25);
}

.btn-hero-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 800;
  color: #3d4f5c;
  background: rgba(255,255,255,.8);
  border: 2px solid rgba(73,90,106,.2);
  border-radius: 14px;
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.22, 0.78, 0.22, 1);
  text-decoration: none;
}

.btn-hero-outline:hover {
  background: rgba(255,255,255,1);
  border-color: rgba(73,90,106,.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(73,90,106,.15);
}

.hero-stats-opt {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  animation: fadeInUp 0.8s ease-out 0.8s both;
}

.stat-card {
  background: transparent;
  border: none;
  padding: 0;
  text-align: left;
}

.stat-number {
  font-size: 40px;
  font-weight: 800;
  color: #2c3e50;
  line-height: 1;
  margin-bottom: 8px;
  display: flex;
  align-items: baseline;
  gap: 3px;
}

.stat-number .unit {
  font-size: 24px;
  color: #6b7e8f;
  font-weight: 600;
}

.stat-label {
  font-size: 14px;
  font-weight: 500;
  color: #8fa3b3;
}

.hero-visual-opt {
  position: relative;
  min-height: 500px;
  animation: fadeIn 1s ease-out 0.4s both;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.visual-card {
  position: absolute;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(73,90,106,.15);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 16px 40px rgba(73,90,106,.15);
  animation: floatCard 6s ease-in-out infinite;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.visual-card-1 {
  top: 60px;
  left: 40px;
  width: 280px;
  animation-delay: 0s;
}

.visual-card-2 {
  top: 180px;
  right: 30px;
  width: 300px;
  animation-delay: 1s;
}

.visual-card-3 {
  bottom: 80px;
  left: 80px;
  width: 260px;
  animation-delay: 2s;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(245,166,35,.15), rgba(245,166,35,.08));
  border: 1px solid rgba(245,166,35,.25);
}

.card-icon svg {
  width: 24px;
  height: 24px;
  stroke: #f5a623;
}

.card-title {
  font-size: 16px;
  font-weight: 800;
  color: #2c3e50;
  margin: 0;
}

.card-desc {
  font-size: 13px;
  color: #6b7e8f;
  line-height: 1.6;
  margin: 0;
}

.card-metric {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 8px 14px;
  background: linear-gradient(135deg, rgba(0,168,112,.12), rgba(0,168,112,.08));
  border: 1px solid rgba(0,168,112,.2);
  border-radius: 10px;
  font-size: 20px;
  font-weight: 900;
  color: #00a870;
}

@media (max-width: 980px) {
  .hero-grid-opt {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-title-opt {
    font-size: 42px;
  }
  
  .hero-visual-opt {
    min-height: 400px;
  }
  
  .hero-stats-opt {
    flex-wrap: wrap;
  }
}

