/* ========================================
   全局样式
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --secondary-color: #64748b;
    --bg-color: #f8fafc;
    --text-color: #1e293b;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   TopBar 导航栏
======================================== */
.topbar {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 70px;
}

.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
}

.logo-icon {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    background: linear-gradient(135deg, var(--primary-color), #3b82f6);    
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}
.logo-text{
	width: 180px;
}
.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
    padding: 8px 0;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.auth-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    font-size: 14px;
    display: inline-block;
    text-align: center;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

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

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

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

.btn-large {
    padding: 14px 32px;
    font-size: 16px;
}

/* ========================================
   轮播图区域
======================================== */
.hero-slider {
    margin-top: 70px;
    position: relative;
    height: 500px;
    overflow: hidden;
}

.slider-container {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
}

.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.6), rgba(0,0,0,0.3));
}

.slide-content {
    position: relative;
    z-index: 1;
    text-align: right;
    color: #1e293b;
    width: 80%;
    padding: 0 20px;
}

.slide-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
	color: #000;
	-webkit-text-stroke: 1px #fff;
	text-stroke:1px #fff;
	text-shadow:1px 1px 2px #000,-1px 1px 2px #000,1px -1px 2px #000,-1px -1px 2px #000;
}

.slide-content p {
    font-size: 24px;
	font-weight: 700;
	color: #000;
    margin-bottom: 30px;
    
	color: #595959;
	-webkit-text-stroke: 1px #c7deff;
	text-stroke:1px #c7deff;
	text-shadow:1px 1px 2px #c7deff,-1px 1px 2px #c7deff,1px -1px 2px #c7deff,-1px -1px 2px #c7deff;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background-color: var(--white);
    width: 30px;
    border-radius: 6px;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255,255,255,0.2);
    border: none;
    color: var(--white);
    font-size: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background-color: rgba(255,255,255,0.4);
}

.slider-btn.prev {
    left: 20px;
}

.slider-btn.next {
    right: 20px;
}

/* ========================================
   产品展示区域
======================================== */
.products-section {
    padding: 80px 0;
    background-color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    color: var(--text-color);
    margin-bottom: 15px;
}

.section-title p {
    color: var(--secondary-color);
    font-size: 18px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--border-color);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 60px;
}

.product-info {
    padding: 25px;
}

.product-info h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.product-info p {
    color: var(--secondary-color);
    margin-bottom: 20px;
    line-height: 1.6;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-version {
    font-size: 12px;
    color: var(--secondary-color);
    background-color: var(--bg-color);
    padding: 4px 10px;
    border-radius: 20px;
}

/* ========================================
   底部区域
======================================== */
.footer {
    background-color: #1e293b;
    color: var(--white);
    padding: 60px 0 30px;
}

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

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-section p,
.footer-section a {
    color: #94a3b8;
    line-height: 2;
    display: block;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--white);
}

.qr-code {
    width: 120px;
    height: 120px;
	background: url("../images/QR.jpg");
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
	background-color: #000; /* 空白区域填充底色 */
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e293b;
    font-size: 12px;
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 30px;
    text-align: center;
    color: #64748b;
    font-size: 14px;
}

.footer-bottom a {
    color: #94a3b8;
    margin: 0 10px;
}

/* ========================================
   登录/注册页面样式
======================================== */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
}

.auth-container {
    background-color: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 450px;
    padding: 40px;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header .logo {
    justify-content: center;
    margin-bottom: 20px;
}

.auth-header h2 {
    font-size: 28px;
    color: var(--text-color);
    margin-bottom: 10px;
}

.auth-header p {
    color: var(--secondary-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 14px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary-color);
}

.remember-me input {
    width: 16px;
    height: 16px;
}

.forgot-password {
    color: var(--primary-color);
}

.forgot-password:hover {
    text-decoration: underline;
}

.btn-full {
    width: 100%;
    padding: 14px;
    font-size: 16px;
}

.auth-footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid var(--border-color);
    color: var(--secondary-color);
}

