/*
* GPT5中文官网 - 主样式表
* 创建日期：2025年1月27日
* 作者：GPT5.top
* 功能：网站主要样式定义，包含布局、颜色、字体等
*/

/* 全局重置和基础样式 */
* {
  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;
}

/* ChatGPT官网绿色系配色 */
:root {
  --primary-color: #10a37f;        /* 主绿色 */
  --primary-hover: #0d8f6b;        /* 悬停绿色 */
  --secondary-color: #6366f1;      /* 辅助紫色 */
  --accent-color: #f59e0b;         /* 强调橙色 */
  --text-primary: #1f2937;         /* 主文本色 */
  --text-secondary: #6b7280;       /* 次要文本色 */
  --background-light: #f9fafb;     /* 浅背景色 */
  --border-color: #e5e7eb;         /* 边框色 */
  --white: #ffffff;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

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

/* 顶部导航栏 */
.header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.navbar {
  padding: 0;
}

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

.nav-logo h1 {
  color: var(--primary-color);
  font-size: 24px;
  font-weight: 700;
}

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

.nav-link {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-size: 14px;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
  background-color: rgba(16, 163, 127, 0.1);
}

/* 立即充值按钮 */
.recharge-btn {
  background: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
}

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

/* 移动端菜单按钮 */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  transition: all 0.3s ease;
}

/* 主要内容区域 */
.main-content {
  margin-top: 70px; /* 为固定导航栏留出空间 */
}

