/*
* GPT5中文网 - 主样式文件
* 功能说明：全局样式定义，包含导航栏、按钮、弹窗等通用组件样式
* 创建日期：2024年12月19日
* 作者：GPT5工作室
*/

/* 全局重置和基础样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #ffffff;
}

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

/* 导航栏样式 */
.navbar {
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.nav-logo h1 {
  color: #0066cc;
  font-size: 24px;
  font-weight: 700;
  margin: 0;
}

.logo-subtitle {
  color: #6b7280;
  font-size: 12px;
  display: block;
  margin-top: -5px;
}

.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 30px;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 8px 16px;
  border-radius: 6px;
}

.nav-link:hover {
  color: #0066cc;
  background-color: #f8fafc;
}

/* 特殊按钮样式 */
.recharge-btn {
  background: linear-gradient(135deg, #0066cc, #0052a3);
  color: white !important;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.recharge-btn:hover {
  background: linear-gradient(135deg, #0052a3, #004080);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.gpt-btn {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white !important;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.gpt-btn:hover {
  background: linear-gradient(135deg, #059669, #047857);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

/* 下拉菜单样式 */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 200px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  list-style: none;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-menu a {
  display: block;
  padding: 12px 20px;
  color: #333;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.dropdown-menu a:hover {
  background-color: #f8fafc;
  color: #0066cc;
}

/* 移动端导航切换按钮 */
.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: #333;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

/* 按钮样式 */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  line-height: 1.5;
}

.btn-primary {
  background: linear-gradient(135deg, #0066cc, #0052a3);
  color: white;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0052a3, #004080);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.btn-secondary {
  background: #f8fafc;
  color: #0066cc;
  border: 2px solid #0066cc;
}

.btn-secondary:hover {
  background: #0066cc;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 102, 204, 0.2);
}

/* 章节标题样式 */
.section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 50px;
  color: #1f2937;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(135deg, #0066cc, #10b981);
  border-radius: 2px;
}

/* 弹窗样式 - 简约版 */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
}

.modal-content {
  background-color: white;
  margin: 8% auto;
  padding: 20px;
  border-radius: 12px;
  width: 85%;
  max-width: 500px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  animation: modalSlideIn 0.3s ease;
  cursor: move;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.close {
  color: #aaa;
  float: right;
  font-size: 24px;
  font-weight: bold;
  position: absolute;
  right: 15px;
  top: 15px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close:hover {
  color: #000;
}

.modal-content h2 {
  color: #1f2937;
  margin-bottom: 20px;
  text-align: center;
  font-size: 22px;
}

/* 充值内容样式 */
.recharge-content {
  text-align: center;
}

.wechat-section {
  margin-bottom: 30px;
}

/* 主标题样式 */
.main-title {
  margin: 0 0 25px 0;
  color: #1f2937;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.wechat-info-center {
  text-align: center;
  margin: 20px 0;
}

/* 微信号大号显示 */
.wechat-id-large {
  margin-bottom: 15px;
  padding: 20px;
  background: #f8fafc;
  border-radius: 12px;
  border: 2px solid #e5e7eb;
}

.wechat-label {
  display: block;
  color: #6b7280;
  font-size: 14px;
  margin-bottom: 8px;
  font-weight: 500;
}

.wechat-number {
  color: #0066cc;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 1px;
  font-family: 'Courier New', monospace;
}

.service-note {
  margin: 0;
  color: #6b7280;
  font-size: 13px;
  font-weight: 400;
}

/* 步骤标题样式 */
.steps-title {
  margin: 0 0 20px 0;
  color: #1f2937;
  font-size: 18px;
  font-weight: 600;
}

.steps-grid {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.step {
  text-align: center;
  flex: 1;
  max-width: 120px;
}

.step-num {
  display: inline-block;
  width: 30px;
  height: 30px;
  background: #0066cc;
  color: white;
  border-radius: 50%;
  line-height: 30px;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
}

.step p {
  margin: 0;
  color: #374151;
  font-size: 13px;
  line-height: 1.4;
}

#wechatId {
  color: #0066cc;
  font-weight: 600;
  font-size: 16px;
}

.wechat-note {
  font-size: 12px;
  color: #6b7280;
  margin-top: 15px;
  line-height: 1.4;
}

/* 价格对比样式 */
.price-comparison {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
  padding: 20px;
  background: #f8fafc;
  border-radius: 12px;
}

.price-item {
  text-align: center;
  flex: 1;
}

.price-item h3 {
  color: #6b7280;
  font-size: 14px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.price {
  font-size: 32px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 5px;
}

.price span {
  font-size: 16px;
  color: #6b7280;
}

.price-item.highlight {
  background: linear-gradient(135deg, #0066cc, #0052a3);
  color: white;
  padding: 20px;
  border-radius: 12px;
  transform: scale(1.05);
}

.price-item.highlight h3,
.price-item.highlight .price,
.price-item.highlight p {
  color: white;
}

.price-arrow {
  font-size: 24px;
  color: #0066cc;
  font-weight: bold;
}

/* 服务特色样式 */
.service-features {
  margin-bottom: 30px;
}

.service-features h3 {
  color: #1f2937;
  font-size: 20px;
  margin-bottom: 15px;
}

.service-features ul {
  list-style: none;
  padding: 0;
}

.service-features li {
  padding: 8px 0;
  color: #4b5563;
  font-size: 16px;
}

/* 联系信息样式 */
.contact-info h3 {
  color: #1f2937;
  font-size: 20px;
  margin-bottom: 20px;
  text-align: center;
}

.wechat-info {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 25px;
  padding: 20px;
  background: #f0f9ff;
  border-radius: 12px;
  border: 2px solid #0066cc;
}

.wechat-id {
  flex: 1;
}

.wechat-id strong {
  font-size: 18px;
  color: #0066cc;
}

.qr-placeholder {
  flex: 1;
}

.qr-code {
  width: 120px;
  height: 120px;
  background: #e5e7eb;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  text-align: center;
}

.qr-code p {
  font-weight: 600;
  margin-bottom: 5px;
}

.qr-code small {
  font-size: 12px;
}

/* 充值流程样式 */
.contact-steps h4 {
  color: #1f2937;
  font-size: 18px;
  margin-bottom: 15px;
}

.contact-steps ol {
  padding-left: 20px;
}

.contact-steps li {
  margin-bottom: 8px;
  color: #4b5563;
  line-height: 1.6;
}

/* 动画效果 */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 页脚样式 */
.footer {
  background: #1f2937;
  color: #ffffff;
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
}

.footer-section h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #d1d5db;
}

.footer-section p {
  color: #9ca3af;
  line-height: 1.6;
  margin-bottom: 15px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section li {
  margin-bottom: 8px;
}

.footer-section a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #ffffff;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-link {
  display: inline-block;
  padding: 8px 16px;
  background: #374151;
  border-radius: 6px;
  color: #d1d5db;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: #0066cc;
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  color: #9ca3af;
  margin: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .footer {
    padding: 40px 0 20px;
  }
}

.modal-footer {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  padding-top: 25px;
  border-top: 1px solid #e5e7eb;
}

/* 大号按钮样式 */
.btn-large {
  padding: 15px 40px;
  font-size: 16px;
  font-weight: 600;
  min-width: 200px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-large:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 102, 204, 0.3);
}

/* 媒体查询 */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: white;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 20px 0;
    gap: 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    margin: 10px 0;
  }

  .nav-toggle {
    display: flex;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: #f8fafc;
    margin-top: 10px;
  }

  .container {
    padding: 0 15px;
  }

  .section-title {
    font-size: 28px;
  }

  .modal-content {
    margin: 10% auto;
    padding: 15px;
    width: 95%;
    max-width: none;
  }
  
  .wechat-info-center {
    margin: 15px 0;
  }
  
  .steps-grid {
    flex-direction: column;
    gap: 12px;
  }
  
  .step {
    max-width: none;
  }

  .price-comparison {
    flex-direction: column;
    gap: 20px;
  }

  .price-arrow {
    transform: rotate(90deg);
  }

  .modal-footer {
    margin-top: 25px;
    padding-top: 20px;
  }

  .btn-large {
    padding: 12px 30px;
    font-size: 15px;
    min-width: 180px;
  }

  .wechat-number {
    font-size: 20px;
  }

  .main-title {
    font-size: 20px;
  }
}

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

  .nav-logo h1 {
    font-size: 20px;
  }

  .section-title {
    font-size: 24px;
  }

  .modal-header h2 {
    font-size: 24px;
  }

  .price {
    font-size: 28px;
  }
}