#float-window {
    width: 450px;
    height: 250px;
    border: 1px solid black;
    background-color: white;
    position: fixed;
    bottom: 50px;
    right: 50px;
    z-index: 999;
}

#float-image {
    width: 450px;
    height: 250px;
}

:root {
    --bg-soft: #f7f6f3;
    --bg-panel: #ffffff;
    --bg-tint: #eef6f5;
    --bg-accent: #eaf2fb;
    --text-primary: #1f2430;
    --text-muted: #5b6472;
    --border-soft: rgba(31, 36, 48, 0.12);
    --accent: #3d7ea6;
    --accent-soft: #cfe3ef;
}

body {
    background-color: var(--bg-soft);
    color: var(--text-muted);
}

.header {
    background: rgba(255, 255, 255, 0.96) !important;
    box-shadow: 0 6px 20px rgba(31, 36, 48, 0.08);
}

.header a {
    color: var(--text-primary) !important;
}

.header .logo a {
    color: var(--text-primary) !important;
}

.header .nav .nav-ul li a {
    color: var(--text-primary) !important;
}

.btn-header {
    color: var(--accent) !important;
    border-color: var(--accent) !important;
    background: transparent;
}

.btn-header:hover {
    background: var(--accent-soft);
}

.accent-link {
    color: var(--accent) !important;
}

.accent-text {
    color: var(--accent);
}

.hero-desc {
    color: var(--text-muted);
}

.feature-panel {
    background: rgba(255, 255, 255, 0.92);
    margin: 20px 0;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(31, 36, 48, 0.08);
}

.feature-panel .title {
    color: var(--text-primary);
}

.feature-panel .description {
    color: var(--text-muted);
}

/* Page layout enhancements */
.responsive-img {
    width: 80%;
    height: auto;
}

.hero-visual {
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-color: var(--bg-panel);
    text-align: center;
    padding: 24px 0 12px;
}

.section {
    padding: 48px 0;
}

.section-light {
    background-color: var(--bg-panel);
}

.section-tint {
    background-color: var(--bg-tint);
}

.section-accent {
    background-color: var(--bg-accent);
}

.section-intro {
    padding-top: 50px;
}

.section-label {
    display: block;
    margin: 16px auto 6px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    width: min(1100px, 92%);
    margin: 0 auto;
    text-align: center;
}

.download-card {
    background: var(--bg-panel);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    padding: 16px 12px 10px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
}

.download-card img {
    width: 160px;
    height: auto;
    display: block;
    margin: 0 auto 12px;
}

.feature-hero {
    text-align: center;
    padding: 8px 0 16px;
}

