/* ═══════════════════════════════════════════════════════════
   SUBIM Products — 全宽自适应暗色风格
   ═══════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; }

.sp-page {
	background: #060606;
	color: #e8e8e8;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
		"Noto Sans SC", "Microsoft YaHei", sans-serif;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

/* ─── 导航栏 ────────────────────────────────────────────────── */
.sp-nav {
	position: sticky;
	top: 0;
	z-index: 200;
	background: rgba(6,6,6,.82);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border-bottom: 1px solid rgba(255,255,255,.06);
}
.sp-nav-inner {
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 clamp(20px, 5vw, 80px);
	height: 60px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.sp-nav-logo {
	font-size: 15px;
	font-weight: 800;
	letter-spacing: .18em;
	color: #fff;
	text-transform: uppercase;
}
.sp-nav-links { display: flex; gap: 36px; }
.sp-nav-link {
	font-size: 13px;
	font-weight: 500;
	color: rgba(255,255,255,.45);
	text-decoration: none;
	letter-spacing: .04em;
	transition: color .2s;
	position: relative;
}
.sp-nav-link::after {
	content: '';
	position: absolute;
	left: 0; bottom: -4px;
	width: 0; height: 1px;
	background: #facc15;
	transition: width .2s;
}
.sp-nav-link:hover { color: #fff; }
.sp-nav-link:hover::after,
.sp-nav-link.active::after { width: 100%; }
.sp-nav-link.active { color: #fff; }

/* ─── 产品大区块（全宽） ────────────────────────────────────── */
.sp-product { width: 100%; }

/* ─── Hero 全宽区 ───────────────────────────────────────────── */
.sp-hero {
	width: 100%;
	min-height: 88vh;
	display: grid;
	grid-template-columns: 1fr 1fr;
	position: relative;
}

/* 媒体侧（左）*/
.sp-hero-media {
	position: relative;
	overflow: hidden;
	background: #0a0a0a;
	min-height: 520px;
}
.sp-hero-media::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to right,
		transparent 60%,
		#060606 100%
	);
	pointer-events: none;
	z-index: 1;
}
.sp-hero-media video,
.sp-hero-media iframe,
.sp-hero-media .sp-hero-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border: none;
}

/* 文字侧（右）*/
.sp-hero-body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(48px, 8vw, 120px) clamp(32px, 6vw, 100px) clamp(48px, 8vw, 120px) clamp(24px, 4vw, 72px);
	gap: 22px;
	position: relative;
	z-index: 2;
}
.sp-hero-tag {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: #facc15;
	opacity: .9;
}
.sp-hero-title {
	font-size: clamp(30px, 3.8vw, 56px);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -.025em;
	color: #fff;
	margin: 0;
}
.sp-hero-sub {
	font-size: clamp(14px, 1.3vw, 17px);
	line-height: 1.8;
	color: rgba(255,255,255,.48);
	margin: 0;
	max-width: 480px;
}
.sp-hero-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.sp-meta-badge {
	font-size: 11px;
	padding: 4px 12px;
	border-radius: 999px;
	border: 1px solid rgba(255,255,255,.12);
	color: rgba(255,255,255,.4);
	letter-spacing: .05em;
}
.sp-hero-btns {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 8px;
}

/* Hero 无媒体时：文字全宽居中 */
.sp-hero.sp-hero-text-only {
	grid-template-columns: 1fr;
	min-height: 60vh;
	background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(250,204,21,.06), transparent 70%);
}
.sp-hero.sp-hero-text-only .sp-hero-body {
	align-items: center;
	text-align: center;
	padding: clamp(80px, 12vw, 160px) clamp(20px, 10vw, 200px);
}
.sp-hero.sp-hero-text-only .sp-hero-meta,
.sp-hero.sp-hero-text-only .sp-hero-btns { justify-content: center; }
.sp-hero.sp-hero-text-only .sp-hero-sub { max-width: 600px; }

/* ─── 按钮 ──────────────────────────────────────────────────── */
.sp-btn-primary {
	display: inline-flex;
	align-items: center;
	height: 48px;
	padding: 0 28px;
	border-radius: 12px;
	background: #facc15;
	color: #111;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	transition: background .15s, transform .15s, box-shadow .15s;
	white-space: nowrap;
	letter-spacing: .02em;
}
.sp-btn-primary:hover {
	background: #ffd84d;
	transform: translateY(-2px);
	box-shadow: 0 12px 32px rgba(250,204,21,.25);
	color: #111;
}