.auth-footer a {
    color: var(--primary-color);
    font-weight: 500;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* ========================================
   关于页面样式
======================================== */
.page-header {
    margin-top: 70px;
    background: linear-gradient(135deg, var(--primary-color), #3b82f6);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
}

.about-content {
    padding: 80px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--text-color);
}

.about-text p {
    color: var(--secondary-color);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-image {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-radius: 16px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 80px;
}

/* ========================================
   产品页面样式
======================================== */
.products-page {
    padding: 80px 0;
}

.products-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border: 1px solid var(--border-color);
    background-color: var(--white);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* ========================================
   响应式设计
======================================== */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .slide-content h1 {
        font-size: 32px;
    }
    
    .slide-content p {
        font-size: 16px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .qr-code {
        margin: 0 auto;
    }
}


/* ========================================
   帮助与支持页面专属样式
======================================== */
.help-page {
	padding: 60px 0 80px;
}

.help-layout {
	display: grid;
	grid-template-columns: 240px minmax(0, 1fr);
	gap: 40px;
	align-items: start;
}

/* ---------- 侧边目录 ---------- */
.help-sidebar {
	position: sticky;
	top: 90px;
	background-color: var(--white);
	border: 1px solid var(--border-color);
	border-radius: 12px;
	padding: 22px 18px;
	box-shadow: var(--shadow);
}

.help-sidebar h4 {
	font-size: 16px;
	color: var(--text-color);
	margin-bottom: 16px;
	padding-left: 10px;
	border-left: 4px solid var(--primary-color);
	line-height: 1.2;
}

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

.help-nav li {
	margin-bottom: 6px;
}

.help-nav a {
	display: block;
	padding: 10px 14px;
	border-radius: 8px;
	font-size: 15px;
	color: var(--secondary-color);
	transition: all 0.3s;
	cursor: pointer;
	user-select: none;
}

.help-nav a:hover {
	background-color: #eff6ff;
	color: var(--primary-color);
}

.help-nav a.active {
	background-color: var(--primary-color);
	color: var(--white);
}

.help-contact {
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px dashed var(--border-color);
	font-size: 13px;
	color: var(--secondary-color);
	line-height: 2;
}

/* ---------- 内容卡片（默认全部隐藏，仅显示激活项） ---------- */
.help-card {
	display: none;
	background-color: var(--white);
	border: 1px solid var(--border-color);
	border-radius: 12px;
	padding: 34px 36px;
	box-shadow: var(--shadow);
}

.help-card.active {
	display: block;
	animation: helpFadeIn 0.3s ease;
}

@keyframes helpFadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.help-title {
	font-size: 24px;
	color: var(--text-color);
	display: flex;
	align-items: center;
	gap: 10px;
	padding-bottom: 14px;
	margin-bottom: 18px;
	border-bottom: 2px solid #eff6ff;
}

.help-desc {
	color: var(--secondary-color);
	margin-bottom: 22px;
}

.sub-title {
	font-size: 17px;
	color: var(--text-color);
	margin: 26px 0 14px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.sub-title::before {
	content: '';
	width: 4px;
	height: 16px;
	background-color: var(--primary-color);
	border-radius: 2px;
}

/* ---------- 系统要求 ---------- */
.spec-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 14px;
}

.spec-item {
	background-color: var(--bg-color);
	border: 1px solid var(--border-color);
	border-radius: 10px;
	padding: 14px 18px;
}

.spec-item span {
	display: block;
	font-size: 13px;
	color: var(--secondary-color);
	margin-bottom: 4px;
}

.spec-item strong {
	font-size: 15px;
	color: var(--text-color);
	font-weight: 600;
}

/* ---------- 安装步骤 ---------- */
.steps {
	list-style: none;
	counter-reset: step;
}

.steps li {
	position: relative;
	padding-left: 48px;
	margin-bottom: 18px;
	color: var(--secondary-color);
	line-height: 1.8;
}

.steps li:last-child {
	margin-bottom: 0;
}

.steps li::before {
	counter-increment: step;
	content: counter(step);
	position: absolute;
	left: 0;
	top: 2px;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--primary-color), #3b82f6);
	color: var(--white);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	font-weight: 600;
}

.steps li strong {
	color: var(--text-color);
}

/* ---------- 提示框 ---------- */
.tip-box {
	background-color: #eff6ff;
	border-left: 4px solid var(--primary-color);
	border-radius: 8px;
	padding: 14px 20px;
	color: #1e40af;
	font-size: 14px;
	line-height: 1.8;
	margin: 22px 0;
}

.tip-box.warn {
	background-color: #fff7e6;
	border-left-color: #f59e0b;
	color: #92400e;
}

.help-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 24px;
}

/* ---------- 使用教程 ---------- */
.guide-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 20px;
}

.guide-item {
	background-color: var(--bg-color);
	border: 1px solid var(--border-color);
	border-radius: 12px;
	padding: 24px;
	transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s, background-color 0.3s;
}

.guide-item:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lg);
	border-color: #bfdbfe;
	background-color: var(--white);
}

.guide-icon {
	font-size: 30px;
	margin-bottom: 12px;
}

.guide-item h4 {
	font-size: 18px;
	color: var(--text-color);
	margin-bottom: 14px;
}

.guide-item ol {
	list-style: none;
	counter-reset: gstep;
}

.guide-item ol li {
	position: relative;
	padding-left: 26px;
	margin-bottom: 10px;
	font-size: 14px;
	color: var(--secondary-color);
	line-height: 1.7;
}

.guide-item ol li:last-child {
	margin-bottom: 0;
}

.guide-item ol li::before {
	counter-increment: gstep;
	content: counter(gstep) ".";
	position: absolute;
	left: 0;
	color: var(--primary-color);
	font-weight: 600;
}

.help-figure {
	margin-top: 26px;
}

