/*
Theme Name: 爱翻译 AIFANYI
Theme URI: https://yixyz.com
Description: 轻量化 WordPress 跨境软件官网主题 —— 1:1 还原爱翻译官网首页（浅蓝科技渐变 UI）。纯原生 PHP + CSS + JS，不依赖任何第三方插件。首页全模块可视化编辑（WP 自定义器）。
Version: 1.0.0
Author: WorkBuddy
Author URI: https://workbuddy.ai
Tags: translation, cross-border, blue, gradient, responsive, customizer
Text Domain: aifanyi
*/

/* ======================================================
   0. 基础重置
====================================================== */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section { display: block; }
body { line-height: 1; }
ol, ul { list-style: none; }
a { text-decoration: none; color: #2F372F; }
blockquote, q { quotes: none; }
blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; }
table { border-collapse: collapse; border-spacing: 0; }
img { max-width: 100%; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	color: #2F372F;
	font-size: 14px;
	font-family: "Microsoft YaHei", "微软雅黑", Arial, Verdana, Helvetica, sans-serif;
	background-color: #fff;
	-webkit-font-smoothing: antialiased;
}

/* ======================================================
   1. 通用布局工具
====================================================== */
.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	box-sizing: border-box;
}
.flex { display: flex; flex-wrap: nowrap; }
.flex-column { display: flex; flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1; }
.align-center { align-items: center; }
.align-start { align-items: flex-start; }
.align-end { align-items: flex-end; }
.space-between { justify-content: space-between; }
.space-center { justify-content: center; }
.space-end { justify-content: flex-end; }
.space-around { justify-content: space-around; }
.space-start { justify-content: flex-start; }
.text-center { text-align: center; }
.img { display: block; }
.none { display: none; }
.block { display: block; }