.sp-btn-outline {
	display: inline-flex;
	align-items: center;
	height: 48px;
	padding: 0 28px;
	border-radius: 12px;
	border: 1px solid rgba(255,255,255,.16);
	background: rgba(255,255,255,.05);
	color: rgba(255,255,255,.8);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: background .15s, border-color .15s, transform .15s;
	white-space: nowrap;
	letter-spacing: .02em;
}
.sp-btn-outline:hover {
	background: rgba(255,255,255,.1);
	border-color: rgba(255,255,255,.3);
	color: #fff;
	transform: translateY(-2px);
}

/* ─── 功能卡片区（全宽内收内容） ────────────────────────────── */
.sp-features-wrap {
	width: 100%;
	padding: clamp(60px, 8vw, 100px) clamp(20px, 5vw, 80px);
	background: #060606;
}
.sp-features-label {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: rgba(255,255,255,.25);
	margin-bottom: 40px;
}
.sp-features {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1px;
	background: rgba(255,255,255,.06);
	border: 1px solid rgba(255,255,255,.06);
	border-radius: 20px;
	overflow: hidden;
}
.sp-feature-card {
	background: #0c0c0c;
	padding: clamp(28px, 3vw, 44px) clamp(24px, 2.5vw, 40px);
	transition: background .2s;
	position: relative;
}
.sp-feature-card::before {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(250,204,21,.15), transparent);
	opacity: 0;
	transition: opacity .3s;
}
.sp-feature-card:hover { background: #111; }
.sp-feature-card:hover::before { opacity: 1; }

.sp-feature-icon {
	font-size: 18px;
	color: #facc15;
	margin-bottom: 18px;
	line-height: 1;
	opacity: .85;
}
.sp-feature-title {
	font-size: 15px;
	font-weight: 700;
	color: rgba(255,255,255,.92);
	margin-bottom: 10px;
	letter-spacing: -.01em;
}
.sp-feature-desc {
	font-size: 13px;
	line-height: 1.75;
	color: rgba(255,255,255,.38);
}

/* ─── 下载区（全宽深色带） ──────────────────────────────────── */
.sp-download-wrap {
	width: 100%;
	background: #080808;
	border-top: 1px solid rgba(255,255,255,.05);
	padding: clamp(40px, 5vw, 64px) clamp(20px, 5vw, 80px);
}
.sp-download-inner {
	max-width: 1400px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 24px;
}
.sp-download-info {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}
.sp-download-name {
	font-size: clamp(18px, 2vw, 24px);
	font-weight: 700;
	color: #fff;
	letter-spacing: -.01em;
}
.sp-download-meta {
	font-size: 13px;
	color: rgba(255,255,255,.35);
}
.sp-free-badge {
	font-size: 10px;
	font-weight: 700;
	padding: 4px 11px;
	border-radius: 999px;
	background: rgba(34,197,94,.12);
	border: 1px solid rgba(34,197,94,.28);
	color: #4ade80;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.sp-download-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ─── 分隔线 ─────────────────────────────────────────────────── */
.sp-divider {
	width: 100%;
	display: flex;
	align-items: center;
}
.sp-divider::before,
.sp-divider::after {
	content: '';
	flex: 1;
	height: 1px;
	background: rgba(255,255,255,.06);
}
.sp-divider span {
	font-size: 10px;
	font-weight: 600;
	letter-spacing: .18em;
	color: rgba(255,255,255,.15);
	padding: 0 28px;
	white-space: nowrap;
	text-transform: uppercase;
}

/* ─── 响应式 ─────────────────────────────────────────────────── */
@media (max-width: 1024px) {
	.sp-hero {
		grid-template-columns: 1fr;
		min-height: auto;
	}
	.sp-hero-media {
		min-height: 56vw;
		max-height: 500px;
	}
	.sp-hero-media::after {
		background: linear-gradient(to bottom, transparent 60%, #060606 100%);
	}
	.sp-hero-body {
		padding: 48px clamp(20px, 6vw, 64px) 64px;
	}
	.sp-hero-sub { max-width: 100%; }
}

@media (max-width: 768px) {
	.sp-nav-inner { height: 52px; }
	.sp-nav-links { gap: 24px; }
	.sp-features {
		grid-template-columns: repeat(2, 1fr);
	}
	.sp-download-inner {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (max-width: 540px) {
	.sp-features { grid-template-columns: 1fr; }
	.sp-nav-links { gap: 16px; }
	.sp-hero-btns { flex-direction: column; }
	.sp-btn-primary,
	.sp-btn-outline { width: 100%; justify-content: center; }
	.sp-hero.sp-hero-text-only .sp-hero-body {
		padding: 60px 20px;
	}
}
