/* 自定义样式 */
:root {
  --primary-color: #2563eb;
  --secondary-color: #60a5fa;
  --accent-color: #3b82f6;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --bg-light: #f8fafc;
}

body {
  color: var(--text-primary);
  background-color: white;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: bold;
}

.btn-primary {
  padding: 0.75rem 1.5rem;
  background-color: var(--primary-color);
  color: white;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  font-weight: 500;
}

.btn-primary:hover {
  background-color: var(--accent-color);
}

.btn-secondary {
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  font-weight: 500;
}

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

.section-title {
  font-size: 1.875rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.25rem;
  }
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 3rem;
}

.cta-hover {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cta-hover .cta-qr {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 50%;
  width: 10rem;
  padding: 0.75rem;
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
  display: none;
  z-index: 99;
  transform: translateX(-50%);
}

.cta-hover .cta-qr.cta-qr-up {
  top: auto;
  bottom: calc(100% + 0.75rem);
}

.cta-hover:hover .cta-qr,
.cta-hover:focus-within .cta-qr {
  display: block;
}

@media (max-width: 767px) {
  .cta-hover .cta-qr {
    left: 50%;
    transform: translateX(-50%);
  }

  .cta-hover .cta-qr.cta-qr-up {
    bottom: calc(100% + 0.75rem);
  }
}