.help-figure img {
	display: block;
	width: 100%;
	max-width: 760px;
	margin: 0 auto;
	border-radius: 10px;
	border: 1px solid var(--border-color);
}

.help-figure figcaption {
	text-align: center;
	font-size: 13px;
	color: var(--secondary-color);
	margin-top: 10px;
}

/* ---------- 常见问题 ---------- */
.faq-item {
	border: 1px solid var(--border-color);
	border-radius: 10px;
	margin-bottom: 12px;
	overflow: hidden;
	transition: border-color 0.3s;
}

.faq-item.open {
	border-color: #bfdbfe;
}

.faq-question {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	background-color: var(--white);
	border: none;
	text-align: left;
	padding: 16px 20px;
	font-size: 16px;
	font-weight: 500;
	color: var(--text-color);
	cursor: pointer;
	font-family: inherit;
	transition: background-color 0.3s, color 0.3s;
}

.faq-question:hover {
	background-color: var(--bg-color);
	color: var(--primary-color);
}

.faq-item.open .faq-question {
	color: var(--primary-color);
	background-color: var(--bg-color);
}

.faq-question .arrow {
	flex-shrink: 0;
	font-size: 12px;
	color: var(--secondary-color);
	transition: transform 0.3s;
}

.faq-item.open .arrow {
	transform: rotate(180deg);
}

.faq-answer {
	max-height: 0;
	overflow: hidden;
	padding: 0 20px;
	color: var(--secondary-color);
	font-size: 15px;
	line-height: 1.9;
	transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.open .faq-answer {
	max-height: 520px;
	padding: 0 20px 18px;
}

/* ---------- 问题提交表单 ---------- */
.form-row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 0 20px;
}

.form-group select,
.form-group textarea {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid var(--border-color);
	border-radius: 8px;
	font-size: 15px;
	font-family: inherit;
	color: var(--text-color);
	background-color: var(--white);
	transition: border-color 0.3s;
}

.form-group select:focus,
.form-group textarea:focus {
	outline: none;
	border-color: var(--primary-color);
}

.form-group textarea {
	resize: vertical;
	min-height: 140px;
	line-height: 1.7;
}

.form-tip {
	font-size: 13px;
	color: var(--secondary-color);
	margin-top: 6px;
}

.required {
	color: #ef4444;
}

.form-success {
	display: none;
	align-items: center;
	gap: 10px;
	background-color: #ecfdf5;
	border: 1px solid #a7f3d0;
	color: #047857;
	border-radius: 10px;
	padding: 14px 20px;
	margin-bottom: 22px;
	font-size: 15px;
}

.form-success.show {
	display: flex;
}

/* ---------- 官方公告 ---------- */
.notice-list {
	list-style: none;
}

.notice-item {
	display: flex;
	gap: 20px;
	padding: 20px 0;
	border-bottom: 1px dashed var(--border-color);
}

.notice-item:first-child {
	padding-top: 6px;
}

.notice-item:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.notice-date {
	flex-shrink: 0;
	width: 86px;
	height: fit-content;
	text-align: center;
	background-color: #eff6ff;
	border-radius: 10px;
	padding: 8px 0;
	line-height: 1.4;
	color: var(--primary-color);
}

.notice-date strong {
	display: block;
	font-size: 18px;
}

.notice-date span {
	font-size: 12px;
}

.notice-body h4 {
	font-size: 17px;
	color: var(--text-color);
	margin-bottom: 8px;
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.notice-body p {
	font-size: 14px;
	color: var(--secondary-color);
	line-height: 1.8;
}

.notice-tag {
	font-size: 12px;
	font-weight: 500;
	padding: 2px 10px;
	border-radius: 20px;
	background-color: #dbeafe;
	color: #1d4ed8;
}

.notice-tag.new {
	background-color: #fee2e2;
	color: #b91c1c;
}

.notice-tag.gray {
	background-color: var(--bg-color);
	color: var(--secondary-color);
}

/* ---------- 隐私政策 ---------- */
.privacy-body{
	font-size: 14px;
	color: var(--secondary-color);
	line-height: 1.8;
}

.privacy-body h4{
	font-size: 1rem;
	text-align: center;
}
.privacy-body p{
	text-indent: 2em;
}

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
	.help-layout {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.help-sidebar {
		position: static;
	}

	.help-nav {
		display: flex;
		flex-wrap: wrap;
		gap: 8px;
	}

	.help-nav li {
		margin-bottom: 0;
	}

	.help-nav a {
		padding: 8px 14px;
		font-size: 14px;
	}

	.help-card {
		padding: 24px 20px;
	}

	.notice-item {
		flex-direction: column;
		gap: 12px;
	}

	.notice-date {
		width: auto;
		display: inline-flex;
		align-items: baseline;
		gap: 6px;
		padding: 6px 14px;
	}

	.notice-date strong {
		display: inline;
		font-size: 15px;
	}
}