.feature-hero img {
    width: min(980px, 92%);
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.feature-section {
    background-color: var(--bg-panel);
    text-align: center;
    padding-bottom: 10px;
}

.feature-visual {
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 80% auto;
    width: 100%;
    min-height: 600px;
}

.feature-visual-groupchat {
    background-image: url('./images/groupchat_sample.jpg');
    background-color: #f3eee2;
}

.feature-visual-ar {
    background-image: url('./images/ar_sample.jpg');
    background-color: #fff;
    min-height: 650px;
}

.media-embed {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto !important;
    border-radius: 12px;
}

.model-list {
    list-style: none;
    padding: 0;
    margin: 0 auto 16px;
    display: flex;
    justify-content: center;
    gap: 24px;
    font-size: 20px;
    color: var(--text-primary);
}

.video-caption {
    display: inline-block;
    margin: 8px auto 6px;
    color: var(--text-muted);
    font-size: 16px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    width: min(800px, 92%);
    margin: 0 auto;
    text-align: center;
}

.contact-card {
    background: var(--bg-panel);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
}

.contact-card img {
    width: 200px;
    height: auto;
    display: block;
    margin: 0 auto 10px;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .responsive-img {
        width: 100%;
    }

    .section {
        padding: 32px 0;
    }

    .feature-visual {
        background-size: contain;
        background-position: center;
        min-height: 320px;
    }

    .feature-visual-ar {
        min-height: 360px;
    }

    .model-list {
        flex-direction: column;
        gap: 8px;
        font-size: 18px;
    }

    .download-card img {
        width: 140px;
    }

    .feature-hero img {
        width: 100%;
    }

    .header-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .header {
        position: static;
        height: auto;
        padding: 12px 0;
    }

    .header .header-content {
        height: auto;
        line-height: 1.4;
        padding: 0 16px;
    }

    .header .nav {
        height: auto !important;
        display: block !important;
        position: static !important;
        overflow: visible !important;
        background: transparent !important;
        width: 100%;
    }

    .header .nav .nav-ul {
        position: static !important;
        margin-top: 8px !important;
        height: auto !important;
        width: 100% !important;
        float: none !important;
        display: flex !important;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 8px;
    }

    .header .nav .nav-ul li {
        float: none !important;
        width: auto !important;
        height: auto !important;
        line-height: 1.4 !important;
        padding: 0 4px !important;
        font-size: 13px !important;
    }
}

/* 添加样式以适应你的页面风格 */
.login-container {
    float: right;
    margin-right: 20px;
}

/* 新增样式 */
.align-left {
    text-align: left;
}

/* .modal 样式 */
/* CSS代码 */
.modal {
    display: none; /* 默认隐藏浮窗 */
    position: fixed; /* 固定浮窗的位置 */
    z-index: 1; /* 设置浮窗的层级高于其他元素 */
    left: 0;
    top: 0;
    width: 100%; /* 设置浮窗的宽度为全屏 */
    height: 100%; /* 设置浮窗的高度为全屏 */
    overflow: auto; /* 设置浮窗的滚动条 */
    background-color: rgba(0, 0, 0, 0.4); /* 设置浮窗的背景颜色为半透明的黑色 */
  }
  
  .modal-content {
    max-width: 400px; /* 设置浮窗内容的最大宽度 */
    margin: 10% auto; /* 设置浮窗内容的垂直居中和水平居中 */
    background-color: #fff; /* 设置浮窗内容的背景颜色为白色 */
    padding: 20px; /* 设置浮窗内容的内边距 */
    border-radius: 10px; /* 设置浮窗内容的边框圆角 */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* 设置浮窗内容的阴影效果 */
    animation: modal-open 0.5s; /* 设置浮窗内容的打开动画 */
  }
  
  .modal-header {
    display: flex; /* 设置浮窗标题的弹性布局 */
    align-items: center; /* 设置浮窗标题的垂直居中 */
    justify-content: space-between; /* 设置浮窗标题的水平分布 */
    height: 40px;
  }
  
  .close {
    color: #333; /* 设置关闭按钮的颜色 */
    font-size: 24px; /* 设置关闭按钮的字体大小 */
    cursor: pointer; /* 设置关闭按钮的鼠标样式 */
  }
  
  .close:hover {
    color: #f00; /* 设置关闭按钮的鼠标悬停颜色 */
  }
    
  .form-group {
    margin-bottom: 20px; /* 设置表单组的下边距 */
    display: flex; /* 设置表单组的弹性布局 */
    align-items: center; /* 设置表单组的垂直居中 */
    justify-content: space-between; /* 设置表单组的水平分布 */
  }
  
  label {
    font-size: 16px; /* 设置标签的字体大小 */
    width: fit-content;
    color: #555; /* 设置标签的颜色 */
    margin-left: 10px; /* 设置标签的左边距 */
    margin-right: 10px; /* 设置标签的右边距 */
    flex: 1; /* 设置标签的弹性比例为1 */
    text-align: left; /* 设置标签的左对齐 */
  }
  
  .input2 {
    width:76%;
    padding: 10px; /* 设置输入框的内边距 */
    box-sizing: border-box; /* 设置输入框的盒模型 */
    border: 1px solid #ddd; /* 设置输入框的边框 */
    border-radius: 5px; /* 设置输入框的边框圆角 */
  }

  .input1 {
    width: auto;    
    padding: 10px; /* 设置输入框的内边距 */
    box-sizing: border-box; /* 设置输入框的盒模型 */
    border: 1px solid #ddd; /* 设置输入框的边框 */
    border-radius: 5px; /* 设置输入框的边框圆角 */
  }
  
  button {
    padding: 10px 15px; /* 设置按钮的内边距 */
    background-color: #4c61af; /* 设置按钮的背景颜色 */
    color: white; /* 设置按钮的字体颜色 */
    border: none; /* 设置按钮的边框为无 */
    border-radius: 5px; /* 设置按钮的边框圆角 */
    cursor: pointer; /* 设置按钮的鼠标样式 */
    flex: 1; /* 设置按钮的弹性比例为1 */
    margin-left: 10px; /* 设置按钮的左边距 */
  }
  
  /* 浮窗内容的打开动画 */
  @keyframes modal-open {
    from {
      opacity: 0; /* 开始时透明度为0 */
      transform: scale(0.8); /* 开始时缩放为0.8 */
    }
    to {
      opacity: 1; /* 结束时透明度为1 */
      transform: scale(1); /* 结束时缩放为1 */
    }
  }
  
  /* 浮窗内容的关闭动画 */
  @keyframes modal-close {
    from {
      opacity: 1; /* 开始时透明度为1 */
      transform: scale(1); /* 开始时缩放为1 */
    }
    to {
      opacity: 0; /* 结束时透明度为0 */
      transform: scale(0.8); /* 结束时缩放为0.8 */
    }
  }
  
  /* 响应式设计，当屏幕宽度小于600px时，调整浮窗内容的最大宽度为90% */
  @media screen and (max-width: 600px) {
    .modal-content {
      max-width: 90%;
    }
  }  

.login-form {
    /* 登录表单的样式 */
    max-width: 400px;
    margin: 0 auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.form-group {
    /* 表单组样式 */
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.form-label {
    /* 表单标签样式 */
    font-size: 16px;
    color: #555;
    margin-right: 10px;
    display: block;
    flex: 1;
    margin-bottom: 5px;
}

.form-input {
    /* 输入框样式 */
    flex: 2;
    padding: 10px;
    box-sizing: border-box;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.form-button {
    /* 按钮样式 */
    padding: 10px 15px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    flex: 1;
    margin-left: 10px;
}

.form-submit {
    /* 提交按钮样式 */
    padding: 12px 30px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
}


.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}


.login-main {
    width: 790px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    background: #fff;
    border-radius: 8px;
    position: fixed;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%);
    transform: translate(-50%);
    margin-top: -285px;
    z-index: 999;
}

/* 在styles.css中添加以下媒体查询 */
@media screen and (max-width: 600px) {
    /* 当屏幕宽度小于或等于 600px 时应用的样式 */

    .header-content {
        flex-direction: column; /* 将头部内容垂直排列 */
        align-items: center; /* 居中对齐 */
    }

    .login-container {
        margin-top: 10px; /* 在手机端适度上移登录按钮 */
    }
}



.panel {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    z-index: 1;
}

.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    z-index: 1;
}

.popup2 {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 10px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    z-index: 1;
}

#qrcode {
    display: none;
    margin-bottom: 20px;
}

#status {
    text-align: center;
    margin-top: 10px;
}

.buttons-container {
    display: flex;
    justify-content: space-between;
    /* 将两个按钮放置在容器两端 */
    margin-top: 10px;
}

.cancel-btn,
.paid-btn {
    flex: 1;
    /* 使两个按钮平分容器的宽度 */
    padding: 10px;
    cursor: pointer;
}

.cancel-btn {
    background-color: #ccc;
}

.paid-btn {
    background-color: #ffd700;
}

#userPanel {
    width: 250px;
    background-color: #f4f4f4;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#userPanel ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

#userPanel li {
    margin-bottom: 10px;
}

#userPanel strong {
    font-size: 1.2em;
}

#userPanel span {
    font-weight: bold;
    margin-right: 5px;
    color: #555;
}

#userPanel a {
    text-decoration: none;
    color: #007BFF;
}

#userPanel a:hover {
    text-decoration: underline;
}

#userPanel button {
    background-color: #007BFF;
    color: #fff;
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#userPanel button:hover {
    background-color: #0056b3;
}
