/*
* GPT5中文官网 - 响应式样式表
* 创建日期：2025年1月27日
* 作者：GPT5.top
* 功能：移动端和平板端的响应式布局样式
*/

/* 平板端样式 (768px - 1024px) */
@media screen and (max-width: 1024px) {
  .container {
    padding: 0 15px;
  }
  
  .nav-container {
    padding: 0 15px;
  }
  
  .hero-section .container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-title {
    font-size: 40px;
  }
  
  .hero-subtitle {
    font-size: 20px;
  }
  
  .gpt5-logo {
    font-size: 60px;
    padding: 40px;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .pricing-card.featured {
    transform: none;
  }
}

/* 移动端样式 (最大宽度 768px) */
@media screen and (max-width: 768px) {
  /* 导航栏移动端适配 */
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--white);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 50px;
    transition: left 0.3s ease;
    box-shadow: var(--shadow);
  }
  
  .nav-menu.active {
    left: 0; /* 显示移动端菜单 */
  }
  
  .nav-menu li {
    margin: 15px 0;
  }
  
  .nav-link {
    font-size: 18px;
    padding: 15px 30px;
  }
  
  /* 显示汉堡菜单按钮 */
  .hamburger {
    display: flex;
  }
  
  /* 汉堡菜单动画效果 */
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
  
  /* 立即充值按钮在移动端保持可见 */
  .recharge-btn {
    padding: 10px 20px;
    font-size: 13px;
  }

  /* 简洁英雄区移动端适配 */
  .hero-title-clean {
    font-size: 40px;
  }
  
  .hero-subtitle-clean {
    font-size: 18px;
    max-width: 100%;
    margin-bottom: 40px;
  }
  
  .hero-highlights {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
  }
  
  .highlight-item {
    font-size: 14px;
    flex: none;
  }
  
  .highlight-icon {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }
  
  .hero-buttons-clean {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  
  .btn-primary-clean,
  .btn-secondary-clean {
    text-align: center;
    padding: 16px 24px;
    font-size: 16px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .feature-card {
    padding: 20px;
  }

  .metric-item {
    padding: 30px 15px;
  }

  .metric-number {
    font-size: 28px;
  }
  
  /* 英雄区域移动端适配 */
  .hero-section {
    padding: 60px 0;
    min-height: auto;
  }
  
  .hero-title {
    font-size: 32px;
    margin-bottom: 12px;
  }
  
  .hero-subtitle {
    font-size: 18px;
    margin-bottom: 15px;
  }
  
  .hero-description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 15px;
    align-items: stretch;
  }
  
  .btn-primary,
  .btn-secondary {
    padding: 14px 24px;
    font-size: 15px;
    text-align: center;
  }
  
  .gpt5-logo {
    font-size: 48px;
    padding: 30px;
  }
  
  /* AI对话界面移动端适配 */
  .ai-chat-container {
    padding: 15px;
  }
  
  .chat-interface {
    max-width: 320px;
  }
  
  .message-bubble {
    max-width: 200px;
    padding: 10px 14px;
  }
  
  .avatar {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }
  
  .code-window {
    max-width: 250px;
  }
  

  
  /* 区域间距调整 */
  .features-section,
  .pricing-section,
  .highlights-section,
  .testimonials-section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 28px;
    margin-bottom: 40px;
  }
  
  /* 特色功能网格 */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .feature-card {
    padding: 30px 20px;
  }
  
  .feature-icon {
    font-size: 40px;
    margin-bottom: 15px;
  }
  
  /* 价格表移动端适配 */
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .pricing-card {
    padding: 30px 20px;
  }
  
  .price {
    font-size: 36px;
  }
  
  /* 亮点介绍网格 */
  .highlights-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .highlight-item {
    padding: 25px 20px;
  }
  
  /* 客户评价网格 */
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .testimonial-card {
    padding: 25px 20px;
  }
  
  /* 页脚移动端适配 */
  .footer {
    padding: 40px 0 15px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 30px;
  }
  
  .footer-section {
    text-align: center;
  }
  
  /* 微信弹窗移动端适配 */
  .modal-content {
    margin: 20% auto;
    padding: 30px 20px;
    width: 95%;
    max-width: 350px;
  }
  
  .modal-content h3 {
    font-size: 20px;
    margin-bottom: 15px;
  }
  
  .wechat-info {
    padding: 15px;
    font-size: 16px;
  }
}

/* 小屏幕手机适配 (最大宽度 480px) */
@media screen and (max-width: 480px) {
  .nav-container {
    padding: 0 10px;
  }
  
  .container {
    padding: 0 10px;
  }
  
  .nav-logo h1 {
    font-size: 20px;
  }
  
  .recharge-btn {
    padding: 8px 16px;
    font-size: 12px;
  }
  
  .hero-title-clean {
    font-size: 32px;
  }
  
  .title-brand {
    font-size: 1.1em;
  }
  
  .hero-subtitle-clean {
    font-size: 16px;
    margin-bottom: 30px;
  }
  
  .hero-highlights {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
  }
  
  .highlight-item {
    font-size: 13px;
    flex: none;
  }
  
  .highlight-icon {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }
  
  .hero-buttons-clean {
    gap: 14px;
  }
  
  .btn-primary-clean,
  .btn-secondary-clean {
    padding: 14px 20px;
    font-size: 15px;
  }
  
  .gpt5-logo {
    font-size: 36px;
    padding: 20px;
  }
  
  /* AI对话界面小屏幕适配 */
  .ai-chat-container {
    padding: 10px;
  }
  
  .chat-interface {
    max-width: 280px;
    gap: 12px;
  }
  
  .message-bubble {
    max-width: 180px;
    padding: 8px 12px;
    font-size: 14px;
  }
  
  .avatar {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }
  
  .code-window {
    max-width: 200px;
  }
  
  .window-title {
    font-size: 10px;
  }
  
  .code-content {
    padding: 8px;
    font-size: 10px;
  }
  

  
  .section-title {
    font-size: 24px;
  }
  
  .feature-card,
  .pricing-card,
  .highlight-item,
  .testimonial-card {
    padding: 20px 15px;
  }
  
  .price {
    font-size: 32px;
  }
  
  .modal-content {
    margin: 25% auto;
    padding: 25px 15px;
  }
}

/* 横屏模式适配 */
@media screen and (max-height: 500px) and (orientation: landscape) {
  .hero-section {
    padding: 40px 0;
    min-height: auto;
  }
  
  .hero-title {
    font-size: 24px;
  }
  
  .hero-subtitle {
    font-size: 16px;
  }
  
  .gpt5-logo {
    font-size: 32px;
    padding: 15px;
  }
  
  .modal-content {
    margin: 5% auto;
    max-height: 90vh;
    overflow-y: auto;
  }
}

/* 高分辨率屏幕适配 */
@media screen and (min-width: 1400px) {
  .container {
    max-width: 1400px;
  }
  
  .hero-title {
    font-size: 56px;
  }
  
  .hero-subtitle {
    font-size: 28px;
  }
  
  .gpt5-logo {
    font-size: 84px;
    padding: 80px;
  }
  
  .section-title {
    font-size: 42px;
  }
}

/* 打印样式 */
@media print {
  .header,
  .recharge-btn,
  .hamburger,
  .modal {
    display: none !important;
  }
  
  .main-content {
    margin-top: 0;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  .hero-section,
  .features-section,
  .pricing-section,
  .highlights-section,
  .testimonials-section {
    padding: 20px 0;
  }
}