/*
Theme Name: PD Parallels 中文站
Theme URI: https://www.parallels-desktop.cn/
Author: Parallels Desktop 中文代理站
Description: 面向 Parallels Desktop 27 的中文专题站主题：官方风格首页、版本下载、授权购买、教程文章与代理声明。
Version: 1.0.0
Text Domain: pdtheme
*/

/* =========================================================
   1. 基础变量与重置
   ========================================================= */
:root {
	--brand: #1b5cff;
	--brand-2: #4f8cff;
	--brand-3: #0b3fd0;
	--ink: #0a1526;
	--ink-2: #101f37;
	--text: #1b2433;
	--muted: #66738c;
	--line: #e6ecf5;
	--bg-soft: #f4f7fd;
	--bg-card: #ffffff;
	--accent: #ff5a1f;
	--accent-2: #ff8a3d;
	--green: #12a150;
	--radius: 16px;
	--radius-lg: 22px;
	--shadow-sm: 0 2px 10px rgba(16, 31, 55, .06);
	--shadow: 0 14px 40px rgba(16, 31, 55, .10);
	--shadow-lg: 0 24px 70px rgba(9, 22, 44, .18);
	--wrap: 1180px;
	--font: -apple-system, BlinkMacSystemFont, "SF Pro SC", "SF Pro Display", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	background: #fff;
	color: var(--text);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; border: 0; }
a { color: var(--brand); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--brand-3); }
h1, h2, h3, h4, h5, h6 { color: var(--ink); margin: 0; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
button { font-family: inherit; }

.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* =========================================================
   2. 布局容器
   ========================================================= */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding: 56px 0; }

.section-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.section-head .eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
	color: var(--brand); background: rgba(27, 92, 255, .08);
	border-radius: 100px; padding: 6px 14px; margin-bottom: 16px;
}
.section-head h2 { font-size: clamp(26px, 3.4vw, 40px); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }
.section-head--left { text-align: left; margin-left: 0; }

/* =========================================================
   3. 按钮
   ========================================================= */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 9px;
	padding: 14px 28px; border-radius: 12px; font-size: 16px; font-weight: 700;
	line-height: 1.2; border: 1px solid transparent; cursor: pointer;
	transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
	white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%); color: #fff; box-shadow: 0 10px 26px rgba(27, 92, 255, .30); }
.btn-primary:hover { color: #fff; box-shadow: 0 16px 34px rgba(27, 92, 255, .38); }

.btn-accent { background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%); color: #fff; box-shadow: 0 10px 26px rgba(255, 90, 31, .30); }
.btn-accent:hover { color: #fff; box-shadow: 0 16px 34px rgba(255, 90, 31, .38); }

.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { color: var(--brand); border-color: rgba(27, 92, 255, .35); }

.btn-light { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .28); backdrop-filter: blur(6px); }
.btn-light:hover { color: #fff; background: rgba(255, 255, 255, .2); }

.btn-lg { padding: 17px 34px; font-size: 17px; border-radius: 14px; }
.btn-sm { padding: 10px 18px; font-size: 14px; border-radius: 10px; }
.btn-block { width: 100%; }

/* =========================================================
   4. 顶部代理声明条
   ========================================================= */
.topstrip {
	background: var(--ink);
	color: rgba(255, 255, 255, .78);
	font-size: 12.5px; letter-spacing: .01em;
	border-bottom: 1px solid rgba(255, 255, 255, .08);
	position: relative; z-index: 60;
}
.topstrip .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 38px; padding-top: 6px; padding-bottom: 6px; }
.topstrip__note { display: flex; align-items: center; gap: 8px; }
.topstrip__note i { color: var(--accent-2); }
.topstrip__right { display: flex; align-items: center; gap: 18px; }
.topstrip a { color: rgba(255, 255, 255, .85); }
.topstrip a:hover { color: #fff; }
@media (max-width: 720px) { .topstrip__right { display: none; } .topstrip__note { font-size: 11.5px; } }

/* =========================================================
   5. 头部导航
   ========================================================= */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 255, 255, .94);
	backdrop-filter: saturate(180%) blur(14px);
	-webkit-backdrop-filter: saturate(180%) blur(14px);
	border-bottom: 1px solid var(--line);
	transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 8px 28px rgba(16, 31, 55, .08); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: 72px; }

