/* ============================================
 * SoBuy 导航页样式（简化版：共用类 + 语义化）
 * 视觉值与原版完全一致
 * ============================================ */

/* ---------- 基础 ---------- */
@font-face {
	font-family: 'LogoSCUnboundedSans';
	font-display: block;
	src: url('/assets/font/greeting-subset-9feba51901af2058aefb56f502cdc0d4.woff2') format('woff2');
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { background: #001a13; overflow-y: scroll; }
html {
	-webkit-user-select: none;
	user-select: none;
}
input, textarea, [contenteditable="true"] {
	-webkit-user-select: text;
	user-select: text;
}
body { background: #001a13; font-family: PingFangSC, "PingFang SC", "Microsoft YaHei", sans-serif; overflow-x: hidden; }

/* 裁切容器使用缩放后的高度，避免原始布局高度撑出额外滚动区域。 */
.page-viewport {
    position: relative;
    width: 100%;
    height: var(--nav-content-height, auto);
    overflow: hidden;
}

.navBox {
	width: 1920px;
	background-color: rgba(0, 26, 19, 1);
	position: relative;
	transform-origin: top left;
	transform: scale(var(--nav-scale, 1));
}

/* ---------- 渐变边框卡片（共用） ---------- */
.gradient-card {
	border: 2px solid transparent;
	background: linear-gradient(226deg, rgba(37, 83, 78, 0.3) 30%, rgba(0, 26, 19, 0.49) 50%) padding-box,
		linear-gradient(270deg, rgba(255, 255, 255, 0.01), rgba(27, 63, 61, 1)) border-box;
	background-clip: padding-box, border-box;
	background-origin: padding-box, border-box;
	border-radius: 30px;
}
.gradient-card--solid {
	background: linear-gradient(226deg, rgba(16, 41, 38, 0.8) 100%, rgba(16, 41, 38, 0.8) 100%) padding-box,
		linear-gradient(270deg, rgba(255, 255, 255, 0), rgba(27, 63, 61, 1)) border-box;
}
.business_system {
	position: relative;
	top: -85px;
	width: 1800px;
	height: 529px;
	display: flex;
	flex-direction: column;
	/* 原版渐变终点为 49%，与共用 50% 略有差异，此处保留 */
	background: linear-gradient(226deg, rgba(37, 83, 78, 0.3) 30%, rgba(0, 26, 19, 0.49) 49%) padding-box,
		linear-gradient(270deg, rgba(255, 255, 255, 0.01), rgba(27, 63, 61, 1)) border-box;
}
.database {
	margin-top: -40px;
	width: 1800px;
	height: 213px;
}
.footer {
	margin-top: 40px;
	width: 1800px;
	height: 624px;
}
.express { width: 650px; height: 488px; }
.common-card { width: 650px; height: 212px; }
.warehouse-card { height: 262px; }
.tool-card { width: 380px; height: 488px; }

/* ---------- 卡片头部（共用） ---------- */
.card-header,
.body-header {
	display: flex;
	align-items: center;
}
.card-header {
	margin-top: 30px;
	padding-left: 20px;
	gap: 17px;
}
.body-header {
	padding: 31px 31px 0 31px;
	gap: 10px;
}
.body-header .icon { width: auto; height: 24px; position: relative; }
.body-header .icon::before,
.body-header .icon::after {
	content: '';
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background-color: #00bb70;
	opacity: 0.55;
	position: absolute;
}
.body-header .icon::before { left: 8px; }
.body-header .icon::after { left: 16px; }
.body-header-margin { margin-bottom: 30px; }

/* 卡片标题（共用） */
.body-title,
.card-title {
	font-weight: 500;
	color: #fff;
}
.body-title { font-size: 32px; line-height: 42px; }
.card-title { font-size: 28px; line-height: 38px; }

/* 头部图标（共用） */
.t-icon,
.h-icon { line-height: 1; }
.t-icon,
.t-icon .iconfont { color: rgba(3, 168, 118, 1); font-size: 24px; }
.h-icon,
.h-icon .iconfont { color: rgba(63, 153, 108, 1); font-size: 23px; }

/* ---------- 头部 ---------- */
.header {
	width: 100%;
	position: relative;
	height: 735px;
}
.header .banner {
	height: 735px;
	top: 0;
	left: 0;
	position: absolute;
}
.header .top {
	top: 50px;
	position: absolute;
	width: 100%;
	z-index: 10;
	padding: 0 50px;
	display: flex;
	justify-content: center;
}
.header .logo {
	width: 205px;
	height: 82px;
	position: absolute;
	left: 50px;
}
.header .search {
	width: 720px;
	height: 80px;
	background: linear-gradient(270deg, #00382b 0%, #062427 100%);
	border-radius: 46px;
	border: 1px solid #979797;
	display: flex;
	align-items: center;
	padding-right: 10px;
	box-sizing: border-box;
}
.search .search-select {
	width: 180px;
	height: 100%;
	padding-left: 30px;
	display: flex;
	align-items: center;
	position: relative;
	cursor: pointer;
}
.search .search-select-current {
	font-size: 24px;
	color: #fff;
	line-height: 33px;
	padding-right: 24px;
	user-select: none;
}
.search .search-select-options {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	width: 180px;
	margin-top: 6px;
	background: rgba(255, 255, 255, 0.9);
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
	overflow: hidden;
	z-index: 100;
}
.search .search-select.is-open .search-select-options { display: block; }
.search .search-select-option {
	height: 44px;
	line-height: 44px;
	font-size: 24px;
	color: #303133;
	text-align: center;
	cursor: pointer;
	transition: background 0.2s ease;
}
.search .search-select-option:hover { background: #eefff6; color: #3f996c; }
.search .search-select-option.is-selected { background: rgba(6, 37, 39, 0.8); color: #fff; }
.search .search-select .icon-fanhui {
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	color: rgba(210, 210, 210, 1);
	font-size: 16px;
	pointer-events: none;
	transition: transform 0.2s ease;
}
.search .search-select.is-open .icon-fanhui { transform: translateY(-50%) rotate(90deg); }
.search .border {
	margin-left: 9px;
	width: 1px;
	height: 43px;
	border: 1px solid #979797;
	opacity: 0.8;
}
.search .input { flex: 1; }
.search .input input {
	background-color: transparent;
	border: none;
	height: 100%;
	width: 100%;
	font-size: 24px;
	padding-left: 20px;
	color: #fff;
	outline: none;
}
.search .input input::placeholder { color: #909399; }
.search .btn {
	width: 60px;
	height: 60px;
	background: #44b686;
	box-shadow: 0 0 6px 4px rgba(68, 182, 134, 0.15);
	border-radius: 34px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	flex-shrink: 0;
	border: none;
}
.search .btn:hover { background: #3aa876; }
.search .btn .iconfont { color: #fff; font-size: 28px; }
.header .title {
	top: 260px;
	left: 61px;
	position: absolute;
}
.header .title .hello {
	font-family: "LogoSCUnboundedSans", PingFangSC, sans-serif;
	font-size: 90px;
	color: #fff;
	line-height: 130px;
}
.header .title .desc {
	font-family: "AlibabaPuHuiTi", PingFangSC, sans-serif;
	font-size: 40px;
	color: rgba(255, 255, 255, 0.9);
	line-height: 55px;
	text-align: left;
}

/* ---------- 主体 ---------- */
.body-top {
	margin-top: -85px;
	height: 85px;
	background: linear-gradient(180deg, rgba(0, 35, 29, 0) 0%, #001a13 100%);
	position: relative;
	z-index: 0;
}
.body {
	padding: 0 60px 50px 60px;
	background-color: rgba(0, 26, 19, 1);
	position: relative;
	margin-top: -1px;
}

/* ---------- 业务系统 ---------- */
.business_system .content {
	flex: 1;
	padding: 0 30px 30px 30px;
	display: flex;
	gap: 20px;
}
.business_system .content .content-item {
	display: flex;
	gap: 20px;
	align-items: flex-end;
}
.business_system .item {
	height: 394px;
	border-radius: 160px;
	border: 2px solid transparent;
	background: linear-gradient(rgba(16, 41, 38, 0.8), rgba(16, 41, 38, 0.8)) padding-box,
		linear-gradient(280deg, rgba(255, 255, 255, 0.01), rgba(27, 63, 61, 1)) border-box;
	background-clip: padding-box, border-box;
	position: relative;
}
.business_system .item .mao {
	position: absolute;
	top: -13px;
	left: 50%;
	transform: translateX(-10px);
	width: 49px;
	height: 39px;
}
.business_system .item .title {
	margin-top: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
}
.business_system .item .title .text {
	font-weight: 500;
	font-size: 28px;
	color: #fff;
	line-height: 38px;
	text-align: center;
}
.business_system .item .list {
	margin-top: 20px;
	display: flex;
	justify-content: center;
	gap: 15px;
	padding: 0 20px;
}

/* ---------- 列表卡片（业务系统 / 业务数据库共用） ---------- */
.list-item {
	position: relative;
	width: 80px;
	height: 231px;
	background: #183c34;
	border-radius: 38px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 20px 12px 30px 12px;
	cursor: pointer;
	transition: background-color 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.list-item:hover,
.list-item:active { background-color: #f0ffdc; }
.list-item:hover .text,
.list-item:active .text { color: rgba(48, 49, 51, 1); }
.list-item:hover .list-item-logo,
.list-item:active .list-item-logo { filter: saturate(1); }
.list-item .text {
	font-size: 18px;
	color: #fff;
	line-height: 28px;
	text-align: center;
	margin-top: 10px;
	transition: color 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.list-item .zanwei { flex: 1; }
.list-item .num {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
}
.list-item .num .icon-redu {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	color: rgba(216, 78, 0, 1);
}
.list-item .num .num-text {
	font-size: 14px;
	color: #d84e00;
	line-height: 20px;
	text-align: center;
}
.list-item.disabled {
	background: #001a13;
	cursor: default;
}
.list-item.disabled .text { color: #808d89; }
.list-item.disabled .list-item-logo { opacity: 0.5; }
.list-item.disabled:hover { background: #001a13; }
.list-item.disabled:hover .text { color: #808d89; }

/* 业务系统五列宽度 */
.item-one { width: 180px; }
.item-two { width: 274px; }
.item-three { width: 560px; }
.item-four { width: 370px; }
.item-five { width: 274px; }
.item-three .list-item.scm-jiandaoyun,
.item-three .list-item.suocaiyun { padding: 20px 2px 30px 2px; }

/* 业务数据库横向布局 */
.database .list {
	margin-left: 30px;
	margin-top: 20px;
	display: flex;
	gap: 30px;
	align-items: center;
}
.database .list-item {
	flex-direction: row;
	width: 280px;
	height: 80px;
	border-radius: 38px;
	padding: 20px;
	align-items: center;
}
.database .list-item .list-item-logo { margin-right: 10px; }
.database .list-item .num { flex-direction: row; gap: 6px; }
.database .list-item .num .num-text { line-height: 16px; }
.database .list-item .text { margin-top: 0; }

/* ---------- 网格区（综合软件 / 常用AI / 常用工具共用） ---------- */
.center {
	margin-top: 40px;
	height: 342px;
	display: flex;
	gap: 40px;
}
.center .center-item {
	width: 880px;
	height: 342px;
	border-radius: 100px 30px 100px 30px;
	display: flex;
	flex-direction: column;
}
.center .body-header { justify-content: center; }

.center .grid-container { width: 880px; padding: 12px; }
.grid-container .line {
	display: flex;
	justify-content: center;
	width: 100%;
	gap: 20px;
	margin-bottom: 15px;
}
.grid-container .line:last-child { margin-bottom: 0; }
.express .grid-container { padding-top: 30px; }
.common-card .grid-container { padding: 30px 20px 20px 20px; }
.common-card .grid-container .line { justify-content: flex-start; gap: 15px; }
.tool-card .grid-container .line { gap: 12px; }

/* 网格卡片（共用） */
.center .item,
.express .item,
.common-card .item {
	cursor: pointer;
	box-sizing: border-box;
	width: 190px;
	height: 60px;
	background: #183c34;
	border: 1px solid rgba(255, 255, 255, 0.2);
	display: flex;
	align-items: center;
	transition: background-color 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.center .item { border-radius: 30px; gap: 8px; padding: 0 14px; }
.express .item,
.common-card .item { border-radius: 8px; gap: 10px; padding: 0 10px 0 20px; }
.tool-card .item { width: 159px; padding: 0 5px 0 20px !important; }
.center .item-col2 { grid-column: 2 / 3; }

/* 网格卡片悬浮（共用） */
.center .item:hover,
.center .item:active,
.express .item:hover,
.express .item:active,
.common-card .item:hover,
.common-card .item:active { background: #e8ffd8; }
.center .item:hover .text,
.center .item:hover .traffic,
.center .item:hover .traffic span,
.center .item:active .text,
.center .item:active .traffic,
.center .item:active .traffic span,
.express .item:hover .grid-item-text,
.common-card .item:hover .grid-item-text { color: rgba(48, 49, 51, 1) !important; }
.express .item:active .grid-item-text,
.common-card .item:active .grid-item-text { color: #22332a; }
.center .item:hover .item-icon,
.center .item:active .item-icon,
.express .item:hover .item-icon,
.express .item:active .item-icon,
.common-card .item:hover .item-icon,
.common-card .item:active .item-icon { filter: saturate(1); }

/* 图标（共用） */
.item-icon,
.list-item-logo {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	transition: filter 0.3s ease;
}
.item-icon { background-color: #fff; filter: saturate(0); object-fit: cover; }
.center .item-icon { width: 32px; height: 32px; }

/* 网格文字（共用） */
.center .text,
.list-item .text {
	font-size: 18px;
	color: #fff;
	line-height: 28px;
}
.center .text { text-align: left; transition: color 0.35s cubic-bezier(0.4, 0, 0.2, 1); }
.grid-item-text {
	font-size: 18px;
	color: #fff;
	line-height: 28px;
	text-align: left;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	transition: color 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.center .traffic {
	font-size: 12px;
	color: #3f996c;
	line-height: 14px;
	transition: color 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.center .traffic span { transition: color 0.35s cubic-bezier(0.4, 0, 0.2, 1); }

/* ---------- 常用工具 ---------- */
.tools {
	padding: 30px;
	display: flex;
	gap: 20px;
}
.middle-group {
	display: flex;
	flex-direction: column;
	gap: 14px;
	width: 650px;
}

/* ---------- 轻量 tooltip ---------- */
.tip { position: relative; }
.tip:hover::after {
	content: attr(data-tip);
	position: absolute;
	top: -38px;
	left: 50%;
	transform: translateX(-50%);
	background: rgba(255, 255, 255, 0.92);
	color: #303133;
	font-size: 14px;
	padding: 4px 10px;
	border-radius: 6px;
	white-space: nowrap;
	z-index: 99;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.tip:hover::before {
	content: "";
	position: absolute;
	top: -8px;
	left: 50%;
	transform: translateX(-50%);
	border: 5px solid transparent;
	border-top-color: rgba(255, 255, 255, 0.92);
	z-index: 99;
}

/* ---------- 联系我们 ---------- */
.contact {
	width: 1798px;
	height: 180px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 40px;
	background-image: url("/assets/img/contact-7b5ceda3888cdec1064ff3125c09df30.png");
	background-size: 100% 100%;
	padding-left: 239px;
	padding-right: 255px;
	position: relative;
}
.contact .left {
	display: flex;
	gap: 20px;
	flex-direction: column;
}
.contact .big-text {
	font-weight: 500;
	font-size: 32px;
	color: #fff;
	line-height: 42px;
}
.contact .small-text {
	font-size: 20px;
	color: rgba(255, 255, 255, 0.8);
	line-height: 30px;
}
.contact .right {
	width: 180px;
	height: 60px;
	background: #44b686;
	box-shadow: 0 0 6px 4px rgba(68, 182, 134, 0.15);
	border-radius: 30px;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	cursor: pointer;
}
.contact .right .text {
	font-size: 20px;
	color: rgba(255, 255, 255, 0.8);
	line-height: 30px;
}
.contact .right .iconfont { color: #fff; font-size: 18px; }

/* 二维码弹窗 */
.qrcode-popover {
	display: none;
	position: absolute;
	bottom: 70px;
	left: 50%;
	transform: translateX(-50%);
	width: 226px;
	padding: 24px 0 20px 0;
	background: rgba(255, 255, 255, 0.85);
	border-radius: 8px;
	z-index: 99;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}
.qrcode-popover::after {
	content: '';
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	border: 8px solid transparent;
	border-top-color: rgba(255, 255, 255, 0.85);
}
.contact-wrap { position: relative; }
.contact-wrap:hover .qrcode-popover,
.contact-wrap:focus-within .qrcode-popover { display: block; }
.qrcode-box {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 10px;
}
.qrcode-box .qrcode { width: 150px; height: 150px; }
.qrcode-text {
	font-size: 16px;
	color: #909399;
	line-height: 22px;
}


/* ---------- 辅助类（提取的内联 style） ---------- */
.item-info { display: flex; flex-direction: column; }
.traffic .vc { color: #fff; }
.hello-name { color: rgba(63, 153, 108, 1); }

/* 语义化标题沿用原有视觉尺寸。 */
.header .title h1.desc, h2.body-title { margin: 0; }
.header .title h1.desc { font-weight: inherit; }
