/* 基础重置与全局样式 */
*{margin:0;padding:0;box-sizing:border-box;font-family: "PingFang SC","Microsoft YaHei",sans-serif}
a{text-decoration: none;}
body{background:#f7f8fa;color:#333;}
.ai-agent-body {font-family: "Inter", "Microsoft Yahei", sans-serif;background: linear-gradient(135deg, #f0f8fb 0%, #e8f4f8 100%);min-height: 100vh;padding: 20px 0;padding-top: 60px;line-height: 1.6;-webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;}
/* 容器样式 */
.agent-container {max-width: 1200px;margin: 0 auto;padding: 0 20px;}
/* 头部样式 */
.agent-header {text-align: center;margin-bottom: 30px;padding: 20px 0;}
.header-logo {display: flex;align-items: center;justify-content: center;gap: 12px;}
/* 替代机器人图标 - 纯CSS绘制 */
.agent-header h1 {color: #1d2939;font-size: 28px;font-weight: 600;}
.header-desc {color: #667085;font-size: 16px;max-width: 800px;margin: 0 auto;}
/* 步骤容器 */
.steps-wrapper {display: grid;gap: 24px;}
/* 步骤卡片样式 */
.step-card {background: #ffffff;border-radius: 16px;padding: 24px;box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);   border: 1px solid #eef2f7; transition: transform 0.2s ease, box-shadow 0.2s ease;}
.step-card:hover {transform: translateY(-2px);box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);}
/* 步骤头部 */
.step-header {display: flex;align-items: center;gap: 12px;margin-bottom: 20px;padding-bottom: 16px;border-bottom: 1px solid #f2f4f7;}
.step-number {background: linear-gradient(135deg, #165DFF 0%, #0F48D2 100%);color: white;width: 36px;height: 36px;border-radius: 50%;display: flex;align-items: center;justify-content: center;
font-weight: 600;font-size: 14px;}
.step-header h2 {color: #1d2939;font-size: 18px;font-weight: 600;flex: 1;margin: 0;padding: 0;border: none;}
/* 步骤图标替代 - 纯CSS */
.step-icon {width: 20px;height: 20px;color: #165DFF;position: relative;}
/* 步骤1图标：铅笔 */
.step-card:nth-child(1) .step-icon::before {content: "";position: absolute;top: 2px;left: 8px;width: 2px;height: 12px;background: #165DFF;transform: rotate(-30deg);}
.step-card:nth-child(1) .step-icon::after {content: "";position: absolute;bottom: 2px;left: 2px;width: 8px;height: 2px;background: #165DFF;}
/* 步骤2图标：视频文件 */
.step-card:nth-child(2) .step-icon::before {content: "";position: absolute;top: 3px;left: 3px;width: 14px;height: 10px;border: 2px solid #165DFF;border-radius: 2px;}
.step-card:nth-child(2) .step-icon::after {content: "";position: absolute;top: 5px;left: 6px;width: 6px;height: 6px;border-left: 2px solid #165DFF;border-bottom: 2px solid #165DFF;}
/* 步骤3图标：摄像机 */
.step-card:nth-child(3) .step-icon::before {content: "";position: absolute;top: 4px;left: 4px;width: 12px;height: 8px;background: #165DFF;border-radius: 2px;}
.step-card:nth-child(3) .step-icon::after {content: "";position: absolute;top: 2px;left: 8px;width: 4px;height: 4px;background: white;border-radius: 50%;}
/* 表单样式 */
.step-form {width: 100%;}
.form-grid {display: grid;grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));gap: 16px;margin-bottom: 20px;}
.form-item {width: 100%;}
.form-item.full-width {grid-column: 1 / -1;}

.required {color: #f53f3f;}
.form-item input, 
.form-item textarea,
.form-select {width: 100%;padding: 12px 16px;border: 1px solid #d0d5dd;border-radius: 8px;font-size: 14px;color: #1d2939;background: #ffffff;transition: border-color 0.2s ease, box-shadow 0.2s ease;}
.form-item input:focus, .form-item textarea:focus,.form-select:focus {outline: none;border-color: #165DFF;box-shadow: 0 0 0 4px rgba(22, 93, 255, 0.1);}
.form-item textarea {resize: vertical;min-height: 80px;}
/* 按钮样式 */
.btn {padding: 12px 24px;border-radius: 8px;font-size: 14px;font-weight: 500;cursor: pointer;border: none;display: inline-flex;align-items: center;gap: 8px;transition: all 0.2s ease;}
/* 按钮图标替代 - 纯CSS */
.btn::before {content: "";display: inline-block;width: 16px;height: 16px;}
/* 生成提示词按钮图标 */
.btn[name="generate_prompt"]::before {background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23344054' d='M9.5 2.672a.5.5 0 1 0 1 0V1.5a.5.5 0 0 0-1 0v1.172Zm3 1.08a.5.5 0 1 0 0-1l-.646-.647a.5.5 0 0 0-.708.708L11.793 3l-.647.647a.5.5 0 1 0 .708.708L12.5 3.753Zm3.253 1.546a.5.5 0 0 0-.708 0l-.647.647a.5.5 0 0 0 .708.708l.647-.647a.5.5 0 0 0 0-.708ZM10 5.646a.5.5 0 0 0 .708 0l.647-.647a.5.5 0 1 0-.708-.708L10 4.939v.707Zm-1.032.586c.166-.167.294-.37.374-.586h.792c-.08.216-.208.419-.374.586l-.708.708a.5.5 0 0 1-.708 0l-.708-.708ZM4.646 10a.5.5 0 0 0 .708 0l.708-.708a.5.5 0 0 0-.708-.708l-.708.708a.5.5 0 0 0 0 .708Zm2.028 2.028a.5.5 0 0 0 .708 0l.708-.708a.5.5 0 0 0-.708-.708l-.708.708a.5.5 0 0 0 0 .708Zm-2.028-4a.5.5 0 0 0 .708 0l.708-.708a.5.5 0 1 0-.708-.708l-.708.708a.5.5 0 0 0 0 .708Zm0 2a.5.5 0 0 0 .708 0l.708-.708a.5.5 0 1 0-.708-.708l-.708.708a.5.5 0 0 0 0 .708Zm2 2a.5.5 0 0 0 .708 0l.708-.708a.5.5 0 1 0-.708-.708l-.708.708a.5.5 0 0 0 0 .708Z'/%3E%3C/svg%3E") no-repeat center;
background-size: 16px 16px;}
/* 转换视频文案按钮图标 */
.btn[name="convert_to_video_script"]::before {background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23344054' d='M8.5 6.5a.5.5 0 0 0-1 0v3.793L6.354 9.146a.5.5 0 1 0-.708.708l2 2a.5.5 0 0 0 .708 0l2-2a.5.5 0 0 0-.708-.708L8.5 10.293V6.5Z'/%3E%3Cpath fill='%23344054' d='M2 2a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2Zm2-1a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H4Z'/%3E%3C/svg%3E") no-repeat center;
background-size: 16px 16px;}
.btn-default {background: #f2f4f7;color: #344054;}
.btn-default:hover {background: #e4e7ec;color: #1d2939;}
.btn-primary {background: linear-gradient(135deg, #165DFF 0%, #0A8DFF 100%);color: #ffffff;box-shadow: 0 4px 12px rgba(22, 93, 255, 0.3);}
.btn-primary:hover {opacity: 0.95;transform: translateY(-1px);box-shadow: 0 6px 20px rgba(22, 93, 255, 0.4);}
/* 提示框样式 */
.alert {padding: 16px;border-radius: 8px;margin-bottom: 24px;font-size: 14px;display: flex;align-items: center;gap: 8px;}
/* 提示框图标替代 */
.alert::before {content: "";display: inline-block;width: 16px;height: 16px;}
.alert-error::before {background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23e53935' d='M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z'/%3E%3Cpath fill='%23e53935' d='M7.293 11.293a1 1 0 0 1-1.414 0L4 9.414 2.707 10.707a1 1 0 0 1-1.414-1.414L2.586 8 1.293 6.707a1 1 0 0 1 1.414-1.414L4 6.586l1.293-1.293a1 1 0 0 1 1.414 1.414L5.414 8l1.293 1.293a1 1 0 0 1 0 1.414zM8 5.5a1 1 0 1 1 0-2 1 1 0 0 1 0 2z'/%3E%3C/svg%3E") no-repeat center;
background-size: 16px 16px;}
.alert-success::before {background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%2316a34a' d='M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z'/%3E%3Cpath fill='%2316a34a' d='M10.97 4.97a.235.235 0 0 0-.02.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-1.071-1.05z'/%3E%3C/svg%3E") no-repeat center;
background-size: 16px 16px;}
.alert-error {background: #fef2f2;color: #e53935;border: 1px solid #fecdd3;}
.alert-success {background: #f0fdf4;color: #16a34a;border: 1px solid #bbf7d0;}
/* 结果框样式 */
.result-box {margin-top: 20px;padding: 20px;background: #f9fafb;border-radius: 12px;border: 1px solid #eef2f7;}
.result-header {display: flex;justify-content: space-between;align-items: center;margin-bottom: 12px;}
.result-header label {color: #344054;font-weight: 600;font-size: 14px;margin: 0;}
.copy-btn {padding: 6px 12px;background: #ffffff;border: 1px solid #d0d5dd;border-radius: 6px;color: #344054;font-size: 12px;cursor: pointer;display: flex;align-items: center;gap: 4px;transition: all 0.2s ease;}
/* 复制按钮图标替代 */
.copy-btn::before {content: "";display: inline-block;width: 14px;height: 14px;background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23344054' d='M4.085 4.085a2 2 0 0 1 2.828 0l.586.586a.5.5 0 0 0 .708 0l2.586-2.586a.5.5 0 0 0-.708-.708L8 4.793 7.414 4.207a.5.5 0 0 0-.708 0l-.586.586zm6-.707a.5.5 0 0 0-.708 0L9.414 4.793 8.828 4.207a.5.5 0 0 0-.708 0l-.586.586a.5.5 0 0 0 .708.708l.586-.586 2.586 2.586a.5.5 0 0 0 .708-.708L10.915 4.085z'/%3E%3Cpath fill='%23344054' d='M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1h1a1 1 0 0 1 1 1V14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h1v-1z'/%3E%3Cpath fill='%23344054' d='M9.5 1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h3zm-3-1A1.5 1.5 0 0 0 5 1.5v1A1.5 1.5 0 0 0 6.5 4h3A1.5 1.5 0 0 0 11 2.5v-1A1.5 1.5 0 0 0 9.5 0h-3z'/%3E%3C/svg%3E") no-repeat center;
background-size: 14px 14px;}
.copy-btn:hover {background: #f2f4f7;}
.copy-btn.copied {background: #f0fdf4;border-color: #bbf7d0;color: #16a34a;}
/* 复制成功图标替代 */
.copy-btn.copied::before {background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%2316a34a' d='M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0z'/%3E%3Cpath fill='%2316a34a' d='M1.5 13.5A1.5 1.5 0 0 0 3 15h10a1.5 1.5 0 0 0 1.5-1.5V6h-1v7a.5.5 0 0 1-.5.5H3a.5.5 0 0 1-.5-.5V6h-1v7z'/%3E%3C/svg%3E") no-repeat center;
background-size: 14px 14px;}
.result-content {width: 100%;padding: 12px 16px;border: 1px solid #eef2f7;border-radius: 8px;background: #ffffff;font-size: 14px;color: #1d2939;resize: vertical;}
/* 文件上传样式 */
.file-upload {position: relative;}
.upload-label {display: flex;align-items: center;justify-content: center;gap: 8px;padding: 16px;border: 1px dashed #d0d5dd;border-radius: 8px;color: #667085;cursor: pointer;transition: all 0.2s ease;}
.upload-label:hover {border-color: #165DFF;background: #f5f9ff;color: #165DFF;}
/* 上传hover时图标变色 */
.upload-label:hover::before {background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23165DFF' d='M.5 9.9a.5.5 0 0 1 .5.5v2.5a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-2.5a.5.5 0 0 1 1 0v2.5a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2v-2.5a.5.5 0 0 1 .5-.5z'/%3E%3Cpath fill='%23165DFF' d='M7.646 11.854a.5.5 0 0 0 .708 0l3-3a.5.5 0 0 0-.708-.708L8.5 10.293V1.5a.5.5 0 0 0-1 0v8.793L5.354 8.146a.5.5 0 1 0-.708.708l3 3z'/%3E%3C/svg%3E");
}
.file-upload input {position: absolute;top: 0;left: 0;width: 100%;height: 100%;opacity: 0;cursor: pointer;}
/* 视频结果样式 */
.video-result {margin-top: 8px;}
.video-link {display: inline-flex;align-items: center;gap: 8px;color: #165DFF;text-decoration: none;font-size: 14px;font-weight: 500;padding: 8px 16px;border-radius: 8px;background: #f5f9ff;transition: all 0.2s ease;}
/* 视频链接图标替代 */
.video-link::before {content: "";display: inline-block;width: 16px;height: 16px;background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23165DFF' d='m11.596 8.697-6.363 3.692c-.54.313-1.233-.066-1.233-.697V4.308c0-.63.692-1.01 1.233-.696l6.363 3.692a.802.802 0 0 1 0 1.393z'/%3E%3C/svg%3E") no-repeat center;
background-size: 16px 16px;}
.video-link:hover {background: #e6f0ff;text-decoration: none;}
/* 响应式适配 */
@media (max-width: 768px) {
.agent-header h1 {
font-size: 22px;
}
.header-desc {
font-size: 14px;
}
.step-card {
padding: 16px;
}

.form-grid {
grid-template-columns: 1fr;
}

.step-header h2 {
font-size: 16px;
}

.btn {
width: 100%;
justify-content: center;
}
}

@media (max-width: 480px) {
.agent-container {
padding: 0 12px;
}
.agent-header {
margin-bottom: 20px;
padding: 10px 0;
}
.step-card {
padding: 12px;
}
.alert {
padding: 12px;
font-size: 13px;
}
.result-box {
padding: 16px;
}
}
/* ========== 顶部导航样式（新增） ========== */
/* 全局body适配导航栏 */

/* 导航栏容器 */
.ai-top-nav {
width: 100%;
height: 70px;
background: #fff;
box-shadow: 0 2px 10px rgba(0,0,0,0.05);
position: fixed;
top: 0;
left: 0;
z-index: 999; 
}
/* 导航内容容器（和主体宽度对齐） */
.nav-container {max-width: 1200px;height: 70px;margin: 0 auto;display: flex;align-items: center;justify-content: space-between;padding: 0 20px;}

/* 导航logo */
.nav-logo {display: flex;align-items: center;gap: 10px;}
.nav-logo img {height: 40px; /* 控制logo大小 */width: auto;display: block;}
.nav-logo a {text-decoration: none;display: flex;align-items: center;color: #165DFF;font-size: 17px;  /* 原来是 18px，改小一点 */font-weight: 600;}
.nav-logo a:hover {color: #165DFF;text-decoration: none;}
/* 导航菜单 */
.nav-menu {list-style: none;display: flex;gap: 20px;}
/* 菜单项 */
.nav-item a {text-decoration: none;color: #333;font-size: 15px;font-weight: 500;padding: 8px 0;transition: color 0.2s ease;position: relative;}
/* 菜单hover效果 */
.nav-item a:hover {   color: #165DFF;}
/* 激活态菜单项 */
.nav-item.active a {color: #165DFF;border-bottom: 2px solid #165DFF; /* 底部高亮线 */}
/* 步骤卡片锚点偏移（点击导航跳转时不被导航遮挡） */
.step-card {scroll-margin-top: 90px;}
/* 移动端适配 */
@media (max-width: 768px) {
.nav-menu {gap: 16px; /* 移动端缩小菜单间距 */}
.nav-logo {font-size: 16px;}
.nav-item a {font-size: 14px;}
}

@media (max-width: 480px) {
.nav-menu {gap: 10px;}
.nav-container {padding: 0 12px;}
}
/* ========== 首页样式========== */
/* 响应式设计 */
@media (max-width: 992px) {
.platform-overview {grid-template-columns: repeat(2, 1fr);gap: 24px;}
}

@media (max-width: 768px) {
.platform-overview {grid-template-columns: 1fr;gap: 20px;}
}
/* 三大板块总览卡片 */
.platform-overview {  display: grid;  grid-template-columns: repeat(3, 1fr);  gap: 24px;}
/* 版块区块（电商/通用/私有化） */
.home-section-block {  max-width: 1200px;  margin: 0 auto;  padding: 60px 20px 0;  border-top: 1px solid #eef2f7;padding-bottom: 1px !important;}
.home-section-block--alt {  background: #f9fafb;  max-width: 100%;  padding-left: 0;  padding-right: 0;}
.home-section-block--alt > .home-features,
.home-section-block--alt > .home-process,
.home-section-block--alt > .home-cta,
.home-section-block--alt > .home-advantages {  max-width: 1200px;  padding-left: 20px;  padding-right: 20px;}
/* 版块标题头部 */
.section-block-header {  display: flex;  align-items: center;  gap: 20px;  margin-bottom: 48px;  max-width: 1200px;   /* 新增 */margin-left: auto;   /* 新增 */margin-right: auto;}
.section-block-badge {  width: 48px;  height: 48px;  background: #165DFF;  color: #fff;  border-radius: 12px;  display: flex;  align-items: center;  justify-content: center;  font-size: 18px; font-weight: 700; flex-shrink: 0;}
.section-block-header h2 {  font-size: 28px;  color: #1d2939;  margin-bottom: 6px;}
.section-block-header p {  font-size: 16px;  color: #667085;  margin: 0;}
/* Banner区域 */
.home-banner {
background: linear-gradient(135deg, #165DFF 0%, #0F48D2 60%, #0A38B8 100%);
background-size: 200% 200%;
animation: gradientMove 15s ease infinite;
color: #fff;
padding: 80px 0 60px;
position: relative;
overflow: hidden;
}
@keyframes gradientMove {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
.home-banner::before {
content: "";
position: absolute;
top: -50%;
right: -50%;
width: 80%;
height: 80%;
background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 70%);
border-radius: 50%;
animation: lightFloat 20s ease-in-out infinite;
}

.home-banner::after {
content: "";
position: absolute;
bottom: -30%;
left: -30%;
width: 60%;
height: 60%;
background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
border-radius: 50%;
animation: lightFloat 18s ease-in-out infinite reverse;
}
@keyframes lightFloat {
0% {
transform: translate(0, 0) scale(1);
}
50% {
transform: translate(20px, -20px) scale(1.1);
}
100% {
transform: translate(0, 0) scale(1);
}
}
.banner-container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 40px;
position: relative;
z-index: 10; /* 确保内容在光效上层 */
}
.banner-content {
flex: 1;
}
.banner-content h1 {
font-size: 36px;
margin-bottom: 16px;
line-height: 1.4;
text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.banner-content p {
font-size: 18px;
margin-bottom: 24px;
opacity: 0.95;
line-height: 1.5;
}
.banner-btn {
display: inline-block;
padding: 14px 32px;
background: #fff;
color: #165DFF;
font-size: 16px;
font-weight: 600;
border-radius: 8px;
text-decoration: none;
transition: all 0.2s ease;
box-shadow: 0 4px 15px rgba(22, 93, 255, 0.2);
}
.banner-btn:hover {
background: #f5f9ff;
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(22, 93, 255, 0.3);
}
.banner-visual {
flex: 1;
display: flex;
justify-content: center;
}
.visual-card {
background: rgba(255,255,255,0.1);
backdrop-filter: blur(20px); /* 毛玻璃效果 */
border-radius: 12px;
padding: 24px;
display: flex;
align-items: center;
gap: 16px;
flex-wrap: wrap;
justify-content: center;
box-shadow: 0 8px 30px rgba(0,0,0,0.1);
border: 1px solid rgba(255,255,255,0.3);
animation: cardFloat 3s ease-in-out infinite alternate;
box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.05), 0 0 30px rgba(22, 93, 255, 0.3);
}
.card-step {
background: rgba(255,255,255,0.2);
padding: 12px 20px;
border-radius: 8px;
font-size: 14px;
font-weight: 500;
backdrop-filter: blur(5px);
transition: all 0.3s ease;
position: relative;
overflow: hidden;
}
.card-step:hover {
background: rgba(255,255,255,0.3);
transform: scale(1.08) translateY(-2px); /* 放大并轻微上移 */
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}
.card-step::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.4), transparent);
  transform: rotate(30deg);
  transition: transform 0.6s;
}
.card-step:hover::after {
  transform: rotate(30deg) translate(20%, 20%);
}
.card-arrow {
font-size: 20px;
opacity: 0.8;
}

/* 通用section标题 */
.section-title {
font-size: 16px;
font-weight: 600;
color: #fff;
margin-bottom: 20px;
position: relative;
padding-bottom: 8px;
}
.section-title::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 30px;
height: 2px;
background: linear-gradient(90deg, #165DFF 0%, #4080FF 100%);
border-radius: 1px;
}
.section-title h2 {
font-size: 28px;
color: #1d2939;
margin-bottom: 8px;
}
.section-title p {
font-size: 16px;
color: #667085;
}
.footer-links {
list-style: none;
padding: 0;
margin: 0;
}

.footer-links li {
margin-bottom: 12px;
}

.footer-links a {
color: #cbd5e1;
font-size: 14px;
text-decoration: none;
transition: all 0.2s ease;
display: inline-flex;
align-items: center;
gap: 8px;
padding: 4px 0;
}

.footer-links a:hover {
color: #fff;
transform: translateX(5px);
}

.footer-links a::before {
content: '→';
font-size: 12px;
opacity: 0;
transition: opacity 0.2s ease;
}

.footer-links a:hover::before {
opacity: 1;
}
.social-links {
display: flex;
gap: 12px;
margin-top: 20px;
}
.social-btn {
display: inline-flex;
align-items: center;
justify-content: center;
width: 36px;
height: 36px;
background: rgba(255, 255, 255, 0.1);
border-radius: 8px;
color: #cbd5e1;
font-size: 16px;
text-decoration: none;
transition: all 0.2s ease;
border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-btn:hover {
background: #165DFF;
color: #fff;
transform: translateY(-2px);
border-color: #165DFF;
box-shadow: 0 4px 12px rgba(22, 93, 255, 0.3);
}
/* 核心功能 */
.home-features {
max-width: 1200px;
margin: 0 auto 80px;
padding: 0 20px;
}
.features-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 24px;
}
.feature-card {
background: #ffffff;
border-radius: 16px;
padding: 32px 24px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
border: 1px solid #eef2f7;
transition: transform 0.3s ease, box-shadow 0.3s ease;
height: 100%;
display: flex;
flex-direction: column;
}
.feature-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.feature-icon {
width: 48px;
height: 48px;
background: #f5f9ff;
color: #165DFF;
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
font-size: 20px;
font-weight: 600;
margin-bottom: 20px;
flex-shrink: 0;
}
.feature-card h3 {
font-size: 18px;
color: #1d2939;
margin-bottom: 12px;
font-weight: 600;
}
.feature-card p {
font-size: 14px;
color: #667085;
line-height: 1.7;
flex-grow: 1;
}

/* 使用流程 */
.home-process {
max-width: 1200px;
margin: 0 auto 80px;
padding: 0 20px;
}
.process-container {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 20px;
}
.process-step {
flex: 1;
min-width: 250px;
display: flex;
align-items: flex-start;
gap: 16px;
}
.step-num {
width: 40px;
height: 40px;
background: #165DFF;
color: #fff;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 18px;
font-weight: 600;
flex-shrink: 0;
}
.step-content h3 {
font-size: 18px;
color: #1d2939;
margin-bottom: 8px;
}
.step-content p {
font-size: 14px;
color: #667085;
}
.process-arrow {
font-size: 24px;
color: #165DFF;
opacity: 0.7;
flex-shrink: 0;
}

/* 优势亮点 */
.home-advantages {
max-width: 1200px;
margin: 0 auto 80px;
padding: 0 20px;
}
.advantages-container {
display: grid !important;
grid-template-columns: repeat(4, 1fr) !important;
gap: 20px !important;
}
.advantage-item {
background: #f9fafb;
border-radius: 12px;
padding: 24px;
border-left: 4px solid #165DFF;
}
.advantage-tag {
font-size: 16px;
font-weight: 600;
color: #1d2939;
margin-bottom: 8px;
}
.advantage-item p {
font-size: 14px;
color: #667085;
}

/* 快速入口 */
.home-cta {
max-width: 1200px;
margin: 0 auto 60px;
padding: 0 20px;
}
.cta-container {
background: linear-gradient(135deg, #165DFF 0%, #0F48D2 100%);
color: #fff;
border-radius: 16px;
padding: 60px 40px;
text-align: center;
}
.cta-container h2 {
font-size: 28px;
margin-bottom: 12px;
}
.cta-container p {
font-size: 16px;
margin-bottom: 24px;
opacity: 0.9;
}
.cta-btn {
display: inline-block;
padding: 14px 32px;
background: #fff;
color: #165DFF;
font-size: 16px;
font-weight: 600;
border-radius: 8px;
text-decoration: none;
transition: all 0.2s ease;
}
.cta-btn:hover {
background: #f5f9ff;
transform: translateY(-2px);
}

/* 页脚 */
.home-footer {
background: #f9fafb;
padding: 30px 0;
border-top: 1px solid #eef2f7;
}
.footer-container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
text-align: center;
}
.footer-container p {
font-size: 14px;
color: #fff;
}

/* 响应式适配 */
@media (max-width: 768px) {
.advantages-container {
grid-template-columns: repeat(2, 1fr) !important;
}
.banner-container {
flex-direction: column;
text-align: center;
gap: 30px;
}
.banner-content h1 {
font-size: 28px;
}
.banner-content p {
font-size: 16px;
}
.home-banner::before, .home-banner::after {
width: 100%;
height: 60%;
}
.section-title h2 {
font-size: 24px;
}
.process-container {
flex-direction: column;
}
.process-arrow {
transform: rotate(90deg);
}
.cta-container {
padding: 40px 20px;
}
.cta-container h2 {
font-size: 24px;
}
/* ===== 以下追加到 768px 媒体查询中 ===== */
.platform-overview {
grid-template-columns: 1fr;
}
.section-block-header {
flex-direction: column;
align-items: flex-start;
gap: 12px;
}
.section-block-header h2 {
font-size: 24px;
}
.section-block-header {
  position: relative;
  padding-bottom: 20px;
}
.section-block-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--theme-color, #165DFF), transparent);
  border-radius: 2px;
}
.home-section-block {
padding-top: 40px;
}

}

@media (max-width: 480px) {
.banner-content h1 {
font-size: 24px;
}
.feature-card {
padding: 24px 16px;
}
.cta-btn, .banner-btn {
width: 100%;
}
/* ===== 以下追加到 480px 媒体查询中 ===== */

.home-cta .cta-container div[style*="display:flex"] {
flex-direction: column;
align-items: center;
}
.home-cta .cta-container div[style*="display:flex"] .cta-btn {
width: 100%;
}

}
/* ========== 页面底部样式（新增） ========== */
.ai-page-footer {
   background: linear-gradient(135deg, #1d2939 0%, #101828 100%);
color: #fff;
font-family: "Inter", "Microsoft Yahei", sans-serif;
margin-top: 20px;
border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-main {
padding: 60px 0 40px;
background: rgba(255, 255, 255, 0.02);
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* 页脚上部 */
.footer-top {
padding: 60px 0 40px;
border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-section {
padding: 0 10px;
}
.brand-section {
padding-right: 30px;
}
.brand-icon {
font-size: 24px;
background: linear-gradient(135deg, #165DFF 0%, #0F48D2 100%);
width: 36px;
height: 36px;
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
}
.footer-slogan {
font-size: 16px;
font-weight: 500;
color: #fff;
margin: 8px 0 4px;
line-height: 1.4;
}
.footer-brand {
font-size: 20px;
font-weight: 600;
color: #fff;
margin-bottom: 12px;
display: flex;
align-items: center;
gap: 8px;
}
.footer-container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 40px;
}

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

.footer-title {
font-size: 20px;
font-weight: 600;
color: #fff;
margin-bottom: 16px;
}
.contact-item {
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 12px;
font-size: 13px;
color: #cbd5e1;
}
.contact-icon {
width: 20px;
height: 20px;
display: flex;
align-items: center;
justify-content: center;
font-size: 14px;
opacity: 0.8;
}
.contact-item:last-child {
margin-bottom: 0;
}
.footer-desc {
font-size: 14px;
color: #94a3b8;
margin-bottom: 24px;
line-height: 1.6;
}
.footer-contact {
background: rgba(255, 255, 255, 0.05);
border-radius: 8px;
padding: 16px;
border: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-subtitle {
font-size: 16px;
font-weight: 500;
color: #fff;
margin-bottom: 16px;
}

.footer-nav {
list-style: none;
}

.footer-nav li {
margin-bottom: 10px;
}

.footer-nav a {
color: #fff;
font-size: 14px;
text-decoration: none;
transition: color 0.2s ease;
}

.footer-nav a:hover {
color: #165DFF;
}


.copyright {
font-size: 12px;
color: #fff;
}

.safety-tip {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 10px 20px;
background: rgba(255, 193, 7, 0.1);
border: 1px solid rgba(255, 193, 7, 0.2);
border-radius: 8px;
font-size: 12px;
color: #ffc107;
max-width: 600px;
line-height: 1.4;
}
.tip-icon {
font-size: 14px;
flex-shrink: 0;
}
.footer-bottom {
padding: 30px 0;
background: rgba(0, 0, 0, 0.3);
}

.footer-bottom .footer-container {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
gap: 20px;
}
.copyright-info {
line-height: 1.6;
}

.copyright-info p {
font-size: 13px;
color: #94a3b8;
margin: 4px 0;
}
.legal-links {
margin-top: 8px;
}

.legal-links a {
color: #cbd5e1;
font-size: 12px;
text-decoration: none;
margin: 0 8px;
transition: color 0.2s ease;
}

.legal-links a:hover {
color: #165DFF;
}

/* 响应式适配 */
@media (max-width: 768px) {
.footer-top {
padding: 40px 0 30px;
}
.footer-bottom .footer-container {
flex-direction: column;
text-align: center;
}
}

@media (max-width: 480px) {
.footer-top .footer-container {
gap: 20px;
}
.footer-title {
font-size: 18px;
}
}
/* ========== 控制台/个人中心样式（新增） ========== */
.console-container {
max-width: 1200px;
margin: 20px auto;
}

/* 未登录：登录/注册样式 */
.auth-box {
max-width: 500px;
margin: 0 auto;
background: #fff;
border-radius: 16px;
box-shadow: 0 4px 20px rgba(0,0,0,0.05);
padding: 30px;
}

.auth-tabs {
display: flex;
margin-bottom: 30px;
border-bottom: 1px solid #eef2f7;
}

.tab-item {
padding: 10px 20px;
font-size: 16px;
font-weight: 500;
color: #667085;
cursor: pointer;
position: relative;
}

.tab-item.active {
color: #165DFF;
}

.tab-item.active::after {
content: "";
position: absolute;
bottom: -1px;
left: 0;
width: 100%;
height: 2px;
background: #165DFF;
}

.auth-form {
width: 100%;
}

.hidden {
display: none;
}

.form-item {
margin-bottom: 20px;
width: 100%;
}

.form-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
}

.form-col {
flex: 1;
}

.form-item label {
display: block;
    margin-bottom: 12px;
    color: #344054;
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.form-item input {
width: 100%;
padding: 12px 16px;
border: 1px solid #d0d5dd;
border-radius: 8px;
font-size: 14px;
outline: none;
}

.form-item input:focus {
border-color: #165DFF;
box-shadow: 0 0 0 4px rgba(22,93,255,0.1);
}

.checkbox-label {
display: flex;
align-items: center;
gap: 8px;
font-size: 12px;
color: #667085;
cursor: pointer;
}
.forgot-pwd {
font-size: 12px;
color: #165DFF;
text-decoration: none;
}
.send-code-btn {
padding: 12px 20px;
background: #f2f4f7;
color: #344054;
border: none;
border-radius: 8px;
font-size: 14px;
cursor: pointer;
white-space: nowrap;
transition: all 0.2s ease;
}
.send-code-btn:disabled {
background: #e4e7ec;
color: #94a3b8;
cursor: not-allowed;
opacity: 0.8;
}
.send-code-btn:hover:not(:disabled) {
background: #eef2f7; /* 新增hover效果 */
}
.auth-btn {
width  : 100%;
padding: 12px;
background : #165DFF;
color  : #fff;
border : none;
border-radius: 8px;
font-size: 16px;
font-weight  : 500;
cursor   : pointer;
transition   : background 0.2s ease;
margin-top   : 10px;
}
.auth-btn:hover {
background: #0F48D2;
}
/* 已登录：控制台样式 */
.console-wrapper {
display: grid;
gap: 24px;
}
.console-card {
background: #fff;
border-radius: 16px;
box-shadow: 0 4px 20px rgba(0,0,0,0.05);
padding: 24px;
}
/* 个人信息卡片 */
.info-card {
display: flex;
align-items: center;
}
.info-header {
display: flex;
align-items: center;
width: 100%;
gap: 20px;
}
.info-avatar {
width: 64px;
height: 64px;
background: url(images/ag01.png) center no-repeat #165DFF;
background-size:50%;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: #fff;
font-size: 24px;
font-weight: 600;
}
.info-main {
flex: 1;
}
.user-name {
font-size: 20px;
color: #1d2939;
margin-bottom: 8px;
}
.auth-status {
font-size: 14px;
padding: 4px 12px;
border-radius: 16px;
display: inline-block;
}
.auth-yes {
background: #f0fdf4;
color: #16a34a;
}
.auth-no {
background: #fef2f2;
color: #e53935;
}
.edit-btn {
padding: 8px 16px;
background: #f2f4f7;
color: #344054;
border: none;
border-radius: 8px;
font-size: 14px;
cursor: pointer;
}
/* 数据卡片网格 */
.console-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 24px;
}
/* 数据卡片 */
.data-card {
display: flex;
flex-direction: column;
gap: 16px;
}
.data-header {
display: flex;
justify-content: space-between;
align-items: center;
}
.data-title {
font-size: 16px;
color: #667085;
font-weight: 500;
}
.recharge-btn {
padding: 6px 12px;
background: #165DFF;
color: #fff;
border: none;
border-radius: 6px;
font-size: 12px;
cursor: pointer;
}
.data-value {
font-size: 32px;
font-weight: 600;
color: #1d2939;
}
/* 进度条 */
.progress-bar {
width: 100%;
height: 8px;
background: #f2f4f7;
border-radius: 4px;
overflow: hidden;
}
.progress-fill {
height: 100%;
background: linear-gradient(90deg, #165DFF 0%, #4080FF 100%);
border-radius: 4px;
transition: width 0.3s ease;
}
.progress-text {
display: flex;
justify-content: space-between;
font-size: 12px;
color: #667085;
margin-top: 8px;
}
/* 记录卡片 */
.record-card {
width: 100%;
}
.card-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 20px;
}
.card-header h3 {
font-size: 18px;
color: #1d2939;
font-weight: 600;
}
.view-all {
font-size: 14px;
color: #165DFF;
text-decoration: none;
}
/* 记录表格 */
.record-table {
width: 100%;
border-radius: 8px;
overflow: hidden;
}
.table-header {
display: grid;
grid-template-columns: repeat(6, minmax(0, 1fr));
background: #f9fafb;
padding: 12px 16px;
font-size: 14px;
font-weight: 500;
color: #344054;
}
.table-body {
border: 1px solid #eef2f7;
border-top: none;
border-radius: 0 0 8px 8px;
transition: opacity 0.3s ease-out;
}
.table-row {
display: grid;
grid-template-columns: repeat(6, minmax(0, 1fr));
padding: 12px 16px;
font-size: 14px;
color: #667085;
border-bottom: 1px solid #f2f4f7;
align-items: center;
}
.table-row:last-child {
border-bottom: none;
}
.table-col {
min-width: 0;
display: block;
box-sizing: border-box;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.success {
color: #16a34a;
}
/* 响应式适配 */
@media (max-width: 768px) {
.auth-box {
padding: 24px;
}
.form-row {
flex-direction: column;
align-items: stretch;
}
.console-grid {
grid-template-columns: 1fr;
}
.table-header, .table-row {
grid-template-columns: 1fr 1fr;
gap: 8px;
}
.table-header .table-col:nth-child(3),
.table-header .table-col:nth-child(4),
.table-row .table-col:nth-child(3),
.table-row .table-col:nth-child(4) {
grid-column: 1 / -1;
font-size: 12px;
padding-top: 4px;
}
.data-value {
font-size: 24px;
}
}
@media (max-width: 480px) {
.info-header {
flex-direction: column;
text-align: center;
gap: 12px;
}
.edit-btn {
width: 100%;
}
}
/* 原有样式保持不变 */
.logout-btn {
background-color: #ff4d4f;
color: #fff;
border: none;
border-radius: 6px;
padding: 6px 12px;
font-size: 14px;
cursor: pointer;
margin-left: 10px;
text-decoration: none;
}
.logout-btn:hover {
background-color: #ff3333;
}
.step-card p {
line-height: 1.8;
font-size: 15px;
}
@media (max-width: 768px) {
.step-card div[style*="grid-template-columns"] {
grid-template-columns: 1fr !important;
}
}
.status-pending {color: #FF9800;}
.status-processing {color: #2196F3;}
.status-success {color: #16a34a;}
.status-failed {color: #e53935;}
/* 视频查看/下载按钮 */
.table-col .table-btn {
display: inline-block;
padding: 4px 10px;
font-size: 12px;
border-radius: 4px;
text-decoration: none;
margin-right: 4px;
cursor: pointer;
}
.table-col .view-btn {
background: #e6f0ff;
color: #165DFF;
}
.table-col .view-btn:hover {
background: #d6e4ff;
}
.table-col .download-btn {
background: #f0fdf4;
color: #16a34a;
}
.table-col .download-btn:hover {
background: #e0f7e9;
}
/* 视频查看/下载按钮样式 */
.table-col .video-btn {
display: inline-block;
padding: 3px 8px;
font-size: 12px;
border-radius: 4px;
text-decoration: none;
margin: 0 2px;
cursor: pointer;
border: none;
}
.table-col .video-btn.view {
background: #e6f7ff;
color: #1890ff;
}
.table-col .video-btn.download {
background: #f0fdf4;
color: #16a34a;
}
.table-col .video-btn:hover {
opacity: 0.8;
}
/* 充值弹窗样式 */
.recharge-modal {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: none;
align-items: center;
justify-content: center;
z-index: 9999;
}
.modal-overlay {
position: absolute;
width: 100%;
height: 100%;
background: rgba(0,0,0,0.5);
}
.modal-box {
position: relative;
background: #fff;
border-radius: 16px;
width: 90%;
max-width: 400px;
padding: 24px;
box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.modal-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 20px;
}
.modal-header h3 {
font-size: 18px;
color: #1d2939;
margin: 0;
}
.modal-close {
font-size: 22px;
background: none;
border: none;
cursor: pointer;
color: #666;
line-height: 1;
}
.money-group {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 12px;
margin-bottom: 20px;
}
.money-item {
padding: 14px;
border: 1px solid #e4e7ec;
border-radius: 8px;
text-align: center;
cursor: pointer;
font-size: 16px;
transition: all 0.2s;
}
.money-item.on {
border-color: #165DFF;
background: #e6f0ff;
color: #165DFF;
font-weight: 500;
}
.confirm-recharge-btn {
width: 100%;
padding: 14px;
background: #165DFF;
color: #fff;
border: none;
border-radius: 8px;
font-size: 16px;
cursor: pointer;
}
.qrcode-box {
text-align: center;
}
.qr-tip {
font-size: 16px;
margin-bottom: 16px;
color: #333;
}
#qrImg {
width: 280px;
height: 280px;
margin: 0 auto;
display: block;
border-radius: 8px;
}
.qr-order {
margin-top: 12px;
font-size: 14px;
color: #666;
}
/* 发票按钮样式（与充值按钮统一风格） */
.data-actions {
display: flex;
gap: 8px;
align-items: center;
}
.invoice-btn {
padding: 6px 12px;
background: #f5f7fa;
color: #333;
border: 1px solid #dcdfe6;
border-radius: 6px;
font-size: 12px;
cursor: pointer;
text-decoration: none;
transition: all 0.2s;
}
.invoice-btn:hover {
background: #e5eaf5;
border-color: #c4c9d4;
color: #165DFF;
}
.agent-wrap{display:flex;align-items:center;justify-content:center;padding:20px;}
.agent-unlogin-box{max-width:1200px;width:100%;background:#fff;border-radius:20px;box-shadow:0 8px 30px rgba(0,0,0,0.08);overflow:hidden;display:flex;flex-wrap:wrap;}
.left{flex:1;background:linear-gradient(135deg,#165DFF,#0E40C2);color:#fff;padding:60px 40px;display:flex;flex-direction:column;justify-content:center;}
.left h2{font-size:32px;margin-bottom:20px;line-height:1.3}
.left p{font-size:16px;opacity:0.9;line-height:1.7;margin-bottom:30px;}
.left .items{display:flex;flex-direction:column;gap:16px;margin-top:20px;}
.left .item{display:flex;align-items:center;gap:12px;}
.left .item span{width:26px;height:26px;background:rgba(255,255,255,0.2);border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:12px;}
.right{flex:2;padding:40px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;}
.right h3{font-size:26px;color:#1D2129;margin-bottom:12px;}
.right .desc{color:#86909C;margin-bottom:40px;}
.btn-group{display:flex;gap:16px;}
.logo{width:60px;height:60px;background:#165DFF;border-radius:16px;margin-bottom:20px;display:grid;place-items:center;color:#fff;font-size:24px;font-weight:bold;}
.progress-container {
width: 100%;
max-width: 1200px;
margin: 0 auto 30px;
padding: 0 20px;
}
.progress-bar-wrap {
width: 100%;
height: 6px;
background: #eef2f7;
border-radius: 3px;
overflow: hidden;
}
.progress-bar-fill {
height: 100%;
background: linear-gradient(90deg, #165DFF, #4080FF);
border-radius: 3px;
transition: width 0.5s ease;
width: 0%;
}
.loading-mask {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0,0,0,0.5);
display: flex;
align-items: center;
justify-content: center;
z-index: 9999;
display: none;
}
.loading-box {
background: #fff;
padding: 30px 40px;
border-radius: 12px;
display: flex;
align-items: center;
gap: 12px;
font-size: 16px;
color: #333;
}
.loading-spin {
width: 20px;
height: 20px;
border: 2px solid #165DFF;
border-top-color: transparent;
border-radius: 50%;
animation: spin 1s linear infinite;
}
.option-group {
display: flex;
gap: 12px;
margin: 10px 0;
flex-wrap: wrap;
}
.radio-item {
display: flex;
align-items: center;
gap: 6px;
padding: 8px 12px;
border: 1px solid #e5e7eb;
border-radius: 8px;
cursor: pointer;
}
.radio-item input:checked + span {
color: #165DFF;
font-weight: 500;
}
.scene-item {
border: 1px solid #e6f7ff;
border-radius: 10px;
padding: 15px;
margin-bottom: 12px;
background: #f9fcff;
}
.scene-title {
font-size: 15px;
font-weight: 600;
color: #165DFF;
margin-bottom: 12px;
}
@keyframes spin {
to { transform: rotate(360deg); }
}
/* 多个视频项 横向左右布局 */
#sceneUploadArea {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
#sceneUploadArea .scene-item {
  flex: 1;
  min-width: 280px;
  margin-bottom: 0;
}
/* 仅居中三个步骤按钮 */
.step-form button[name="generate_prompt"],
.step-form button[name="convert_to_video_script"],
.step-form button[name="generate_video"] {
display: block;
margin: 20px auto 0;
}
.btn-line{color: #404040;}
/* ========== 分页样式 ========== */
.record-info {
font-size: 14px;
color: #667085;
font-weight: 500;
}
.table-pagination {
display: flex;
align-items: center;
justify-content: space-between;
padding: 20px 16px;
border-top: 1px solid #eef2f7;
background: #fff;
border-radius: 0 0 8px 8px;
gap: 20px;
}
.pagination-info {
font-size: 14px;
color: #667085;
font-weight: 500;
white-space: nowrap;
}
.pagination-info span {
font-weight: 600;
color: #165DFF;
}
.pagination-buttons {
display: flex;
align-items: center;
gap: 6px;
flex-wrap: wrap;
justify-content: flex-end; /* 右对齐按钮 */
flex: 1;
}
.pagination-btn {
min-width: 36px;
height: 36px;
display: inline-flex;
align-items: center;
justify-content: center;
padding: 0 12px;
background: #fff;
border: 1px solid #e4e7ec;
border-radius: 6px;
font-size: 14px;
color: #344054;
cursor: pointer;
transition: all 0.2s ease;
font-weight: 500;
}
.pagination-btn:hover:not(:disabled) {
background: #f5f9ff;
border-color: #165DFF;
color: #165DFF;
}
.pagination-btn.active {
background: #165DFF;
border-color: #165DFF;
color: #fff;
font-weight: 600;
}
.pagination-btn.active:hover {
background: #0F48D2;
border-color: #0F48D2;
color: #fff;
}
.pagination-btn:disabled {
background: #f9fafb;
border-color: #e4e7ec;
color: #98a2b3;
cursor: not-allowed;
}
.page-numbers {
display: flex;
align-items: center;
gap: 6px;
}
.pagination-ellipsis {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 36px;
height: 36px;
font-size: 14px;
color: #667085;
}
/* 加载动画 */
.loading-spin {
display: inline-block;
width: 20px;
height: 20px;
border: 2px solid #165DFF;
border-top-color: transparent;
border-radius: 50%;
animation: spin 1s linear infinite;
margin: 0 auto;
}
@keyframes spin {
to { transform: rotate(360deg); }
}
/* 响应式适配 */
@media (max-width: 768px) {
.table-pagination {
flex-direction: column;
align-items: center;
text-align: center;
gap: 12px;
}

.pagination-info {
order: 2;
}

.pagination-buttons {
order: 1;
}
}
@media (max-width: 480px) {
.pagination-buttons {
justify-content: center;
}

.pagination-btn {
min-width: 32px;
height: 32px;
padding: 0 8px;
font-size: 13px;
}

.page-numbers {
gap: 4px;
}
}
/* 表格行淡入动画 */
@keyframes fadeIn {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
}
.table-row {
animation: fadeIn 0.3s ease-out;
animation-fill-mode: both;
}
/* 为每行添加延迟动画，创建逐行淡入效果 */
.table-row:nth-child(1) { animation-delay: 0.05s; }
.table-row:nth-child(2) { animation-delay: 0.1s; }
.table-row:nth-child(3) { animation-delay: 0.15s; }
.table-row:nth-child(4) { animation-delay: 0.2s; }
.table-row:nth-child(5) { animation-delay: 0.25s; }
.table-row:nth-child(6) { animation-delay: 0.3s; }
.table-row:nth-child(7) { animation-delay: 0.35s; }
.table-row:nth-child(8) { animation-delay: 0.4s; }
.table-row:nth-child(9) { animation-delay: 0.45s; }
.table-row:nth-child(10) { animation-delay: 0.5s; }
/* 积分卡片样式（复用现有风格） */
.console-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 24px;
}
/* 绑定按钮样式（复用btn-default风格） */
.bind-points-btn {
padding: 6px 12px;
background: #f2f4f7;
color: #165DFF;
font-size: 12px;
font-weight: 500;
border-radius: 6px;
text-decoration: none;
transition: all 0.2s ease;
}
.bind-points-btn:hover {
background: #e4e7ec;
color: #0F48D2;
text-decoration: none;
}
.unbind-status {
color: #667085;
font-size: 24px;
}
.points-desc, .points-tip {
font-size: 12px;
color: #667085;
margin-top: 8px;
}
.points-tip {
color: #94a3b8;
}
/* 响应式适配（复用现有断点） */
@media (max-width: 768px) {
.console-grid {
grid-template-columns: 1fr;
gap: 16px;
}
.unbind-status {
font-size: 20px;
}
}
/* 积分绑定弹窗 */
.bind-points-modal {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 9999;
justify-content: center;
align-items: center;
}
.bind-points-modal .modal-overlay {
position: absolute;
width: 100%;
height: 100%;
background: rgba(0,0,0,0.5);
}
.bind-points-modal .modal-box {
position: relative;
background: #fff;
border-radius: 8px;
padding: 20px;
box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}
.bind-points-modal .modal-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 20px;
padding-bottom: 10px;
border-bottom: 1px solid #eee;
}
.bind-points-modal .modal-close {
background: transparent;
border: none;
font-size: 20px;
cursor: pointer;
color: #999;
}
.bind-points-modal .qr-img {
width: 200px;
height: 200px;
margin: 0 auto;
display: block;
}
.bind-points-modal .qr-tip {
margin-bottom: 15px;
color: #666;
}
.bind-points-modal .qr-tip.small {
font-size: 12px;
color: #999;
margin-top: 10px;
}
/* 积分兑换按钮样式 */
.exchange-btn {
padding: 6px 16px;
background: linear-gradient(135deg, #165DFF 0%, #0F48D2 100%);
color: #fff;
border: none;
border-radius: 8px;
font-size: 14px;
font-weight: 500;
cursor: pointer;
transition: all 0.2s ease;
}
.exchange-btn:hover {
opacity: 0.95;
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(22, 93, 255, 0.2);
}
/* 积分兑换弹窗样式 */
.exchange-modal {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
justify-content: center;
align-items: center;
z-index: 1000;
}
.exchange-info {
margin-bottom: 24px;
}
.exchange-rule {
font-size: 14px;
color: #344054;
margin-bottom: 16px;
}
.rule-text {
color: #165DFF;
font-weight: 600;
}
.exchange-label {
display: block;
font-size: 14px;
color: #344054;
margin-bottom: 8px;
font-weight: 500;
}
.available-points {
color: #165DFF;
font-weight: 600;
}
.input-group {
margin-bottom: 16px;
}
.exchange-input {
width: 100%;
padding: 12px 16px;
border: 1px solid #d0d5dd;
border-radius: 8px;
font-size: 14px;
color: #1d2939;
transition: border-color 0.2s ease;
}
.exchange-input:focus {
outline: none;
border-color: #165DFF;
box-shadow: 0 0 0 4px rgba(22, 93, 255, 0.1);
}
.input-tip {
font-size: 12px;
color: #667085;
margin-top: 4px;
display: block;
}
.exchange-preview {
font-size: 14px;
color: #344054;
padding: 12px;
background: #f9fafb;
border-radius: 8px;
border: 1px solid #eef2f7;
}
#previewDuration {
color: #165DFF;
font-weight: 600;
}
.confirm-exchange-btn {
width: 100%;
padding: 12px 24px;
background: linear-gradient(135deg, #165DFF 0%, #0F48D2 100%);
color: #fff;
border: none;
border-radius: 8px;
font-size: 14px;
font-weight: 500;
cursor: pointer;
transition: all 0.2s ease;
}
.confirm-exchange-btn:hover {
opacity: 0.95;
transform: translateY(-1px);
}
.confirm-exchange-btn:disabled {
background: #e4e7ec;
color: #667085;
cursor: not-allowed;
transform: none;
opacity: 1;
}
/* 响应式适配 */
@media (max-width: 480px) {
.exchange-modal .modal-box {
width: 90% !important;
}
}
/* ========== 追加的美化样式 ========== */

/* 1. 全局增强：更平滑的滚动与字体渲染 */
html {
  scroll-behavior: smooth;
}
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* 2. Banner区域增强 */
.home-banner {
  position: relative;
  overflow: hidden;
}
/* 增加更细腻的浮动粒子背景效果 */
.banner-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
  pointer-events: none;
}
.particle {
  position: absolute;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}
.banner-container {
  position: relative;
  z-index: 2; /* 确保内容在粒子之上 */
}

@keyframes cardFloat {
  from { transform: translateY(0); }
  to { transform: translateY(-10px); }
}


/* 3. 版块区块标题增强 */

/* 为不同版块定义主题色变量 */
#section-ecommerce { --theme-color: #165DFF; }
#section-general { --theme-color: #0F9D58; }
#section-deploy { --theme-color: #E67E22; }

/* 4. 功能卡片增强悬停效果 */
.feature-card {
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(var(--theme-rgb), 0.05), transparent);
  transition: left 0.7s ease;
}
.feature-card:hover::before {
  left: 100%;
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}
.feature-icon {
  transition: all 0.3s ease;
}
.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

/* 5. 优势/场景卡片增强 */
.advantage-item {
  transition: all 0.3s ease;
  cursor: default;
}
.advantage-item:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
.advantage-tag {
  position: relative;
  display: inline-block;
  padding-bottom: 5px;
}
.advantage-tag::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: currentColor;
  transition: width 0.3s ease;
}
.advantage-item:hover .advantage-tag::after {
  width: 100%;
}

/* 6. 流程步骤增强 */
.process-step {
  position: relative;
}
.step-num {
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.process-step:hover .step-num {
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}
.process-arrow {
  transition: transform 0.3s ease;
}
.process-step:hover + .process-arrow {
  transform: scale(1.2);
}

/* 7. CTA按钮区域增强 */
.cta-container {
  position: relative;
  overflow: hidden;
}
.cta-container::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 1%, transparent 1%);
  background-size: 20px 20px;
  animation: ctaBgMove 20s linear infinite;
  opacity: 0.5;
}
@keyframes ctaBgMove {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(-20px, -20px) rotate(360deg); }
}
.cta-btn {
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all 0.3s ease;
}
.cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: left 0.7s ease;
  z-index: -1;
}
.cta-btn:hover::before {
  left: 100%;
}
.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 20px rgba(0, 0, 0, 0.2);
}

/* 8. 响应式优化（针对大屏） */
@media (min-width: 1400px) {
  .agent-container, .banner-container, .home-features,
  .home-process, .home-cta, .section-block-header,
  .footer-container {
    max-width: 1300px;
  }
  .banner-content h1 {
    font-size: 42px;
  }
  .banner-content p {
    font-size: 20px;
  }
  .feature-card {
    padding: 40px 30px;
  }
}

/* 9. 加载优化（如果页面有动态内容） */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
  border-radius: 8px;
}
@keyframes loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
/* 基础布局 */
.agent-container {
    margin: 0 auto;
    padding: 20px;
}
.agent-header {
    margin-bottom: 24px;
}
.header-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}
.header-logo h1 {
    font-size: 24px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}
.header-desc {
    color: #64748b;
    margin: 6px 0 12px 0;
}
/* 步骤卡片 */
.steps-wrapper {
    margin-top: 20px;
}
.step-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.step-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.step-header h2 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}
.step-icon {
    font-size: 20px;
    color: #3b82f6;
}

/* 表单 */
.form-item {
    margin-bottom: 18px;
}
.form-item.full-width {
    width: 100%;
}
.form-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.form-row .form-item {
    flex: 1;
    min-width: 260px;
}

.form-item .required {
    color: #f43f5e;
}
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 14px;
    resize: vertical;
}
.script-tip {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #64748b;
    margin-top: 4px;
}

/* 上传 */
.file-upload {
    border-radius: 8px;
    text-align: center;
    position: relative;
    cursor: pointer;
}
.file-upload input {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}
.upload-label {
    display: block;
    color: #64748b;
    font-size: 14px;
}
.img-preview {
    margin-top: 10px;
    display: flex;
    justify-content: center;
}
.img-preview img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

/* 选项组 */
.option-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.radio-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}
.radio-item input {
    margin: 0;
}
.form-select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 14px;
}

/* 按钮 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    text-decoration: none;
}

.btn-large {
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 500;
}
.btn-outline {
    background: transparent;
    border: 1px solid #94a3b8;
    color: #475569;
}
.btn-sm {
    padding: 6px 10px;
    font-size: 12px;
}

/* 提示 */
.alert {
    padding: 12px 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}
.alert-success {
    background: #dcfce7;
    color: #166534;
}
.alert-error {
    background: #fee2e2;
    color: #991b1b;
}

/* 结果 */
.result-box {
    background: #f8fafc;
    border-radius: 10px;
    padding: 18px;
}
.result-box.error {
    background: #fff1f2;
    color: #991b1b;
}
.result-header {
    font-weight: 500;
    margin-bottom: 12px;
    color: #1e293b;
}
.video-result {
    width: 100%;
}
video {
    border-radius: 8px;
    max-width: 100%;
}
.video-action-bar {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 20px; }

/* 加载 */
.loading-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
.loading-box {
    background: #fff;
    padding: 30px 40px;
    border-radius: 12px;
    text-align: center;
}
.loading-spin {
    width: 36px;
    height: 36px;
    border: 4px solid #e2e8f0;
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 16px;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
.loading-box span {
    display: block;
    font-size: 15px;
    color: #334155;
}
.loading-box small {
    color: #64748b;
    margin-top: 6px;
    display: block;
}
/* 禁用状态的表单项样式 */
.form-item.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.form-item.disabled select {
    background-color: #f5f7fa;
    border-color: #e5e7eb;
}
.form-item.disabled label {
    color: #94a3b8;
}
/* 预设选项样式优化 */
.option-group .radio-item {
    display: block;
    margin-bottom: 8px;
}
.option-group .radio-item:last-child {
    margin-bottom: 0;
}
/* 脚本&图片描述词结果区域样式 */
.script-result {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 16px;
    margin-top: 20px;
}
.script-result .result-header {
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    font-size: 15px;
}
.video-item {
    background: #fff;
    border: 1px solid #ebebeb;
    border-radius: 6px;
    padding: 16px;
    margin-bottom: 12px;
}
.video-item h4 {
    font-size: 16px;
    color: #2f5496;
    margin: 0 0 10px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
}
.frame-prompts {
    margin-top: 12px;
}
.frame-prompts > div {
    margin-bottom: 10px;
}
.frame-prompts label {
    font-size: 14px;
    color: #666;
}
.frame-prompts div[id^="first_frame_"],
.frame-prompts div[id^="last_frame_"] {
    font-size: 13px;
    line-height: 1.7;
    word-break: break-all;
}
/* 按钮样式增强 */
.btn-sm {
    padding: 4px 12px;
    font-size: 12px;
    border-radius: 4px;
    cursor: pointer;
    border: 1px solid #165DFF;
    background: #fff;
    color: #165DFF;
    transition: all 0.2s;
}
.btn-sm:hover {
    background: #165DFF;
    color: #fff;
}
.btn-sm.copied {
    background: #52c41a;
    border-color: #52c41a;
    color: #fff;
}
.btn-outline {
    border: 1px solid #d9d9d9;
    color: #666;
}
.btn-outline:hover {
    border-color: #165DFF;
    background: #f0f7ff;
    color: #165DFF;
}
/* 加载遮罩样式 */
.loading-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
.loading-box {
    text-align: center;
}
.loading-spin {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #165DFF;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* 表单样式优化 */
.form-item.full-width {
    width: 100%;
}
.option-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.radio-item {
    display: flex;
    align-items: center;
    cursor: pointer;
}
.radio-item input {
    margin-right: 6px;
}
.scene-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid #f0f0f0;
}
.file-upload {
    position: relative;
    display: inline-block;
    width: 100%;
}
.upload-label {
    display: block;
    padding: 12px;
    background: #f5f5f5;
    border: 1px dashed #d9d9d9;
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
    color: #666;
}
.upload-label:hover {
    background: #f0f0f0;
    border-color: #165DFF;
    color: #165DFF;
}
.file-upload input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}