.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand img { width: 168px; max-height: 40px; object-fit: contain; }
.brand__badge {
	font-size: 11px; font-weight: 700; color: var(--brand);
	background: rgba(27, 92, 255, .10); border-radius: 6px;
	padding: 3px 7px; white-space: nowrap; letter-spacing: .04em;
}

.nav { margin-left: auto; }
.nav ul { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav li { position: relative; }
.nav a {
	display: block; padding: 9px 14px; border-radius: 9px;
	color: var(--ink); font-size: 15px; font-weight: 600;
}
.nav a:hover { background: var(--bg-soft); color: var(--brand); }
.nav .current-menu-item > a,
.nav .current_page_item > a,
.nav .current-menu-parent > a { color: var(--brand); background: rgba(27, 92, 255, .07); }
.nav a.nav-buy {
	background: linear-gradient(135deg, var(--brand), var(--brand-2));
	color: #fff; padding: 10px 20px; box-shadow: 0 6px 16px rgba(27, 92, 255, .26);
}
.nav a.nav-buy:hover { color: #fff; box-shadow: 0 10px 22px rgba(27, 92, 255, .34); }

.nav-toggle {
	display: none; margin-left: auto; width: 42px; height: 42px;
	border: 1px solid var(--line); background: #fff; border-radius: 10px;
	color: var(--ink); font-size: 18px; cursor: pointer; align-items: center; justify-content: center;
}

@media (max-width: 980px) {
	.nav {
		position: fixed; inset: 0 0 auto 0; top: 110px; margin: 0;
		background: #fff; border-bottom: 1px solid var(--line);
		box-shadow: var(--shadow); padding: 12px 20px 20px;
		display: none;
	}
	.nav.is-open { display: block; }
	.nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
	.nav a { padding: 13px 12px; }
	.nav-toggle { display: inline-flex; }
	.brand img { width: 140px; }
}

/* =========================================================
   6. 首页 Hero
   ========================================================= */
.hero {
	position: relative; overflow: hidden;
	background: radial-gradient(1200px 600px at 78% -10%, rgba(47, 124, 255, .38), transparent 60%),
		radial-gradient(900px 500px at 8% 10%, rgba(23, 60, 160, .5), transparent 60%),
		linear-gradient(160deg, #071226 0%, #0c1d3a 46%, #0b172e 100%);
	color: #fff;
	padding: 88px 0 96px;
}
.hero::after {
	content: ""; position: absolute; inset: 0;
	background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
	background-size: 64px 64px;
	-webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 72%);
	mask-image: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 72%);
	pointer-events: none;
}
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center; }

