* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  color: #333;
  background: #f5f7fa;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

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

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

.header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 700;
  color: #1a3a5c;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #2b6cb0, #3182ce);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

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

.nav a {
  font-size: 15px;
  color: #555;
  transition: color 0.2s;
  position: relative;
  padding: 4px 0;
}

.nav a:hover,
.nav a.active {
  color: #2b6cb0;
}

.nav a.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: #2b6cb0;
  border-radius: 1px;
}

.nav-user {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 28px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.btn-primary {
  background: linear-gradient(135deg, #2b6cb0, #3182ce);
  color: #fff;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1a5a9e, #2b6cb0);
  box-shadow: 0 4px 12px rgba(43,108,176,0.3);
}

.btn-outline {
  background: transparent;
  color: #2b6cb0;
  border: 1px solid #2b6cb0;
}

.btn-outline:hover {
  background: #2b6cb0;
  color: #fff;
}

.btn-warm {
  background: linear-gradient(135deg, #e8a838, #f0b84d);
  color: #fff;
}

.btn-warm:hover {
  background: linear-gradient(135deg, #d4952e, #e8a838);
  box-shadow: 0 4px 12px rgba(232,168,56,0.3);
}

.btn-lg {
  padding: 14px 40px;
  font-size: 17px;
  border-radius: 8px;
}

.btn-sm {
  padding: 6px 16px;
  font-size: 13px;
}

.footer {
  background: #1a2332;
  color: #a0aec0;
  padding: 48px 0 24px;
  margin-top: 80px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

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

.footer-brand .logo {
  color: #fff;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  color: #8899aa;
}

.footer-links {
  display: flex;
  gap: 64px;
}

.footer-links h4 {
  color: #e2e8f0;
  font-size: 15px;
  margin-bottom: 16px;
}

.footer-links a {
  display: block;
  font-size: 14px;
  color: #8899aa;
  margin-bottom: 10px;
  transition: color 0.2s;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  font-size: 13px;
  color: #667788;
}

.footer-bottom a {
  color: #8899aa;
  transition: color 0.2s;
}

.footer-bottom a:hover {
  color: #e2e8f0;
}

.floating-contact {
  position: fixed;
  right: 24px;
  bottom: 100px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.floating-contact-item {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  box-shadow: 0 4px 20px rgba(7, 193, 96, 0.35);
  background: linear-gradient(135deg, #07c160 0%, #05a050 100%);
}

.floating-contact-item.wechat {
  color: #fff;
}

.floating-contact-item:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 8px 30px rgba(7, 193, 96, 0.45);
}

.floating-tooltip {
  position: absolute;
  right: 76px;
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  white-space: nowrap;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: fadeIn 0.2s ease-out;
}

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

.floating-contact-item:hover .floating-tooltip {
  display: flex;
}

.tooltip-qr {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
}

.tooltip-qr img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tooltip-text {
  font-size: 13px;
  color: #666;
  text-align: center;
}

.floating-label {
  text-align: center;
  font-size: 12px;
  color: #07c160;
  margin-top: -4px;
  letter-spacing: 1px;
}

.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title h2 {
  font-size: 32px;
  color: #1a2332;
  margin-bottom: 12px;
}

.section-title p {
  font-size: 16px;
  color: #718096;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  max-width: 480px;
  width: 90%;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border: none;
  background: #f0f0f0;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
}

.modal h3 {
  font-size: 20px;
  margin-bottom: 16px;
  color: #1a2332;
}

.modal p {
  font-size: 15px;
  color: #555;
  margin-bottom: 24px;
  line-height: 1.7;
}

.toast {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: #fff;
  border-radius: 8px;
  padding: 14px 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  z-index: 3000;
  opacity: 0;
  transition: all 0.3s;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast.success {
  border-left: 4px solid #48bb78;
}

.toast.error {
  border-left: 4px solid #f56565;
}

.toast.warning {
  border-left: 4px solid #e8a838;
}

.breadcrumb {
  padding: 16px 0;
  font-size: 14px;
  color: #999;
}

.breadcrumb a {
  color: #2b6cb0;
}

.breadcrumb span {
  margin: 0 8px;
  color: #ccc;
}

.tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
}

.tag-free {
  background: #e6ffed;
  color: #22863a;
}

.tag-paid {
  background: #fff5e6;
  color: #d4952e;
}

.tag-hot {
  background: #ffe6e6;
  color: #e53e3e;
}

.user-dropdown {
  position: relative;
}

.user-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background 0.2s;
}

.user-dropdown-toggle:hover {
  background: #f5f7fa;
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2b6cb0, #3182ce);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
}

.user-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  padding: 8px 0;
  min-width: 160px;
  display: none;
}

.user-dropdown:hover .user-dropdown-menu {
  display: block;
}

.user-dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: #555;
  transition: background 0.2s;
}

.user-dropdown-menu a:hover {
  background: #f5f7fa;
  color: #2b6cb0;
}

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

.input-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #444;
  margin-bottom: 8px;
}

.input-group input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 15px;
  transition: border-color 0.2s;
  outline: none;
}

.input-group input:focus {
  border-color: #2b6cb0;
  box-shadow: 0 0 0 3px rgba(43,108,176,0.1);
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.checkbox-group input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #2b6cb0;
}

.checkbox-group label {
  font-size: 14px;
  color: #666;
}

.checkbox-group a {
  color: #2b6cb0;
}

.price {
  color: #e53e3e;
  font-weight: 700;
}

.price-symbol {
  font-size: 16px;
}

.price-value {
  font-size: 32px;
}

.price-original {
  color: #999;
  text-decoration: line-through;
  font-size: 16px;
  margin-left: 8px;
}

@media (max-width: 1200px) {
  .container {
    width: 100%;
  }
}