/* 颜色工具 */
.color-blue { color: #2468F2 !important; }
.color-black { color: #0B0C0C; }
.color-white { color: #FFFFFF !important; }
.color-yellow { color: #F5BA31 !important; }

/* ======================================================
   2. 吸顶导航 Header
====================================================== */
.header-wrap {
	position: fixed;
	height: 90px;
	width: 100%;
	top: 0;
	left: 0;
	z-index: 999;
	background: transparent;
	transition: background-color .3s ease, box-shadow .3s ease;
}
.header-wrap.scrolled {
	background: rgba(255, 255, 255, 0.95);
	box-shadow: 0 2px 18px rgba(36, 104, 242, 0.10);
	backdrop-filter: blur(8px);
}
.header {
	height: 90px;
	position: relative;
	z-index: 9;
}
.header .logo { width: 169px; display: block; }

.header .nav-wrap {
	position: relative;
	display: flex;
	align-items: center;
}
.header .nav-item {
	position: relative;
	height: 58px;
	line-height: 58px;
	font-size: 16px;
	text-align: center;
	cursor: pointer;
}
.header .nav-item > a {
	display: block;
	color: #232323;
	padding: 0 22px;
	white-space: nowrap;
}
.header .nav-item::after {
	content: "";
	display: block;
	transition: all 400ms ease-in-out 0s;
	border-top: 2px solid #2468F2;
	margin: 0 auto;
	width: 0;
}
.header .nav-item:hover::after { width: 100%; }
.header .nav-item:hover > a,
.header .nav-item.current-menu-item > a,
.header .nav-item.current-menu-ancestor > a { color: #2468F2; }

/* 下拉菜单（AI Agent） */
.header .dropdown,
.header .sub-menu {
	position: absolute;
	top: 58px;
	left: 0;
	width: 600px;
	background: #FFFFFF;
	border-radius: 20px;
	padding: 14px 15px;
	display: none;
	box-sizing: border-box;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}
.header .nav-item:hover > .dropdown,
.header .nav-item:hover > .sub-menu,
.header .dropdown:hover,
.header .sub-menu:hover { display: block; }

.header .dropdown-item,
.header .sub-menu .menu-item > a {
	display: block;
	padding: 14px 24px;
	border-radius: 12px;
	cursor: pointer;
	text-align: left;
}
.header .dropdown-item:hover,
.header .sub-menu .menu-item > a:hover { background: #F4F6F8; }
.header .dropdown-item .title,
.header .sub-menu .title { font-size: 16px; font-weight: 500; color: #232323; line-height: 1; }
.header .dropdown-item .desc,
.header .sub-menu .desc { font-size: 14px; color: #596178; margin: 12px 0 0; line-height: 1.4; text-align: left; }

/* 登录 / 注册按钮 */
.header .btn { font-size: 16px; color: #232323; }
.header .reg-btn {
	background: #2468F2;
	padding: 8px 18px;
	border-radius: 4px;
	margin-left: 20px;
	color: #fff;
	transition: opacity .2s ease;
}
.header .reg-btn:hover { opacity: .85; }
.header .avater {
	width: 32px; height: 32px; border-radius: 50%;
	display: inline-block; margin-right: 10px;
	vertical-align: middle; cursor: pointer;
}
.header .name { font-size: 14px; color: #232323; cursor: pointer; }

/* 汉堡菜单按钮（移动端） */
.hamburger {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 40px;
	height: 40px;
	cursor: pointer;
	background: transparent;
	border: 0;
}
.hamburger span {
	display: block;
	width: 24px;
	height: 3px;
	border-radius: 2px;
	background: #232323;
	transition: all .3s ease;
}
.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ======================================================
   3. Hero 横幅轮播
====================================================== */
.banner {
	position: relative;
	width: 100%;
	height: 760px;
	overflow: hidden;
	background: #eef4fb;
}
.banner-track {
	display: flex;
	width: 100%;
	transition: transform .6s ease;
}
.banner-slide {
	position: relative;
	min-width: 100%;
	height: 100%;
}
.banner-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.banner-inner {
	position: absolute;
	top: 0; left: 0; right: 0;
	z-index: 9;
	width: 100%;
	max-width: 1200px;
	height: 100%;
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	box-sizing: border-box;
}
.banner-inner .title { font-size: 48px; font-weight: bold; color: #232323; }
.banner-inner .sub-title {
	max-width: 50%;
	font-size: 24px;
	line-height: 40px;
	margin: 30px 0 60px;
	color: #596178;
}
.banner-inner .btn-warp { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }
.banner-inner .btn-warp .btn {
	display: flex;
	align-items: center;
	background: #2468F2;
	padding: 12px 22px;
	border-radius: 32px;
	font-size: 16px;
	color: #fff;
	transition: opacity .2s ease;
}
.banner-inner .btn-warp .btn:hover { opacity: .85; }
.banner-inner .btn-warp .img { width: 30px; height: 30px; display: block; margin-right: 12px; }

.banner-dots {
	position: absolute;
	bottom: 22px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 10px;
	z-index: 10;
}
.banner-dots .dot {
	width: 10px; height: 10px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.55);
	cursor: pointer;
	transition: all .3s ease;
}
.banner-dots .dot.active { background: #fff; width: 26px; border-radius: 6px; }

/* ======================================================
   4. 头部数据卡片条
====================================================== */
.advantage-warp {
	background: url('assets/images/advantage-bg.webp') no-repeat center;
	background-size: 100% 100%;
	padding: 34px 0;
}
.advantage-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}
.advantage-warp .item { width: 25%; }
.advantage-warp .item .flex { align-items: center; }
.advantage-warp .img { width: 40px; height: 40px; display: block; margin-right: 12px; }
.advantage-warp .num { font-size: 22px; font-weight: bold; color: #232323; }
.advantage-warp .txt { font-size: 15px; color: #596178; margin-top: 16px; }

/* ======================================================
   5. 通用区块标题
====================================================== */
.box { padding: 90px 0 60px; }
.box .title {
	text-align: center;
	font-size: 40px;
	font-weight: bold;
	color: #232323;
	margin-bottom: 26px;
	line-height: 1.3;
}
.box .title-warp { display: flex; align-items: center; justify-content: center; }
.box .title-warp .img { width: 28px; height: 28px; display: block; }
.box .title-warp .title { margin: 0 37px; font-size: 40px; }
.box .sub-title {
	text-align: center;
	font-size: 20px;
	line-height: 38px;
	color: #596178;
	padding: 0 100px;
}

/* ======================================================
   6. AI 大模型工作台
====================================================== */
.ai-workspace {
	width: 100%;
	margin-top: 60px;
	overflow: hidden;
	padding: 80px 0 115px;
	background: url('assets/images/bg.webp') no-repeat;
	background-size: 100% 100%;
	border-radius: 24px;
}
.workspace-nav { display: flex; justify-content: center; gap: 26px; flex-wrap: wrap; }
.workspace-nav-item {
	padding: 9px 18px;
	border-radius: 32px;
	color: #232323;
	font-size: 16px;
	font-weight: 600;
	background: #ffffff;
	backdrop-filter: blur(10px);
}
.workspace-content {
	margin: 48px 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 48px;
	flex-wrap: wrap;
}
.workspace-chat {
	display: flex;
	align-items: center;
	padding: 10px 56px 10px 46px;
	border-radius: 46px;
	background: rgba(255, 255, 255, 0.59);
	backdrop-filter: blur(18px);
}
.workspace-avatar {
	width: 64px; height: 64px;
	display: flex; align-items: center; justify-content: center;
	border-radius: 50%;
	overflow: hidden;
}
.workspace-avatar img { width: 100%; }
.workspace-message { margin-left: 12px; color: #1f2937; font-size: 24px; font-weight: 600; }
.workspace-models { display: flex; align-items: center; gap: 16px; }
.workspace-model {
	width: 80px; height: 80px;
	border-radius: 50%;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.59);
	display: flex; align-items: center; justify-content: center;
}
.workspace-model img { width: 58px; height: 58px; }
.workspace-actions { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.workspace-action {
	padding: 21px 42px;
	display: flex; align-items: center; gap: 8px;
	border-radius: 48px;
	color: #232323;
	font-size: 20px;
	background: rgba(255, 255, 255, .8);
	backdrop-filter: blur(12px);
	transition: all .2s ease;
	cursor: default;
}
.workspace-action img { width: 26px; height: 26px; }
.workspace-action:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .65); }

/* ======================================================
   7. 智能回复（双栏特性）
====================================================== */
.feature-section { padding-bottom: 0; }
.feature-section .content {
	display: flex;
	flex-wrap: wrap;
	overflow: hidden;
	margin-left: -35px;
	margin-right: -35px;
}
.feature-section .content .item {
	width: calc(50% - 70px);
	padding: 60px 0 42px;
	box-sizing: border-box;
	border-radius: 20px;
	margin: 0 35px;
	transition: transform .3s ease, box-shadow .3s ease;
}
.feature-section .content .item:nth-child(1) { background: linear-gradient(180deg, #EFF4FB 0%, #EFFEFF 100%); }
.feature-section .content .item:nth-child(2) { background: linear-gradient(180deg, #EFF4FB 0%, #E2E4FF 100%); }
.feature-section .content .item:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(36, 104, 242, 0.12); }
.feature-section .content .item .name {
	display: block;
	font-size: 40px;
	font-weight: bold;
	margin-bottom: 26px;
	padding: 0 60px;
	color: #232323;
}
.feature-section .content .item .txt {
	padding: 0 60px;
	font-size: 16px;
	line-height: 1.7;
	color: #232323;
	margin-bottom: 28px;
}
.feature-section .content .item img { display: block; width: calc(100% - 120px); margin: 0 60px; border-radius: 14px; }

/* ======================================================
   8. 产品优势（六宫格）
====================================================== */
.product-advantages { padding-bottom: 0; }
.product-advantages .content {
	display: flex;
	flex-wrap: wrap;
	margin-top: 60px;
	overflow: hidden;
	margin-left: -15px;
	margin-right: -15px;
}
.product-advantages .content .item {
	width: calc(33.3% - 30px);
	padding: 48px 28px;
	margin: 15px;
	box-sizing: border-box;
	border: 1px solid #EDEEEE;
	border-radius: 20px;
	transition: transform .3s ease, box-shadow .3s ease;
}
.product-advantages .content .item:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(36, 104, 242, 0.10); }
.product-advantages .content .item:nth-child(1) { background: linear-gradient(180deg, #DEEAFB 0%, #FFFFFF 100%); }
.product-advantages .content .item:nth-child(2) { background: linear-gradient(180deg, #E0FAF3 0%, #FFFFFF 100%); }
.product-advantages .content .item:nth-child(3) { background: linear-gradient(180deg, #FFEEE7 0%, #FFFFFF 100%); }
.product-advantages .content .item:nth-child(4) { background: linear-gradient(180deg, #EDE8FE 0%, #FFFFFF 100%); }
.product-advantages .content .item:nth-child(5) { background: linear-gradient(180deg, #FEF7EA 0%, #FFFFFF 100%); }
.product-advantages .content .item:nth-child(6) { background: linear-gradient(180deg, #FDEDEE 0%, #FFFFFF 100%); }
.product-advantages .content img { width: 58px; height: 58px; }
.product-advantages .content .name { margin-top: 32px; font-size: 24px; color: #232323; font-weight: bold; }
.product-advantages .content .txt { font-size: 16px; color: #232323; line-height: 1.7; margin-top: 26px; }

/* ======================================================
   9. 语音翻译
====================================================== */
.voice-translation { padding-bottom: 0; }
.voice-translation .content { display: flex; justify-content: space-between; align-items: center; gap: 50px; }
.voice-translation .content > div:first-child { flex: 1; min-width: 0; }
.voice-translation .name { display: block; font-size: 40px; font-weight: bold; margin-bottom: 26px; color: #232323; }
.voice-translation .txt { font-size: 16px; line-height: 1.7; color: #232323; }
.voice-translation .img-wrap {
	flex: 1;
	max-width: 560px;
	background: linear-gradient(180deg, #EFF4FB 0%, #E7F1FF 100%);
	border-radius: 20px;
	padding: 42px 60px;
	box-sizing: border-box;
}
.voice-translation .img-wrap img { width: 100%; height: auto; display: block; }

/* ======================================================
   10. 客户案例（六宫格）
====================================================== */
.case-section { padding-bottom: 0; }
.case-section .content {
	display: flex;
	flex-wrap: wrap;
	overflow: hidden;
	margin-left: -30px;
	margin-right: -30px;
}
.case-section .content .item {
	width: calc(33.3% - 60px);
	box-sizing: border-box;
	border-radius: 20px;
	margin: 30px;
	overflow: hidden;
	transition: transform .3s ease, box-shadow .3s ease;
}
.case-section .content .item:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08); }
.case-section .content .item img { width: 100%; display: block; border-radius: 16px; }
.case-section .content .item .name { display: block; font-size: 24px; font-weight: bold; margin: 20px 0; color: #232323; }
.case-section .content .item .txt { font-size: 16px; line-height: 1.7; color: #596178; }

/* ======================================================
   11. 我们的服务（四宫格）
====================================================== */
.services-section { padding-top: 65px; }
.services-section .content {
	display: flex;
	flex-wrap: wrap;
	overflow: hidden;
	margin-left: -25px;
	margin-right: -25px;
	margin-top: 31px;
}
.services-section .content .item {
	width: calc(25% - 50px);
	min-height: 316px;
	box-sizing: border-box;
	border-radius: 20px;
	margin: 25px;
	padding: 48px 20px 0;
	background: url('assets/images/services_bg.webp') no-repeat;
	background-size: 100% 100%;
	text-align: center;
}
.services-section .content .item .name { display: block; font-size: 24px; font-weight: bold; margin: 0 0 24px; color: #232323; }
.services-section .content .item .txt { font-size: 16px; line-height: 1.7; color: #596178; }

/* ======================================================
   12. 客户评价轮播
====================================================== */
.testimonials { background: #F9FBFF; overflow: hidden; }
.testimonials .assess-warp { margin-top: 60px; position: relative; }
.testimonials .assess-viewport { overflow: hidden; width: 100%; }
.testimonials .assess-track { display: flex; transition: transform .6s ease; }
.testimonials .swiper-slide {
	min-width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 10px 0 40px;
	box-sizing: border-box;
}
.testimonials .assess-box {
	background: #FFFFFF;
	width: 706px;
	max-width: 92%;
	min-height: 360px;
	border-radius: 16px;
	padding: 45px 46px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	box-shadow: 0px 10px 30px 1px rgba(0, 0, 0, 0.11);
}
.assess-box .avatar { width: 106px; height: 106px; display: block; border-radius: 50%; }
.assess-box .name { font-size: 24px; color: #232323; margin-top: 32px; font-weight: 600; }
.assess-box .txt { font-size: 18px; line-height: 30px; color: #596178; margin-top: 32px; text-align: center; }
.testimonials .assess-dots {
	display: flex; justify-content: center; gap: 10px; margin-top: 6px;
}
.testimonials .assess-dots .dot {
	width: 10px; height: 10px; border-radius: 50%;
	background: rgba(36, 104, 242, 0.25); cursor: pointer; transition: all .3s ease;
}
.testimonials .assess-dots .dot.active { background: #2468F2; width: 26px; border-radius: 6px; }

/* ======================================================
   12.5 最新资讯（首页文章展示）
====================================================== */
.news-section { background: #F9FBFF; }
.news-section .sub-title {
	max-width: 760px;
	margin: 24px auto 0;
	color: #596178;
	font-size: 16px;
	line-height: 1.7;
	text-align: center;
}
.news-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	margin-top: 50px;
}
.news-grid .post-card { height: 100%; }
.news-card .post-card-thumb { height: 178px; }
.news-card .post-card-body { padding: 22px 22px 18px; }
.news-card .post-card-title { font-size: 18px; margin-bottom: 10px; }
.news-card .post-card-excerpt { font-size: 13px; line-height: 1.7; margin-bottom: 16px; -webkit-line-clamp: 2; }
.news-card .post-card-meta { padding-top: 14px; font-size: 12px; }
.news-more-wrap { text-align: center; margin-top: 50px; }
.news-more-btn {
	display: inline-block;
	min-width: 200px;
	padding: 14px 40px;
	font-size: 16px;
	color: #2468F2;
	background: #ffffff;
	border: 1px solid #2468F2;
	border-radius: 30px;
	text-align: center;
	transition: all .25s ease;
	box-sizing: border-box;
}
.news-more-btn:hover {
	color: #ffffff;
	background: #2468F2;
	box-shadow: 0 8px 20px rgba(36, 104, 242, 0.28);
	transform: translateY(-2px);
}

/* ======================================================
   13. VIP 特权
====================================================== */
.why-vip-wrappper { background: #F1F7FF; position: relative; overflow: hidden; }
.why-vip-wrappper .why-vip-content { padding: 90px 0 100px; position: relative; z-index: 9; }
.why-vip-wrappper .content-left { width: 46%; }
.why-vip-wrappper .content-right { width: 54%; background: #2468F2; border-radius: 20px; padding: 50px 46px; box-sizing: border-box; }
.why-vip-wrappper .content-left .title { color: #232323; font-size: 40px; font-weight: bold; line-height: 1.3; }
.why-vip-wrappper .content-left .sub-title { color: #596178; font-size: 18px; margin: 36px 0 48px; max-width: 400px; line-height: 30px; }
.why-vip-wrappper .download-btn {
	display: inline-block;
	width: 250px;
	font-size: 24px;
	color: #ffffff;
	background: #2468F2;
	padding: 20px 0;
	border-radius: 8px;
	text-align: center;
	box-sizing: border-box;
	transition: opacity .2s ease;
}
.why-vip-wrappper .download-btn:hover { opacity: .85; }
.why-vip-wrappper .content-title { font-size: 36px; color: #ffffff; margin-bottom: 30px; }
.why-vip-wrappper .privilege-wrap {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 20px;
	margin-top: 40px;
}
.why-vip-wrappper .privilege-wrap .item { display: flex; flex-direction: column; align-items: center; width: 30%; }
.why-vip-wrappper .privilege-wrap .img { width: 64px; height: 64px; display: block; }
.why-vip-wrappper .privilege-wrap .txt { font-size: 18px; margin-top: 18px; color: #fff; }
.why-vip-wrappper .buy-wrap {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: 60px;
}
.why-vip-wrappper .buy-wrap .txt { font-size: 24px; color: #F5BA31; }
.why-vip-wrappper .buy-wrap .btn {
	font-size: 24px;
	color: #ffffff;
	padding: 20px 60px;
	background: #F5BA31;
	border-radius: 8px;
	text-align: center;
	transition: opacity .2s ease;
}
.why-vip-wrappper .buy-wrap .btn:hover { opacity: .85; }

/* ======================================================
   14. 底部信任栏
====================================================== */
.trust-warp { background: #fff; }
.trust-warp .advantage-wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 20px;
	padding: 42px 0;
	border-top: 1px solid rgba(112, 112, 112, 0.19);
}
.trust-warp .advantage-wrap .item { display: flex; align-items: center; font-size: 20px; }
.trust-warp .advantage-wrap .img { width: 62px; height: 62px; display: block; margin-right: 20px; }

/* ======================================================
   15. 页脚
====================================================== */
.footer-wrap { background: #FBFCFF; }
.footer-wrap .footer-box {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 30px;
	padding: 50px 0;
}
.footer-wrap .footer-col { min-width: 160px; }
.footer-wrap p { font-size: 16px; margin-bottom: 30px; color: #232323; font-weight: 600; }
.footer-wrap .footer-col a p { font-size: 14px; color: #818181; margin-bottom: 16px; font-weight: 400; }
.footer-wrap .footer-col a p:hover { color: #2468F2; }
.footer-wrap .service {
	font-size: 16px;
	color: #2468F2;
	border: 1px solid #2468F2;
	border-radius: 4px;
	padding: 14px 50px;
	display: inline-block;
	transition: all .2s ease;
}
.footer-wrap .service:hover { background: #2468F2; color: #fff; }
.footer-wrap .link-wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
	border-top: 1px solid #F6F6F6;
	padding: 18px 0;
	color: #818181;
	font-size: 14px;
	box-sizing: border-box;
}
.footer-wrap .link-wrap a { color: #818181; margin-left: 10px; }
.footer-wrap .link-wrap a:hover { color: #2468F2; }
.footer-wrap .link-wrap img { height: 28px; }
.copyright { font-size: 14px; color: #818181; padding: 24px 0; text-align: center; }

/* ======================================================
   16. 右侧固定客服侧边栏
====================================================== */
.sidebar-warp {
	width: 104px;
	position: fixed;
	top: 30%;
	right: 5px;
	background: linear-gradient(180deg, #49ABFF 0%, #2468F2 100%);
	border-radius: 84px;
	padding: 20px 14px;
	display: flex;
	flex-direction: column;
	align-items: center;
	box-sizing: border-box;
	z-index: 99;
}
.sidebar-warp .item {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 20px 0;
	cursor: pointer;
	position: relative;
}
.sidebar-warp a:not(:last-child) .item { border-bottom: 1px solid rgba(255, 255, 255, 0.3); }
.sidebar-warp .img { width: 32px; height: 32px; display: block; margin-bottom: 8px; }
.sidebar-warp .txt { font-size: 14px; line-height: 20px; color: #fff; }
.sidebar-warp .sidebar-layout {
	position: absolute;
	right: 80px;
	top: 0;
	display: none;
}
.sidebar-warp .sidebar-layout img { width: 130px; border: 1px solid #ddd; border-radius: 6px; }
.sidebar-warp .item:hover .sidebar-layout { display: block; }

/* ======================================================
   17. 响应式 / 移动端
====================================================== */
@media screen and (max-width: 1100px) {
	.product-advantages .content .item { width: calc(50% - 30px); }
	.case-section .content .item { width: calc(50% - 60px); }
	.services-section .content .item { width: calc(50% - 50px); }
	.why-vip-wrappper .content-left,
	.why-vip-wrappper .content-right { width: 100%; }
	.why-vip-wrappper .content-right { margin-top: 30px; }
	.voice-translation .content { flex-direction: column; align-items: flex-start; }
	.voice-translation .img-wrap { max-width: 100%; width: 100%; }

	/* 最新资讯 */
	.news-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
}

@media screen and (max-width: 768px) {
	body { font-size: 13px; }
	.container { padding: 0 16px; }

	/* 导航移动端 */
	.hamburger { display: flex; }
	.header-wrap { background: #fff; box-shadow: 0 2px 12px rgba(36,104,242,.08); }
	.header .nav-wrap {
		position: fixed;
		top: 90px;
		left: 0;
		right: 0;
		background: #fff;
		flex-direction: column;
		align-items: stretch;
		max-height: 0;
		overflow: hidden;
		transition: max-height .35s ease;
		box-shadow: 0 12px 24px rgba(0,0,0,.08);
	}
	.header .nav-wrap.open { max-height: 80vh; overflow-y: auto; }
	.header .nav-item { height: auto; line-height: normal; }
	.header .nav-item > a { padding: 16px 20px; text-align: left; }
	.header .nav-item::after { display: none; }
	/* 移动端下拉改为常驻展开 */
	.header .dropdown,
	.header .sub-menu {
		position: static;
		width: 100%;
		box-shadow: none;
		display: block;
		padding: 0 0 10px 20px;
		background: #f7f9fc;
	}
	.header .nav-item:hover > .dropdown,
	.header .nav-item:hover > .sub-menu { display: block; }

	.header .notLoggedInWrap { display: flex; }
	#notLoggedInWrap { margin-left: auto; padding-right: 16px; }

	/* 横幅 */
	.banner { height: 550px; }
	.banner-inner .title { font-size: 28px; }
	.banner-inner .sub-title { font-size: 15px; line-height: 26px; max-width: 100%; margin: 18px 0 30px; }
	.banner-inner .btn-warp .btn { padding: 10px 16px; font-size: 14px; }
	.banner-inner .btn-warp .img { width: 22px; height: 22px; margin-right: 8px; }

	/* 数据卡片条 */
	.advantage-inner { flex-wrap: wrap; }
	.advantage-warp .item { width: 50%; margin-bottom: 18px; }
	.advantage-warp .txt { font-size: 13px; }

	/* 通用区块 */
	.box { padding: 56px 0 40px; }
	.box .title, .box .title-warp .title { font-size: 26px; }
	.box .sub-title { font-size: 15px; line-height: 28px; padding: 0 10px; }

	/* AI 工作台 */
	.ai-workspace { padding: 50px 16px; border-radius: 18px; background-size: cover; }
	.workspace-message { font-size: 18px; }
	.workspace-action { padding: 14px 22px; font-size: 15px; }
	.workspace-model { width: 56px; height: 56px; }
	.workspace-model img { width: 40px; height: 40px; }

	/* 双栏 / 六宫格 */
	.feature-section .content { margin: 0; }
	.feature-section .content .item { width: 100%; margin: 0 0 24px; padding: 40px 0 30px; }
	.feature-section .content .item .name { padding: 0 24px; font-size: 28px; }
	.feature-section .content .item .txt { padding: 0 24px; }
	.feature-section .content .item img { width: calc(100% - 48px); margin: 0 24px; }

	.product-advantages .content { margin: 30px 0 0; }
	.product-advantages .content .item { width: 100%; margin: 0 0 20px; padding: 32px 22px; }
	.product-advantages .content .name { font-size: 20px; }
	.product-advantages .content .txt { font-size: 14px; }

	.voice-translation .content { flex-direction: column; align-items: flex-start; }
	.voice-translation .name { font-size: 26px; }
	.voice-translation .img-wrap { padding: 28px; }

	.case-section .content { margin: 0; }
	.case-section .content .item { width: 100%; margin: 0 0 24px; }
	.case-section .content .item .name { font-size: 20px; }

	.services-section .content { margin: 20px 0 0; }
	.services-section .content .item { width: 100%; margin: 0 0 20px; min-height: auto; padding: 36px 20px 30px; }

	/* 最新资讯 */
	.news-section .sub-title { font-size: 14px; line-height: 1.7; margin-top: 18px; }
	.news-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 30px; }
	.news-card .post-card-thumb { height: 150px; }
	.news-card .post-card-body { padding: 18px 18px 16px; }
	.news-card .post-card-title { font-size: 16px; }
	.news-card .post-card-excerpt { -webkit-line-clamp: 2; font-size: 12px; }
	.news-more-wrap { margin-top: 36px; }
	.news-more-btn { min-width: 180px; padding: 12px 32px; font-size: 15px; }

	/* 评价 */
	.assess-box { padding: 32px 22px; min-height: auto; }
	.assess-box .name { font-size: 20px; }
	.assess-box .txt { font-size: 15px; line-height: 26px; }

	/* VIP */
	.why-vip-wrappper .why-vip-content { padding: 50px 0; }
	.why-vip-wrappper .content-left .title { font-size: 26px; }
	.why-vip-wrappper .content-right { padding: 32px 22px; }
	.why-vip-wrappper .content-title { font-size: 24px; }
	.why-vip-wrappper .privilege-wrap .item { width: 30%; }
	.why-vip-wrappper .privilege-wrap .img { width: 48px; height: 48px; }
	.why-vip-wrappper .privilege-wrap .txt { font-size: 14px; margin-top: 10px; }
	.why-vip-wrappper .buy-wrap .txt { font-size: 16px; }
	.why-vip-wrappper .buy-wrap .btn { font-size: 16px; padding: 14px 30px; }

	/* 信任栏 */
	.trust-warp .advantage-wrap .item { width: 50%; font-size: 15px; }
	.trust-warp .advantage-wrap .img { width: 44px; height: 44px; margin-right: 12px; }

	/* 页脚 */
	.footer-wrap .footer-box { flex-direction: column; gap: 10px; padding: 36px 0; }
	.footer-wrap .footer-col { width: 100%; }
	.footer-wrap p { margin-bottom: 16px; }
	.footer-wrap .footer-col a p { margin-bottom: 10px; }

	/* 侧边栏移动端隐藏避免遮挡 */
	.sidebar-warp { display: none; }
}

@media screen and (max-width: 480px) {
	.banner-inner .title { font-size: 24px; }
	.box .title, .box .title-warp .title { font-size: 22px; }
	.advantage-warp .item { width: 100%; }

	/* 最新资讯：单列 */
	.news-grid { grid-template-columns: 1fr; gap: 16px; }
	.news-card .post-card-thumb { height: 180px; }
	.news-card .post-card-title { font-size: 17px; }
	.news-more-btn { min-width: 160px; padding: 11px 28px; font-size: 14px; }
}

/* ======================================================
   18. 可访问性：跳转链接 / 屏幕阅读器文本
====================================================== */
.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0);
	border: 0;
}
.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 1000;
	background: #2468F2;
	color: #fff !important;
	padding: 12px 20px;
	border-radius: 0 0 8px 0;
}
.skip-link:focus {
	left: 0;
	color: #fff !important;
}

/* 页脚友情链接行内展示 */
.friend-links-wrap { display: flex; align-items: center; flex-wrap: wrap; }
.footer-wrap .friend-links { display: inline-flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.footer-wrap .friend-links li { display: inline; }

/* ======================================================
   9. 内页：列表页 / 详情页（复用首页浅蓝科技渐变风格）
====================================================== */
.page-main { padding-top: 90px; }

/* ---------- 页头 Banner ---------- */
.page-hero {
	position: relative;
	padding: 60px 0 54px;
	background: linear-gradient(180deg, #EFF4FB 0%, #E7F1FF 100%);
	overflow: hidden;
}
.page-hero::after {
	content: "";
	position: absolute;
	right: -120px;
	top: -120px;
	width: 360px;
	height: 360px;
	background: radial-gradient(circle, rgba(36,104,242,0.12) 0%, rgba(36,104,242,0) 70%);
	border-radius: 50%;
	pointer-events: none;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero-title {
	font-size: 40px;
	font-weight: bold;
	color: #232323;
	line-height: 1.3;
	margin: 0 0 14px;
}
.page-hero-desc {
	font-size: 16px;
	color: #596178;
	line-height: 1.7;
	max-width: 720px;
}

/* ---------- 面包屑 ---------- */
.breadcrumb { font-size: 14px; color: #8a93a6; margin-bottom: 22px; }
.breadcrumb .breadcrumb-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; }
.breadcrumb .breadcrumb-item { display: inline-flex; align-items: center; }
.breadcrumb a { color: #596178; transition: color .2s; }
.breadcrumb a:hover { color: #2468F2; }
.breadcrumb .breadcrumb-sep { margin: 0 8px; color: #c2cad8; }
.breadcrumb .breadcrumb-current { color: #2468F2; }
/* 兼容旧结构 */
.breadcrumb .sep { margin: 0 8px; color: #c2cad8; }
.breadcrumb .current { color: #2468F2; }

/* ---------- 文章列表 ---------- */
.archive-section { padding: 54px 0 70px; }
.post-list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 30px;
}
.post-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid #eef1f6;
	box-shadow: 0 6px 24px rgba(36, 104, 242, 0.06);
	transition: transform .3s ease, box-shadow .3s ease;
}
.post-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 16px 40px rgba(36, 104, 242, 0.14);
}
.post-card-thumb {
	display: block;
	position: relative;
	width: 100%;
	height: 210px;
	overflow: hidden;
	background: linear-gradient(135deg, #EFF4FB 0%, #E1ECFF 100%);
}
.post-card-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s ease;
}
.post-card:hover .post-card-thumb img { transform: scale(1.06); }
.post-card-thumb-fallback {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}
.post-card-thumb-fallback img { width: 150px; height: auto; opacity: .55; object-fit: contain; }
.post-card-body { display: flex; flex-direction: column; flex: 1; padding: 24px 26px 22px; }
.post-card-cat {
	align-self: flex-start;
	font-size: 12px;
	color: #2468F2;
	background: rgba(36, 104, 242, 0.08);
	padding: 5px 12px;
	border-radius: 20px;
	margin-bottom: 14px;
}
.post-card-title { font-size: 20px; font-weight: bold; line-height: 1.5; margin: 0 0 12px; }
.post-card-title a { color: #232323; transition: color .2s; }
.post-card-title a:hover { color: #2468F2; }
.post-card-excerpt {
	font-size: 14px;
	color: #7a8296;
	line-height: 1.75;
	margin: 0 0 20px;
	flex: 1;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.post-card-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 13px;
	color: #a3abbb;
	padding-top: 16px;
	border-top: 1px solid #f1f3f8;
}
.post-card-more { color: #2468F2; font-weight: 500; transition: opacity .2s; }
.post-card-more:hover { opacity: .7; }

/* ---------- 分页 ---------- */
.pagination { margin-top: 50px; text-align: center; }
.pagination .page-numbers {
	display: inline-flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	padding: 0;
	margin: 0;
	list-style: none;
}
.pagination .page-numbers li { display: inline-block; }
.pagination .page-numbers a,
.pagination .page-numbers span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 14px;
	border-radius: 10px;
	font-size: 14px;
	color: #596178;
	background: #fff;
	border: 1px solid #e6eaf2;
	transition: all .2s;
}
.pagination .page-numbers a:hover { color: #2468F2; border-color: #2468F2; }
.pagination .page-numbers .current {
	color: #fff;
	background: #2468F2;
	border-color: #2468F2;
}

/* ---------- 无文章 ---------- */
.no-posts { text-align: center; padding: 80px 0; color: #7a8296; }
.no-posts p { font-size: 18px; margin-bottom: 24px; }
.btn-primary,
.no-posts .btn-primary {
	display: inline-block;
	padding: 12px 30px;
	background: #2468F2;
	color: #fff !important;
	border-radius: 24px;
	font-size: 15px;
	transition: opacity .2s;
}
.btn-primary:hover { opacity: .88; }

/* ======================================================
   10. 详情页
====================================================== */
.single-hero { padding-bottom: 44px; }
.single-title { max-width: 900px; }
.single-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 18px;
	font-size: 14px;
	color: #8a93a6;
}
.single-meta a { color: #596178; }
.single-meta a:hover { color: #2468F2; }
.single-meta .dot { color: #c2cad8; margin: 0 4px; }

.single-section { padding: 50px 0 70px; }
.single-container { max-width: 860px; }
.single-article {
	background: #fff;
	border-radius: 18px;
	padding: 48px 56px;
	border: 1px solid #eef1f6;
	box-shadow: 0 6px 30px rgba(36, 104, 242, 0.05);
}
.single-content { font-size: 16px; line-height: 1.9; color: #3a4254; }
.single-content h2 {
	font-size: 24px;
	font-weight: bold;
	color: #232323;
	margin: 38px 0 16px;
	padding-left: 14px;
	border-left: 4px solid #2468F2;
	line-height: 1.4;
}
.single-content h3 { font-size: 20px; font-weight: bold; color: #232323; margin: 30px 0 14px; }
.single-content p { margin: 0 0 20px; }
.single-content a { color: #2468F2; text-decoration: underline; }
.single-content img { border-radius: 12px; margin: 16px 0; }
.single-content ul,
.single-content ol { margin: 0 0 20px; padding-left: 24px; }
.single-content ul li { list-style: disc; margin-bottom: 10px; }
.single-content ol li { list-style: decimal; margin-bottom: 10px; }
.single-content blockquote {
	margin: 24px 0;
	padding: 18px 24px;
	background: #f5f8fd;
	border-left: 4px solid #2468F2;
	border-radius: 0 10px 10px 0;
	color: #596178;
}

/* ---------- 标签 ---------- */
.single-tags { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px; }
.single-tags a {
	font-size: 13px;
	color: #596178;
	background: #f2f5fa;
	padding: 6px 14px;
	border-radius: 20px;
	transition: all .2s;
}
.single-tags a:hover { color: #2468F2; background: rgba(36,104,242,0.08); }

/* ---------- 上一篇/下一篇 ---------- */
.post-nav {
	display: flex;
	gap: 20px;
	margin-top: 40px;
	padding-top: 30px;
	border-top: 1px solid #f1f3f8;
}
.post-nav-item { flex: 1; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.post-nav-item.next { text-align: right; align-items: flex-end; }
.post-nav-item .label { font-size: 13px; color: #a3abbb; }
.post-nav-item a { font-size: 15px; color: #232323; font-weight: 500; transition: color .2s; }
.post-nav-item a:hover { color: #2468F2; }
.post-nav-item .empty { font-size: 15px; color: #c2cad8; }

/* ---------- 相关文章 ---------- */
.related-posts { margin-top: 54px; }
.related-title { font-size: 26px; font-weight: bold; color: #232323; margin-bottom: 26px; text-align: center; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.related-card {
	display: flex;
	flex-direction: column;
	gap: 14px;
	background: #fff;
	border: 1px solid #eef1f6;
	border-radius: 14px;
	padding: 24px 22px;
	box-shadow: 0 4px 18px rgba(36, 104, 242, 0.05);
	transition: transform .3s, box-shadow .3s;
}
.related-card:hover { transform: translateY(-5px); box-shadow: 0 14px 34px rgba(36, 104, 242, 0.13); }
.related-card-cat {
	align-self: flex-start;
	font-size: 12px;
	color: #2468F2;
	background: rgba(36, 104, 242, 0.08);
	padding: 4px 12px;
	border-radius: 16px;
}
.related-card-title {
	font-size: 16px;
	font-weight: 500;
	color: #232323;
	line-height: 1.6;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	transition: color .2s;
}
.related-card:hover .related-card-title { color: #2468F2; }
.related-card-date { font-size: 13px; color: #a3abbb; margin-top: auto; }

/* ======================================================
   11. 内页响应式
====================================================== */
@media screen and (max-width: 992px) {
	.related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media screen and (max-width: 768px) {
	.page-main { padding-top: 70px; }
	.page-hero { padding: 40px 0 36px; }
	.page-hero-title { font-size: 28px; }
	.single-title { font-size: 26px; }
	.post-list { grid-template-columns: 1fr; gap: 22px; }
	.single-article { padding: 30px 22px; }
	.single-content { font-size: 15px; }
	.single-content h2 { font-size: 21px; }
	.related-grid { grid-template-columns: 1fr; }
	.post-nav { flex-direction: column; gap: 24px; }
	.post-nav-item.next { text-align: left; align-items: flex-start; }
	.archive-section { padding: 36px 0 50px; }
	.single-section { padding: 34px 0 50px; }
}

/* ======================================================
   19. 404 页面
====================================================== */
.error-404 {
	padding: 96px 0 120px;
	background: #fff;
}
.error-404-inner {
	max-width: 720px;
	text-align: center;
}
.error-404-art {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 18px;
}
.error-404-code {
	font-size: 128px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: 2px;
	color: #2468F2;
	background: linear-gradient(180deg, #EFF4FB 0%, #E7F1FF 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}
.error-404-robot {
	width: 120px;
	height: 120px;
	object-fit: contain;
	margin-left: -18px;
	filter: drop-shadow(0 12px 24px rgba(36, 104, 242, 0.18));
}
.error-404-title {
	font-size: 30px;
	font-weight: bold;
	color: #232323;
	margin: 0 0 16px;
}
.error-404-desc {
	font-size: 16px;
	line-height: 1.8;
	color: #596178;
	margin: 0 auto 36px;
	max-width: 520px;
}
.error-404-search {
	max-width: 520px;
	margin: 0 auto 32px;
}
/* WordPress 默认搜索框样式化 */
.error-404-search .search-form {
	display: flex;
	align-items: stretch;
	width: 100%;
	border: 1px solid #d8e0ec;
	border-radius: 30px;
	overflow: hidden;
	background: #fff;
	transition: border-color .2s, box-shadow .2s;
}
.error-404-search .search-form:focus-within {
	border-color: #2468F2;
	box-shadow: 0 0 0 4px rgba(36, 104, 242, 0.12);
}
.error-404-search .search-form label {
	flex: 1;
	min-width: 0;
}
.error-404-search .search-form .screen-reader-text,
.error-404-search .search-form label .search-field + span {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden; clip: rect(0, 0, 0, 0);
}
.error-404-search .search-form .search-field {
	width: 100%;
	height: 52px;
	border: 0;
	outline: 0;
	padding: 0 22px;
	font-size: 16px;
	color: #232323;
	background: transparent;
	box-sizing: border-box;
}
.error-404-search .search-form .search-field::placeholder { color: #8a93a6; }
.error-404-search .search-form .search-submit {
	border: 0;
	cursor: pointer;
	padding: 0 28px;
	font-size: 16px;
	color: #fff;
	background: #2468F2;
	transition: background .2s;
}
.error-404-search .search-form .search-submit:hover { background: #1d54cf; }

.error-404-actions {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 16px;
}
.error-404-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 160px;
	height: 50px;
	padding: 0 32px;
	font-size: 16px;
	border-radius: 30px;
	box-sizing: border-box;
	transition: all .25s ease;
}
.error-404-btn--primary {
	color: #fff;
	background: #2468F2;
}
.error-404-btn--primary:hover {
	background: #1d54cf;
	box-shadow: 0 8px 20px rgba(36, 104, 242, 0.28);
	transform: translateY(-2px);
}
.error-404-btn--outline {
	color: #2468F2;
	background: #fff;
	border: 1px solid #2468F2;
}
.error-404-btn--outline:hover {
	color: #fff;
	background: #2468F2;
	transform: translateY(-2px);
}

@media screen and (max-width: 768px) {
	.error-404 { padding: 64px 0 80px; }
	.error-404-code { font-size: 92px; }
	.error-404-robot { width: 88px; height: 88px; }
	.error-404-title { font-size: 24px; }
	.error-404-desc { font-size: 15px; }
}

@media screen and (max-width: 480px) {
	.error-404-code { font-size: 72px; }
	.error-404-search .search-form { flex-direction: column; border-radius: 16px; }
	.error-404-search .search-form .search-submit { height: 48px; }
	.error-404-actions .error-404-btn { width: 100%; }
}
