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

    body {
      min-height: 100vh;
      background-color: #f5f7fa;
      font-family: "Microsoft YaHei", Arial, sans-serif;
      padding: 20px 0 80px; /* 底部留足页脚空间 */
    }

    /* 卡片样式优化 */
    .card {
      margin-top: 40px;
      border: none;
      border-radius: 12px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
      overflow: hidden;
    }

    .card-header {
      background-color: #2563eb;
      color: #fff;
      font-weight: 500;
      padding: 15px 20px;
    }

    .card-body {
      padding: 30px 20px;
    }

    /* 卡密输入区域样式 */
    #keyForm h4 {
      color: #333;
      font-weight: 500;
      margin-bottom: 25px;
    }

    #cardKey {
      border: 1px solid #ddd;
      border-radius: 8px 0 0 8px;
      height: 45px;
      padding: 0 15px;
      font-size: 14px;
    }

    #cardKey:focus {
      border-color: #2563eb;
      box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
      outline: none;
    }

    #validateBtn {
      border-radius: 0 8px 8px 0;
      height: 45px;
      background-color: #2563eb;
      border-color: #2563eb;
      font-size: 14px;
      transition: background-color 0.3s;
    }

    #validateBtn:hover {
      background-color: #1d4ed8;
    }

    /* 安全提示样式 */
    .security-notice {
      margin: 20px 0;
      padding: 12px 15px;
      background-color: #f0f9ff;
      border-left: 4px solid #3b82f6;
      color: #333;
      font-size: 13px;
    }

    /* 二维码登录区域样式 */
    #login-container {
      margin-top: 10px;
    }

    .login-status {
      color: #666;
      font-size: 14px;
      text-align: center;
      margin-bottom: 20px;
    }

    .qrcode-container {
      display: inline-block;
      padding: 10px;
      background-color: #fff;
      border: 1px solid #eee;
      border-radius: 8px;
    }

    /* 手机登录按钮样式 */
    #mobile .btn {
      min-width: 180px;
      margin: 0 8px 10px;
      font-size: 14px;
      padding: 10px 20px;
    }

    #mobile .btn-warning {
      background-color: #f59e0b;
      border-color: #f59e0b;
    }

    #mobile .btn-warning:hover {
      background-color: #d97706;
    }

    #mobile .btn-success {
      background-color: #10b981;
      border-color: #10b981;
    }

    #mobile .btn-success:hover {
      background-color: #059669;
    }

    /* 登录成功凭证区域样式 */
    #login {
      margin-top: 20px;
      padding: 20px;
      background-color: #f8fafc;
      border-radius: 8px;
      border: 1px solid #e2e8f0;
      text-align: left;
    }

    /* 登录成功提示样式 */
    .alert-success {
      background-color: #f0fdf4;
      border-color: #bbf7d0;
      color: #15803d;
      padding: 12px 15px;
      border-radius: 8px;
      margin-bottom: 15px; /* 减小与下方元素的距离 */
      font-size: 15px;
    }

    /* 提交订单按钮样式 */
    #submitOrder {
      background-color: #10b981;
      border-color: #10b981;
      padding: 10px 25px;
      font-size: 15px;
      border-radius: 8px;
      transition: all 0.3s ease;
    }

    #submitOrder:hover {
      background-color: #059669;
      transform: translateY(-2px);
      box-shadow: 0 4px 6px -1px rgba(16, 185, 129, 0.2);
    }

    #submitOrder:active {
      transform: translateY(0);
    }

    /* 订单结果区域样式 */
    #orderResult {
      padding: 15px;
      border-radius: 8px;
      min-height: 50px;
      font-size: 14px;
    }

    /* 教程轮播整体样式 */
    .tutorial-carousel {
      margin-top: 20px; /* 减小与上方元素的距离 */
      padding: 20px;
      background-color: #fff;
      border-radius: 12px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    }

    .tutorial-carousel h5 {
      color: #333;
      font-weight: 500;
      margin-bottom: 15px;
    }

    /* 步骤指示器样式 */
    .steps-indicator {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 10px;
      margin-bottom: 20px;
    }

    .step {
      padding: 6px 14px;
      border-radius: 20px;
      font-size: 13px;
      color: #9ca3af;
      background-color: #f3f4f6;
      transition: all 0.3s ease;
    }

    .step.active {
      color: #fff;
      background-color: #2563eb;
      font-weight: 500;
    }

    .step-separator {
      color: #d1d5db;
      font-size: 14px;
    }

    /* 轮播容器样式 */
    .carousel-container {
      margin: 0 auto;
      max-width: 400px;
    }

    .carousel-slides {
      position: relative;
      height: auto; /* 自适应高度 */
      overflow: hidden;
      border-radius: 8px;
    }

    .carousel-slide {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      opacity: 0;
      transition: opacity 0.5s ease;
      display: flex;
      flex-direction: column;
    }

    .carousel-slide.active {
      opacity: 1;
      z-index: 10;
      position: relative; /* 活动项使用相对定位，确保高度正确 */
    }

    /* 确保iPhone截图正确显示 */
    .carousel-slide img {
      width: 100%;
      height: auto;
      object-fit: contain; /* 保持图片完整显示 */
      border-radius: 8px 8px 0 0;
    }

    /* 步骤描述样式 */
    .step-description {
      padding: 12px 10px;
      color: #374151;
      font-size: 14px;
      line-height: 1.6;
      background-color: #f9fafb;
      border-top: 1px solid #f3f4f6;
    }

    /* 轮播导航按钮样式 */
    .carousel-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background-color: rgba(255, 255, 255, 0.8);
      border: none;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
      color: #374151;
      cursor: pointer;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
      transition: all 0.2s ease;
      z-index: 20;
    }

    .carousel-btn:hover {
      background-color: #fff;
      transform: translateY(-50%) scale(1.1);
    }

    .prev-btn {
      left: 10px;
    }

    .next-btn {
      right: 10px;
    }

    /* 轮播指示器样式 */
    .carousel-indicators {
      display: flex;
      justify-content: center;
      gap: 8px;
      margin-top: 15px;
    }

    .indicator {
      display: inline-block;
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background-color: #d1d5db;
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .indicator.active {
      background-color: #2563eb;
      width: 30px;
      border-radius: 5px;
    }

    /* 页脚样式 */
    .footer-info {
      position: fixed;
      bottom: 0;
      left: 0;
      width: 100%;
      padding: 12px 0;
      background-color: #fff;
      border-top: 1px solid #eee;
      text-align: center;
      z-index: 999;
    }

    .footer-links {
      margin-bottom: 8px;
      font-size: 12px;
    }

    .footer-link {
      color: #666;
      text-decoration: none;
      margin: 0 10px;
      display: inline-flex;
      align-items: center;
    }

    .footer-link img {
      width: 16px;
      height: 16px;
      margin-right: 4px;
      vertical-align: middle;
    }

    .footer-link:hover {
      color: #2563eb;
      text-decoration: underline;
    }

    .text-muted.small {
      font-size: 11px;
      color: #999 !important;
    }

    /* 响应式适配调整 */
    @media (max-width: 768px) {
      .card {
        margin-top: 20px;
      }

      .card-body {
        padding: 20px 15px;
      }

      #cardKey {
        font-size: 13px;
      }

      .footer-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px 15px;
      }

      .footer-link {
        margin: 0;
      }
    }

    @media (max-width: 576px) {
      .step-description {
        font-size: 13px;
      }
      
      .carousel-btn {
        width: 34px;
        height: 34px;
        font-size: 16px;
      }
    }