.hero__badge {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 13px; font-weight: 600; color: #cfe1ff;
	background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
	border-radius: 100px; padding: 7px 15px; margin-bottom: 24px;
	backdrop-filter: blur(6px);
}
.hero__badge .dot { width: 7px; height: 7px; border-radius: 50%; background: #35d07f; box-shadow: 0 0 0 4px rgba(53, 208, 127, .18); }

.hero h1 { color: #fff; font-size: clamp(34px, 4.6vw, 58px); line-height: 1.15; letter-spacing: -.025em; margin-bottom: 20px; }
.hero h1 em { font-style: normal; background: linear-gradient(100deg, #7fb2ff, #c9dcff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero__sub { color: rgba(255, 255, 255, .82); font-size: 18px; line-height: 1.75; max-width: 560px; margin-bottom: 32px; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 26px; color: rgba(255, 255, 255, .62); font-size: 13.5px; }
.hero__meta span { display: inline-flex; align-items: center; gap: 7px; }

.hero__visual { position: relative; }
.hero__shot {
	position: relative; border-radius: 20px; overflow: hidden;
	box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .16);
	background: #0e1c33;
}
.hero__shot img { width: 100%; height: auto; }
.hero__float {
	position: absolute; left: -18px; bottom: -20px;
	display: flex; align-items: center; gap: 12px;
	background: rgba(12, 26, 47, .82); border: 1px solid rgba(255, 255, 255, .16);
	border-radius: 14px; padding: 12px 16px; backdrop-filter: blur(10px);
	box-shadow: 0 18px 40px rgba(0, 0, 0, .3);
	font-size: 13px;
}
.hero__float i { color: #35d07f; font-size: 22px; }
.hero__float strong { display: block; color: #fff; font-size: 14px; line-height: 1.35; }
.hero__float span { color: rgba(255, 255, 255, .6); }

@media (max-width: 980px) {
	.hero { padding: 56px 0 68px; }
	.hero .wrap { grid-template-columns: 1fr; gap: 44px; }
	.hero__visual { order: -1; max-width: 620px; }
	.hero__float { display: none; }
}

/* =========================================================
   7. 信任条
   ========================================================= */
.trustbar { background: #fff; border-bottom: 1px solid var(--line); }
.trustbar .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 26px; padding-bottom: 26px; }
.trustbar__item { display: flex; align-items: center; gap: 13px; }
.trustbar__item i {
	width: 42px; height: 42px; flex-shrink: 0;
	display: inline-flex; align-items: center; justify-content: center;
	border-radius: 12px; background: rgba(27, 92, 255, .08); color: var(--brand); font-size: 18px;
}
.trustbar__item strong { display: block; font-size: 14.5px; color: var(--ink); line-height: 1.4; }
.trustbar__item span { display: block; font-size: 12.5px; color: var(--muted); }
@media (max-width: 860px) { .trustbar .wrap { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .trustbar .wrap { grid-template-columns: 1fr; } }

/* =========================================================
   8. 功能介绍
   ========================================================= */
.featuregrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.feature-card {
	background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-lg);
	padding: 30px 28px; box-shadow: var(--shadow-sm);
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(27, 92, 255, .25); }
.feature-card__icon {
	width: 48px; height: 48px; border-radius: 13px;
	display: inline-flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, rgba(27, 92, 255, .12), rgba(79, 140, 255, .16));
	color: var(--brand); font-size: 20px; margin-bottom: 18px;
}
.feature-card h3 { font-size: 19px; margin-bottom: 10px; }
.feature-card p { color: var(--muted); font-size: 14.5px; line-height: 1.75; margin: 0; }

.feature-showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature-showcase + .feature-showcase { margin-top: 96px; }
.feature-showcase__text h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 16px; }
.feature-showcase__text p { color: var(--muted); font-size: 16px; line-height: 1.8; }
.feature-showcase__text ul { list-style: none; padding: 0; margin: 22px 0 0; }
.feature-showcase__text li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; color: var(--text); font-size: 15px; }
.feature-showcase__text li i { color: var(--green); margin-top: 4px; }
.feature-showcase__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.feature-showcase--rev .feature-showcase__media { order: -1; }
@media (max-width: 900px) {
	.featuregrid { grid-template-columns: 1fr 1fr; }
	.feature-showcase { grid-template-columns: 1fr; gap: 32px; }
	.feature-showcase--rev .feature-showcase__media { order: 0; }
}
@media (max-width: 620px) { .featuregrid { grid-template-columns: 1fr; } }

/* =========================================================
   9. 价格 / SKU
   ========================================================= */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card {
	position: relative; display: flex; flex-direction: column;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
	padding: 30px 28px 28px; box-shadow: var(--shadow-sm);
	transition: transform .25s ease, box-shadow .25s ease;
}
.price-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.price-card.is-hot { border: 1.5px solid rgba(27, 92, 255, .55); box-shadow: 0 18px 46px rgba(27, 92, 255, .16); }
.price-card__ribbon {
	position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
	background: linear-gradient(135deg, var(--accent), var(--accent-2));
	color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .04em;
	padding: 5px 16px; border-radius: 100px; white-space: nowrap;
	box-shadow: 0 8px 18px rgba(255, 90, 31, .3);
}
.price-card__tag { font-size: 12.5px; font-weight: 700; color: var(--brand); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; }
.price-card h3 { font-size: 22px; margin-bottom: 6px; }
.price-card__desc { color: var(--muted); font-size: 13.5px; min-height: 40px; margin-bottom: 16px; }
.price-card__price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.price-card__price .cur { font-size: 20px; font-weight: 700; color: var(--accent); }
.price-card__price .num { font-size: 44px; font-weight: 800; color: var(--ink); letter-spacing: -.03em; line-height: 1; }
.price-card__price .old { font-size: 15px; color: #aab3c4; text-decoration: line-through; }
.price-card__note { font-size: 12.5px; color: var(--muted); margin-bottom: 20px; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 24px; border-top: 1px dashed var(--line); padding-top: 18px; }
.price-card ul li { display: flex; gap: 9px; align-items: flex-start; font-size: 14px; color: var(--text); margin-bottom: 10px; }
.price-card ul li i { color: var(--green); font-size: 13px; margin-top: 4px; }
.price-card__actions { margin-top: auto; display: grid; gap: 10px; }
.price-card__coupon { font-size: 13px; }

.coupon-note { margin-top: 26px; text-align: center; color: var(--muted); font-size: 13.5px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.coupon-note i { color: var(--accent); }

/* 优惠券按钮组 */
.coupon-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 18px; }
.coupon-btn {
	display: inline-flex; align-items: center; gap: 7px;
	padding: 9px 16px; border-radius: 100px; font-size: 13.5px; font-weight: 600;
	background: #fff; color: var(--ink); border: 1px dashed rgba(27, 92, 255, .45);
	transition: all .2s ease;
}
.coupon-btn:hover { background: rgba(27, 92, 255, .06); color: var(--brand); border-style: solid; transform: translateY(-2px); }
.coupon-btn i { color: var(--accent); }

@media (max-width: 1000px) { .pricing-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .pricing-grid { grid-template-columns: 1fr; } }

.pricing-grid--two { grid-template-columns: repeat(2, 1fr); max-width: 810px; margin: 24px auto 0; }

/* =========================================================
   10. 代理声明
   ========================================================= */
.disclaimer {
	background: linear-gradient(135deg, #fff8f3, #fffdfa);
	border: 1px solid #ffe2d0;
	border-radius: var(--radius-lg);
	padding: 26px 30px;
	display: flex; gap: 16px; align-items: flex-start;
}
.disclaimer i { color: var(--accent); font-size: 22px; margin-top: 2px; }
.disclaimer h4 { margin: 0 0 6px; font-size: 16px; }
.disclaimer p { margin: 0; color: #7a5a45; font-size: 14px; line-height: 1.75; }
.disclaimer a { color: #b8481b; font-weight: 600; text-decoration: underline; }

/* =========================================================
   11. 文章卡片
   ========================================================= */
.postgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.postcard {
	display: flex; flex-direction: column;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
	overflow: hidden; box-shadow: var(--shadow-sm);
	transition: transform .25s ease, box-shadow .25s ease;
}
.postcard:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.postcard__thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.postcard__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.postcard:hover .postcard__thumb img { transform: scale(1.05); }
.postcard__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.postcard__meta { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--muted); margin-bottom: 10px; }
.postcard__cat { color: var(--brand); background: rgba(27, 92, 255, .08); padding: 3px 9px; border-radius: 6px; font-weight: 600; }
.postcard h3 { font-size: 17px; line-height: 1.5; margin-bottom: 10px; }
.postcard h3 a { color: var(--ink); }
.postcard h3 a:hover { color: var(--brand); }
.postcard p { color: var(--muted); font-size: 13.8px; line-height: 1.7; margin: 0 0 16px; }
.postcard__more { margin-top: auto; font-size: 13.5px; font-weight: 700; color: var(--brand); }

@media (max-width: 980px) { .postgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .postgrid { grid-template-columns: 1fr; } }

/* 文章列表（列表式） */
.postlist { display: grid; gap: 16px; }
.postlist__item {
	display: flex; gap: 20px; align-items: center;
	background: #fff; border: 1px solid var(--line); border-radius: 14px;
	padding: 18px 22px; transition: all .2s ease;
}
.postlist__item:hover { border-color: rgba(27, 92, 255, .3); box-shadow: var(--shadow-sm); transform: translateX(4px); }
.postlist__date { flex-shrink: 0; width: 76px; text-align: center; color: var(--muted); font-size: 12px; line-height: 1.4; }
.postlist__date strong { display: block; font-size: 22px; color: var(--ink); font-weight: 800; }
.postlist__main h3 { font-size: 16px; margin-bottom: 4px; }
.postlist__main h3 a { color: var(--ink); }
.postlist__main h3 a:hover { color: var(--brand); }
.postlist__main p { margin: 0; color: var(--muted); font-size: 13.5px; }

/* =========================================================
   12. 内页 Hero
   ========================================================= */
.page-hero {
	background: radial-gradient(800px 400px at 80% 0%, rgba(47, 124, 255, .30), transparent 65%),
		linear-gradient(150deg, #080f1e, #0d1e3a 70%, #0a172c);
	color: #fff; padding: 64px 0 60px; text-align: center; position: relative; overflow: hidden;
}
.page-hero::after {
	content: ""; position: absolute; inset: 0;
	background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
	background-size: 56px 56px;
	-webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000, transparent 70%);
	mask-image: radial-gradient(ellipse at 50% 0%, #000, transparent 70%);
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero .eyebrow { display: inline-block; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: #9dc0ff; margin-bottom: 14px; font-weight: 700; }
.page-hero h1 { color: #fff; font-size: clamp(28px, 4vw, 44px); margin-bottom: 14px; }
.page-hero p { color: rgba(255, 255, 255, .72); font-size: 16.5px; max-width: 640px; margin: 0 auto; }
.page-hero__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }

/* =========================================================
   13. 下载页
   ========================================================= */
.dl-list { display: grid; gap: 24px; }
.dl-card {
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
	padding: 28px 30px; box-shadow: var(--shadow-sm);
	display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center;
}
.dl-card__head { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.dl-card__ver {
	font-size: 13px; font-weight: 800; color: #fff; letter-spacing: .02em;
	background: linear-gradient(135deg, var(--brand), var(--brand-2));
	border-radius: 8px; padding: 5px 11px;
}
.dl-card h3 { font-size: 21px; margin: 0; }
.dl-card__meta { color: var(--muted); font-size: 13.5px; display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 12px; }
.dl-card__meta span { display: inline-flex; align-items: center; gap: 6px; }
.dl-card__desc { color: var(--muted); font-size: 14px; margin: 0; max-width: 660px; }
.dl-card__actions { text-align: center; min-width: 220px; }
.dl-card__actions .btn { width: 100%; }
.dl-card__sub { display: block; margin-top: 10px; font-size: 12.5px; color: var(--muted); }
.dl-card__sub a { color: var(--brand); text-decoration: underline; }
@media (max-width: 820px) {
	.dl-card { grid-template-columns: 1fr; gap: 18px; }
	.dl-card__actions { text-align: left; }
	.dl-card__actions .btn { width: auto; }
}

.dl-help { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.dl-help__item { background: var(--bg-soft); border-radius: 14px; padding: 22px 24px; }
.dl-help__item h4 { font-size: 15.5px; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.dl-help__item h4 i { color: var(--brand); }
.dl-help__item p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.7; }
@media (max-width: 820px) { .dl-help { grid-template-columns: 1fr; } }

/* =========================================================
   14. 购买页
   ========================================================= */
.buy-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 10px; }
.buy-step { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px 22px; position: relative; }
.buy-step__num {
	width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
	background: rgba(27, 92, 255, .1); color: var(--brand); font-weight: 800; font-size: 14px; margin-bottom: 12px;
}
.buy-step h4 { font-size: 15.5px; margin-bottom: 6px; }
.buy-step p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.7; }
@media (max-width: 900px) { .buy-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .buy-steps { grid-template-columns: 1fr; } }

/* =========================================================
   15. FAQ
   ========================================================= */
.faq { max-width: 860px; margin: 0 auto; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; overflow: hidden; }
.faq__q {
	width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
	background: none; border: 0; padding: 20px 24px; text-align: left;
	font-size: 16px; font-weight: 600; color: var(--ink); cursor: pointer;
}
.faq__q i { color: var(--brand); transition: transform .25s ease; flex-shrink: 0; }
.faq__item.is-open .faq__q i { transform: rotate(45deg); }
.faq__a { display: none; padding: 0 24px 22px; color: var(--muted); font-size: 14.5px; line-height: 1.8; }
.faq__item.is-open .faq__a { display: block; }

/* =========================================================
   16. CTA 区
   ========================================================= */
.cta-band {
	background: radial-gradient(700px 340px at 20% 0%, rgba(79, 140, 255, .35), transparent 60%),
		linear-gradient(135deg, #0a1526, #123063);
	border-radius: var(--radius-lg);
	padding: 52px 56px; display: flex; align-items: center; justify-content: space-between; gap: 36px;
	color: #fff; box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; font-size: clamp(22px, 3vw, 32px); margin-bottom: 10px; }
.cta-band p { color: rgba(255, 255, 255, .72); margin: 0; font-size: 15.5px; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; }
@media (max-width: 860px) { .cta-band { flex-direction: column; text-align: center; padding: 40px 28px; } .cta-band__actions { justify-content: center; } }

/* =========================================================
   17. 文章正文
   ========================================================= */
.single-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.article { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 44px 48px; box-shadow: var(--shadow-sm); }
.article__head { margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.article__meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.article__meta a { color: var(--brand); }
.article h1 { font-size: clamp(24px, 3.2vw, 34px); line-height: 1.35; margin-bottom: 0; }
.article__content { font-size: 16px; line-height: 1.9; color: #2a3446; }
.article__content h2 { font-size: 24px; margin: 34px 0 14px; padding-left: 14px; border-left: 4px solid var(--brand); }
.article__content h3 { font-size: 19px; margin: 26px 0 10px; }
.article__content h4 { font-size: 17px; margin: 22px 0 8px; }
.article__content p { margin: 0 0 16px; }
.article__content img { border-radius: 12px; margin: 18px auto; box-shadow: var(--shadow-sm); }
.article__content ul, .article__content ol { margin: 0 0 18px; padding-left: 1.4em; }
.article__content li { margin-bottom: 8px; }
.article__content blockquote {
	margin: 22px 0; padding: 18px 24px; background: var(--bg-soft);
	border-left: 4px solid var(--brand); border-radius: 0 10px 10px 0; color: var(--muted);
}
.article__content table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 14.5px; }
.article__content th, .article__content td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.article__content th { background: var(--bg-soft); font-weight: 700; }
.article__content code { background: #eef3fb; padding: 2px 7px; border-radius: 5px; font-size: .92em; }
.article__content pre { background: #0e1a2d; color: #dbe6f7; padding: 18px 22px; border-radius: 12px; overflow: auto; font-size: 13.5px; line-height: 1.7; }
.article__content pre code { background: none; padding: 0; color: inherit; }
.article__foot { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.article__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.article__tags a { font-size: 12.5px; background: var(--bg-soft); color: var(--muted); padding: 5px 11px; border-radius: 100px; }
.article__tags a:hover { background: rgba(27, 92, 255, .1); color: var(--brand); }

.sidebar { display: grid; gap: 24px; position: sticky; top: 96px; }
.sidebar__box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.sidebar__box h4 { font-size: 15px; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.sidebar__list { list-style: none; margin: 0; padding: 0; }
.sidebar__list li { padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 13.8px; line-height: 1.5; }
.sidebar__list li:last-child { border-bottom: 0; }
.sidebar__list a { color: var(--text); }
.sidebar__list a:hover { color: var(--brand); }
.sidebar__cta { background: linear-gradient(150deg, #0b1b36, #14315f); color: #fff; border: 0; }
.sidebar__cta h4 { color: #fff; border-bottom-color: rgba(255, 255, 255, .15); }
.sidebar__cta p { color: rgba(255, 255, 255, .7); font-size: 13.5px; margin-bottom: 16px; }
.sidebar__cta .btn { width: 100%; }

@media (max-width: 980px) {
	.single-layout { grid-template-columns: 1fr; gap: 32px; }
	.sidebar { position: static; }
	.article { padding: 30px 24px; }
}

/* 上一篇 / 下一篇 */
.postnav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.postnav a { display: block; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; }
.postnav a:hover { border-color: rgba(27, 92, 255, .3); }
.postnav span { display: block; font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.postnav strong { display: block; font-size: 14px; color: var(--ink); font-weight: 600; line-height: 1.5; }
.postnav__next { text-align: right; }
@media (max-width: 640px) { .postnav { grid-template-columns: 1fr; } }

/* =========================================================
   18. 归档
   ========================================================= */
.archive-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
@media (max-width: 980px) { .archive-grid { grid-template-columns: 1fr; } }

.pagination { margin-top: 36px; display: flex; justify-content: center; gap: 8px; }
.pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 40px; height: 40px; padding: 0 12px; border-radius: 10px;
	background: #fff; border: 1px solid var(--line); color: var(--text); font-size: 14px; font-weight: 600;
}
.pagination .page-numbers:hover { border-color: var(--brand); color: var(--brand); }
.pagination .page-numbers.current { background: var(--brand); border-color: var(--brand); color: #fff; }

/* =========================================================
   19. 页脚
   ========================================================= */
.site-footer { background: #080f1d; color: rgba(255, 255, 255, .62); padding: 64px 0 0; font-size: 14px; }
.site-footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.site-footer .brand img { width: 172px; }
.site-footer__about { margin-top: 18px; line-height: 1.8; font-size: 13.5px; max-width: 360px; }
.site-footer h4 { color: #fff; font-size: 14.5px; margin-bottom: 16px; letter-spacing: .02em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer a { color: rgba(255, 255, 255, .62); }
.site-footer a:hover { color: #fff; }
.site-footer__badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.site-footer__badges span {
	display: inline-flex; align-items: center; gap: 6px;
	background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1);
	border-radius: 8px; padding: 6px 11px; font-size: 12px; color: rgba(255, 255, 255, .7);
}
.site-footer__bottom { padding: 22px 0; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; font-size: 12.5px; color: rgba(255, 255, 255, .45); }
.site-footer__bottom a { color: rgba(255, 255, 255, .55); }
.site-footer__bottom a:hover { color: #fff; }
.site-footer__disclaimer { font-size: 12px; line-height: 1.8; color: rgba(255, 255, 255, .38); border-top: 1px solid rgba(255, 255, 255, .08); padding: 18px 0; }
@media (max-width: 900px) { .site-footer__top { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 560px) { .site-footer__top { grid-template-columns: 1fr; } }

/* =========================================================
   20. 通用区块与工具类
   ========================================================= */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }
.center-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 40px; }

.breadcrumb { font-size: 12.5px; color: rgba(255, 255, 255, .55); margin-bottom: 16px; }
.breadcrumb a { color: rgba(255, 255, 255, .72); }

/* 空状态 */
.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty-state i { font-size: 40px; color: #c3cddd; margin-bottom: 16px; display: block; }

/* 搜索 */
.searchform { display: flex; gap: 8px; }
.searchform input[type="search"] { flex: 1; padding: 12px 16px; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; outline: none; }
.searchform input[type="search"]:focus { border-color: var(--brand); }
.searchform button { padding: 0 18px; border-radius: 10px; border: 0; background: var(--brand); color: #fff; font-size: 14px; font-weight: 600; cursor: pointer; }

/* 404 */
.error-page { text-align: center; padding: 100px 20px; }
.error-page .code { font-size: 120px; font-weight: 900; line-height: 1; letter-spacing: -.05em; background: linear-gradient(135deg, var(--brand), #9ec2ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.error-page h2 { margin: 16px 0 10px; }
.error-page p { color: var(--muted); margin-bottom: 26px; }