/* 英雄区域 */
.hero-section {
  background: linear-gradient(135deg, #fefefe 0%, #f9fafb 50%, #f3f4f6 100%);
  padding: 80px 0;
  min-height: 600px;
  display: flex;
  align-items: center;
}

.hero-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

/* 简洁标题设计 */
.hero-title-clean {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 30px;
  color: var(--text-primary);
}

.title-brand {
  display: block;
  background: linear-gradient(135deg, var(--primary-color), #059669);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.1em;
  font-weight: 900;
  margin-bottom: 8px;
}

.title-desc {
  display: block;
  font-weight: 600;
  color: var(--text-primary);
}

/* 简洁副标题 */
.hero-subtitle-clean {
  font-size: 22px;
  color: var(--text-secondary);
  margin-bottom: 50px;
  line-height: 1.6;
  font-weight: 400;
  max-width: 85%;
}

/* 核心特点 - 水平排列 */
.hero-highlights {
  display: flex;
  flex-direction: row;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  flex: 1;
  min-width: 0;
}

.highlight-icon {
  font-size: 16px;
  width: 32px;
  height: 32px;
  background: rgba(16, 163, 127, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.highlight-text {
  font-weight: 500;
  white-space: nowrap;
}

/* 简洁按钮 */
.hero-buttons-clean {
  display: flex;
  gap: 24px;
  align-items: center;
}

.btn-primary-clean {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 18px 36px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-primary-clean:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(16, 163, 127, 0.3);
}

.btn-secondary-clean {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  padding: 18px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.btn-secondary-clean:hover {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

.btn-primary {
  background: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 16px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

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

.btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

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

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* AI对话界面样式 */
.ai-chat-container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 10px;
}

.chat-interface {
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  animation: chatFadeIn 1s ease-out;
}

/* 消息样式 */
.message {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  animation: messageSlideIn 0.8s ease-out;
}

.user-msg {
  flex-direction: row-reverse;
  animation-delay: 0.5s;
}

.ai-msg {
  animation-delay: 1.5s;
}

/* 头像样式 */
.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.user-avatar {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
}

.ai-avatar {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  position: relative;
  overflow: hidden;
}

/* AI大脑动画 */
.ai-brain {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brain-core {
  width: 16px;
  height: 16px;
  background: radial-gradient(circle, #fbbf24, #f59e0b);
  border-radius: 50%;
  animation: brainPulse 2s ease-in-out infinite;
}

.neural-dots {
  position: absolute;
  width: 100%;
  height: 100%;
}

.dot {
  position: absolute;
  width: 3px;
  height: 3px;
  background: #fbbf24;
  border-radius: 50%;
  animation: dotFlicker 1.5s ease-in-out infinite;
}

.dot-1 {
  top: 8px;
  left: 12px;
  animation-delay: 0s;
}

.dot-2 {
  top: 20px;
  right: 8px;
  animation-delay: 0.5s;
}

.dot-3 {
  bottom: 12px;
  left: 18px;
  animation-delay: 1s;
}

/* 消息气泡样式 */
.message-bubble {
  max-width: 250px;
  padding: 12px 16px;
  border-radius: 18px;
  position: relative;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.user-bubble {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
  border-bottom-right-radius: 6px;
}

.ai-bubble {
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  color: #1f2937;
  border-bottom-left-radius: 6px;
  border: 1px solid #e5e7eb;
}

/* 打字动画 */
.typing-text {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  animation: typeWriter 2s steps(20) 1s both;
}

.ai-response {
  animation: typeWriter 3s steps(30) 2.5s both;
}

/* 打字指示器 */
.typing-indicator {
  display: flex;
  gap: 4px;
  margin-top: 8px;
  opacity: 0;
  animation: indicatorShow 0.5s ease-in 2s both;
}

.typing-indicator span {
  width: 6px;
  height: 6px;
  background: #9ca3af;
  border-radius: 50%;
  animation: typingDots 1.4s ease-in-out infinite;
}

.typing-indicator span:nth-child(1) {
  animation-delay: 0s;
}

.typing-indicator span:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
  animation-delay: 0.4s;
}

/* 代码生成窗口 */
.code-generation {
  margin-top: 20px;
  animation: codeSlideUp 1s ease-out 3.5s both;
}

.code-window {
  background: #1f2937;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  max-width: 300px;
}

.window-header {
  background: #374151;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.window-controls {
  display: flex;
  gap: 6px;
}

.control {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.control.close {
  background: #ef4444;
}

.control.minimize {
  background: #f59e0b;
}

.control.maximize {
  background: #10b981;
}

.window-title {
  color: #d1d5db;
  font-size: 12px;
  font-weight: 500;
}

.code-content {
  padding: 12px;
  font-family: 'Courier New', monospace;
  font-size: 12px;
}

.code-line {
  display: flex;
  gap: 12px;
  margin-bottom: 4px;
  animation: codeLine 0.8s ease-out;
}

.code-line:nth-child(1) {
  animation-delay: 4s;
}

.code-line:nth-child(2) {
  animation-delay: 4.3s;
}

.code-line:nth-child(3) {
  animation-delay: 4.6s;
}

.line-number {
  color: #6b7280;
  min-width: 20px;
}

.code-text {
  color: #d1d5db;
}



.gpt5-logo {
  font-size: 72px;
  font-weight: 900;
  color: var(--primary-color);
  text-align: center;
  padding: 60px;
  border: 4px solid var(--primary-color);
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 20px 40px rgba(16, 163, 127, 0.2);
}

/* 通用区域样式 */
.features-section,
.pricing-section,
.highlights-section,
.testimonials-section {
  padding: 80px 0;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  color: var(--text-primary);
  margin-bottom: 60px;
}

/* 特色功能区域 */
.features-section {
  background: var(--background-light);
}

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

.feature-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 15px;
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* 价格表区域 */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--white);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-5px);
}

.pricing-card.featured {
  border-color: var(--primary-color);
  transform: scale(1.05);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-color);
  color: var(--white);
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}

.pricing-card h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.price {
  font-size: 48px;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 30px;
}

.price span {
  font-size: 18px;
  color: var(--text-secondary);
}

.features-list {
  list-style: none;
  margin-bottom: 40px;
}

.features-list li {
  padding: 8px 0;
  color: var(--text-secondary);
}

/* 亮点介绍区域 */
.highlights-section {
  background: var(--background-light);
}

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

.highlight-item {
  background: var(--white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.highlight-item h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 15px;
}

.highlight-item p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* 客户评价区域 */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: var(--white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary-color);
}

.testimonial-card p {
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.6;
}

.customer-info strong {
  color: var(--text-primary);
  font-weight: 600;
}

.customer-info span {
  color: var(--text-secondary);
  font-size: 14px;
}

/* GPT5特性区域 */
.gpt5-features {
  padding: 80px 0;
  background: var(--white);
}

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

.feature-card {
  background: var(--white);
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-color);
}

.feature-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.feature-icon-large {
  font-size: 32px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(16, 163, 127, 0.1);
  border-radius: 12px;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 15px 0;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  padding: 5px 0;
  color: var(--text-secondary);
  position: relative;
  padding-left: 20px;
}

.feature-list li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

/* GPT5技术指标区域 */
.gpt5-metrics {
  padding: 80px 0;
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.metric-item {
  text-align: center;
  background: var(--white);
  padding: 40px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.metric-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.metric-number {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.metric-label {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 5px;
}

.metric-desc {
  font-size: 14px;
  color: var(--text-secondary);
}

/* 页脚 */
.footer {
  background: var(--text-primary);
  color: var(--white);
  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,
.footer-section h4 {
  margin-bottom: 20px;
  color: var(--white);
}

.footer-section h3 {
  font-size: 24px;
  color: var(--primary-color);
}

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

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

.footer-section ul li a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--primary-color);
}

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

/* 微信弹窗样式 */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: var(--white);
  margin: 15% auto;
  padding: 40px;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  position: relative;
}

.close {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  color: var(--text-secondary);
}

.close:hover {
  color: var(--text-primary);
}

.modal-content h3 {
  color: var(--text-primary);
  margin-bottom: 20px;
  font-size: 24px;
}

.wechat-info {
  background: var(--background-light);
  padding: 20px;
  border-radius: 8px;
  margin: 20px 0;
  font-size: 18px;
  color: var(--primary-color);
}

.service-time,
.recharge-speed {
  color: var(--text-secondary);
  margin: 10px 0;
}