/* ==========================================================================
   RF4 账号商城 · 全局样式
   ========================================================================== */

:root {
	--rf4-primary: #14448f;
	--rf4-primary-dark: #0d2f66;
	--rf4-primary-light: #1a5fb4;
	--rf4-accent: #ff5400;
	--rf4-accent-dark: #e64800;
	--rf4-green: #16a34a;
	--rf4-green-dark: #128a3f;
	--rf4-red: #f53f3f;
	--rf4-text: #2b3445;
	--rf4-text-secondary: #5b6577;
	--rf4-muted: #8a93a6;
	--rf4-border: #e4e8f0;
	--rf4-bg: #f4f6fa;
	--rf4-bg-white: #ffffff;
	--rf4-radius: 10px;
	--rf4-radius-sm: 6px;
	--rf4-shadow: 0 2px 10px rgba(20, 40, 80, 0.06);
	--rf4-shadow-hover: 0 8px 24px rgba(20, 40, 80, 0.12);
	--rf4-font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

html {
	line-height: 1.6;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: var(--rf4-font);
	font-size: 15px;
	color: var(--rf4-text);
	background: var(--rf4-bg);
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--rf4-primary-light);
	text-decoration: none;
	transition: color 0.2s ease;
}

a:hover {
	color: var(--rf4-accent);
}

h1, h2, h3, h4 {
	margin: 0 0 0.5em;
	line-height: 1.35;
	font-weight: 700;
}

p {
	margin: 0 0 1em;
}

ul, ol {
	margin: 0 0 1em;
	padding-left: 1.4em;
}

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

.rf4-site {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.rf4-main {
	flex: 1;
}

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

/* ==========================================================================
   按钮
   ========================================================================== */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 10px 22px;
	border: 0;
	border-radius: var(--rf4-radius-sm);
	font-family: var(--rf4-font);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	cursor: pointer;
	transition: all 0.2s ease;
	white-space: nowrap;
}

.btn--primary {
	background: linear-gradient(135deg, var(--rf4-primary-light), var(--rf4-primary));
	color: #fff;
}

.btn--primary:hover {
	background: linear-gradient(135deg, var(--rf4-primary), var(--rf4-primary-dark));
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 4px 14px rgba(20, 68, 143, 0.35);
}

.btn--accent {
	background: linear-gradient(135deg, #ff7a2f, var(--rf4-accent));
	color: #fff;
}

.btn--accent:hover {
	background: linear-gradient(135deg, var(--rf4-accent), var(--rf4-accent-dark));
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 4px 14px rgba(255, 84, 0, 0.35);
}

.btn--green {
	background: linear-gradient(135deg, #22b86b, var(--rf4-green));
	color: #fff;
}

.btn--green:hover {
	background: linear-gradient(135deg, var(--rf4-green), var(--rf4-green-dark));
	color: #fff;
}

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

.btn--outline:hover {
	background: var(--rf4-primary);
	color: #fff;
}

.btn--lg {
	padding: 13px 34px;
	font-size: 16px;
	border-radius: var(--rf4-radius);
}

.btn--block {
	width: 100%;
}

.btn[disabled],
.btn--disabled {
	background: #c3cad6 !important;
	color: #fff !important;
	cursor: not-allowed;
	transform: none !important;
	box-shadow: none !important;
}

/* ==========================================================================
   顶部公告条
   ========================================================================== */

.rf4-topbar {
	background: var(--rf4-primary-dark);
	color: rgba(255, 255, 255, 0.85);
	font-size: 12.5px;
}

.rf4-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 34px;
}

.rf4-topbar__hours {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	white-space: nowrap;
	color: #9fd0ff;
}

.rf4-topbar__hours svg {
	width: 13px;
	height: 13px;
}

/* ==========================================================================
   头部导航
   ========================================================================== */

.rf4-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: #fff;
	border-bottom: 1px solid var(--rf4-border);
	box-shadow: var(--rf4-shadow);
}

.rf4-header__inner {
	display: flex;
	align-items: center;
	gap: 28px;
	min-height: 66px;
}

.rf4-logo {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}

.rf4-logo__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 10px;
	background: linear-gradient(135deg, var(--rf4-primary-light), var(--rf4-primary-dark));
	color: #fff;
}

.rf4-logo__icon svg {
	width: 26px;
	height: 26px;
}

.rf4-logo__text strong {
	display: block;
	font-size: 17px;
	color: var(--rf4-primary-dark);
	letter-spacing: 0.5px;
}

.rf4-logo__text small {
	display: block;
	font-size: 11px;
	color: var(--rf4-muted);
	letter-spacing: 3px;
}

.rf4-nav {
	flex: 1;
}

.rf4-nav__list {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.rf4-nav__list .menu-item > a {
	display: block;
	padding: 8px 14px;
	border-radius: var(--rf4-radius-sm);
	font-size: 15px;
	font-weight: 500;
	color: var(--rf4-text);
}

.rf4-nav__list .menu-item > a:hover,
.rf4-nav__list .current-menu-item > a {
	background: rgba(20, 68, 143, 0.08);
	color: var(--rf4-primary);
}

.rf4-header__cta {
	flex-shrink: 0;
}

.rf4-nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid var(--rf4-border);
	border-radius: var(--rf4-radius-sm);
	background: #fff;
	color: var(--rf4-primary);
	cursor: pointer;
}

.rf4-nav-toggle svg {
	width: 22px;
	height: 22px;
}

.rf4-nav-toggle__close {
	display: none;
}

.rf4-nav-toggle.is-open .rf4-nav-toggle__open {
	display: none;
}

.rf4-nav-toggle.is-open .rf4-nav-toggle__close {
	display: block;
}

/* ==========================================================================
   页面通用
   ========================================================================== */

.page-hero {
	padding: 44px 0 38px;
	background: linear-gradient(135deg, var(--rf4-primary-dark) 0%, var(--rf4-primary) 60%, var(--rf4-primary-light) 100%);
	color: #fff;
	text-align: center;
}

.page-hero h1 {
	margin: 0 0 10px;
	font-size: 30px;
	letter-spacing: 1px;
}

.page-hero p {
	margin: 0;
	color: rgba(255, 255, 255, 0.78);
	font-size: 15px;
}

.section {
	padding: 56px 0;
}

.section--alt {
	background: #fff;
}

.section__head {
	text-align: center;
	max-width: 640px;
	margin: 0 auto 36px;
}

.section__title {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 26px;
	color: var(--rf4-primary-dark);
}

.section__title::before,
.section__title::after {
	content: "";
	width: 34px;
	height: 3px;
	border-radius: 2px;
	background: linear-gradient(90deg, var(--rf4-accent), #ffb38a);
}

.section__subtitle {
	margin: 12px 0 0;
	color: var(--rf4-text-secondary);
	font-size: 15px;
}

/* ==========================================================================
   首页 Hero
   ========================================================================== */

.hero {
	position: relative;
	overflow: hidden;
	background: linear-gradient(135deg, #0a2450 0%, #10386e 45%, #1757a8 100%);
	color: #fff;
}

.hero::after {
	content: "";
	position: absolute;
	right: -120px;
	bottom: -180px;
	width: 480px;
	height: 480px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(64, 150, 255, 0.28), transparent 65%);
	pointer-events: none;
}

.hero__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 48px;
	align-items: center;
	padding: 72px 0 64px;
}

.hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 6px 14px;
	margin-bottom: 18px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	font-size: 13px;
	color: #cfe4ff;
}

.hero__badge svg {
	width: 15px;
	height: 15px;
}

.hero h1 {
	margin: 0 0 16px;
	font-size: 40px;
	line-height: 1.25;
	letter-spacing: 1px;
}

.hero h1 em {
	font-style: normal;
	color: #ffb37e;
}

.hero__desc {
	max-width: 520px;
	margin: 0 0 28px;
	font-size: 16px;
	color: rgba(255, 255, 255, 0.82);
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-bottom: 30px;
}

.hero__stats {
	display: flex;
	gap: 36px;
}

.hero__stat strong {
	display: block;
	font-size: 24px;
	color: #ffc79b;
}

.hero__stat span {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.7);
}

.hero__panel {
	padding: 26px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.97);
	box-shadow: 0 18px 44px rgba(4, 20, 46, 0.35);
	color: var(--rf4-text);
}

.hero__panel h2 {
	margin: 0 0 4px;
	font-size: 18px;
	color: var(--rf4-primary-dark);
}

.hero__panel > p {
	margin: 0 0 16px;
	font-size: 13px;
	color: var(--rf4-muted);
}

.hero__tier-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 10px 12px;
	border-radius: var(--rf4-radius-sm);
	background: var(--rf4-bg);
}

.hero__tier-row + .hero__tier-row {
	margin-top: 8px;
}

.hero__tier-name {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	font-size: 14px;
}

.hero__tier-dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--tier-color, var(--rf4-primary));
}

.hero__tier-price {
	font-weight: 700;
	color: var(--rf4-accent);
	font-size: 14px;
	white-space: nowrap;
}

/* ==========================================================================
   账号档次卡片
   ========================================================================== */

.tier-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 18px;
}

.tier-card {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 24px 18px 20px;
	border: 1px solid var(--rf4-border);
	border-radius: var(--rf4-radius);
	background: #fff;
	box-shadow: var(--rf4-shadow);
	transition: all 0.25s ease;
	overflow: hidden;
}

.tier-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: var(--tier-color, var(--rf4-primary));
}

.tier-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--rf4-shadow-hover);
	border-color: var(--tier-color, var(--rf4-primary));
}

.tier-card__badge {
	align-self: flex-start;
	padding: 3px 12px;
	border-radius: 999px;
	background: var(--tier-color, var(--rf4-primary));
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 14px;
}

.tier-card__level {
	font-size: 14px;
	color: var(--rf4-text-secondary);
	margin-bottom: 6px;
}

.tier-card__price {
	margin-bottom: 12px;
	font-size: 22px;
	font-weight: 700;
	color: var(--rf4-accent);
}

.tier-card__desc {
	flex: 1;
	margin: 0 0 16px;
	font-size: 13px;
	line-height: 1.7;
	color: var(--rf4-muted);
}

.tier-card__link {
	font-size: 13px;
	font-weight: 600;
}

/* ==========================================================================
   账号卡片
   ========================================================================== */

.account-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}

.account-card {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--rf4-border);
	border-radius: var(--rf4-radius);
	background: #fff;
	box-shadow: var(--rf4-shadow);
	overflow: hidden;
	transition: all 0.25s ease;
}

.account-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--rf4-shadow-hover);
}

.account-card.is-sold {
	opacity: 0.85;
}

.account-card.is-sold .account-image__img,
.account-card.is-sold .account-image--placeholder {
	filter: grayscale(1);
}

.account-image {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #dfe6f2;
}

.account-image__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.account-image--placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	background:
		radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.22), transparent 55%),
		linear-gradient(140deg, var(--tier-color, #1a5fb4), #0e2c5c);
	color: #fff;
}

.account-image__tier {
	font-size: 26px;
	font-weight: 700;
	letter-spacing: 2px;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.account-image__hint {
	font-size: 12px;
	letter-spacing: 4px;
	opacity: 0.75;
}

.account-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 16px 18px 18px;
}

.account-card__title {
	margin: 0 0 8px;
	font-size: 16px;
	line-height: 1.5;
}

.account-card__title a {
	color: var(--rf4-text);
}

.account-card__title a:hover {
	color: var(--rf4-primary-light);
}

.account-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 14px;
	margin: 0 0 14px;
	padding: 0;
	list-style: none;
	font-size: 13px;
	color: var(--rf4-text-secondary);
}

.account-card__meta li {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.account-card__meta li::before {
	content: "";
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--rf4-muted);
}

.account-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: auto;
	padding-top: 14px;
	border-top: 1px dashed var(--rf4-border);
}

.account-card__price {
	font-size: 21px;
	font-weight: 700;
	color: var(--rf4-accent);
}

.account-card__price small {
	font-size: 12px;
	font-weight: 400;
	color: var(--rf4-muted);
}

/* ==========================================================================
   列表页筛选
   ========================================================================== */

.account-filter {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-bottom: 34px;
}

.account-filter__item {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 9px 20px;
	border: 1px solid var(--rf4-border);
	border-radius: 999px;
	background: #fff;
	font-size: 14px;
	font-weight: 500;
	color: var(--rf4-text-secondary);
	transition: all 0.2s ease;
}

.account-filter__item:hover {
	border-color: var(--rf4-primary-light);
	color: var(--rf4-primary);
}

.account-filter__item.is-active {
	background: linear-gradient(135deg, var(--rf4-primary-light), var(--rf4-primary));
	border-color: transparent;
	color: #fff;
}

.account-filter__count {
	padding: 1px 7px;
	border-radius: 999px;
	background: rgba(20, 68, 143, 0.1);
	font-size: 12px;
}

.account-filter__item.is-active .account-filter__count {
	background: rgba(255, 255, 255, 0.25);
}

.account-empty {
	padding: 60px 20px;
	text-align: center;
	color: var(--rf4-muted);
	background: #fff;
	border: 1px dashed var(--rf4-border);
	border-radius: var(--rf4-radius);
}

.account-empty p {
	margin: 0 0 18px;
}

/* ==========================================================================
   账号详情页
   ========================================================================== */

.breadcrumb {
	padding: 14px 0;
	font-size: 13px;
	color: var(--rf4-muted);
}

.breadcrumb a {
	color: var(--rf4-text-secondary);
}

.breadcrumb span {
	margin: 0 6px;
	color: #c3cad6;
}

.account-detail {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 24px;
	align-items: start;
	padding-bottom: 56px;
}

.detail-card {
	margin-bottom: 22px;
	border: 1px solid var(--rf4-border);
	border-radius: var(--rf4-radius);
	background: #fff;
	box-shadow: var(--rf4-shadow);
	overflow: hidden;
}

.detail-card__head {
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 15px 22px;
	border-bottom: 1px solid var(--rf4-border);
	font-size: 16px;
	font-weight: 700;
	color: var(--rf4-primary-dark);
}

.detail-card__head svg {
	width: 19px;
	height: 19px;
	color: var(--rf4-primary-light);
}

.detail-card__body {
	padding: 22px;
}

.detail-gallery {
	border-radius: var(--rf4-radius);
	overflow: hidden;
	box-shadow: var(--rf4-shadow);
}

.detail-gallery .account-image {
	aspect-ratio: 16 / 9;
}

.detail-gallery .account-image__tier {
	font-size: 40px;
}

.detail-info-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.detail-info-table th,
.detail-info-table td {
	padding: 12px 14px;
	border: 1px solid var(--rf4-border);
	text-align: left;
	vertical-align: top;
}

.detail-info-table th {
	width: 130px;
	background: var(--rf4-bg);
	font-weight: 600;
	color: var(--rf4-text-secondary);
	white-space: nowrap;
}

.detail-info-table td {
	color: var(--rf4-text);
}

.status-pill {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 3px 12px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
}

.status-pill--onsale {
	background: rgba(22, 163, 74, 0.12);
	color: var(--rf4-green-dark);
}

.status-pill--sold {
	background: rgba(107, 114, 128, 0.14);
	color: #4b5563;
}

.status-pill--reserved {
	background: rgba(180, 83, 9, 0.12);
	color: #b45309;
}

.detail-content {
	font-size: 14.5px;
	line-height: 1.9;
}

.detail-content h2,
.detail-content h3 {
	margin-top: 1.2em;
	color: var(--rf4-primary-dark);
}

.detail-content ul {
	padding-left: 1.2em;
}

.detail-content li {
	margin-bottom: 0.35em;
}

/* 侧边购买卡 */

.buy-card {
	position: sticky;
	top: 90px;
	border: 1px solid var(--rf4-border);
	border-radius: var(--rf4-radius);
	background: #fff;
	box-shadow: var(--rf4-shadow-hover);
	overflow: hidden;
}

.buy-card__head {
	padding: 20px 22px 16px;
	background: linear-gradient(135deg, #fff7f0, #ffefe2);
	border-bottom: 1px dashed #ffd3b3;
}

.buy-card__tier {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 3px 12px;
	border-radius: 999px;
	background: var(--tier-color, var(--rf4-primary));
	color: #fff;
	font-size: 12.5px;
	font-weight: 600;
	margin-bottom: 10px;
}

.buy-card__price {
	display: flex;
	align-items: baseline;
	gap: 8px;
	font-size: 32px;
	font-weight: 800;
	color: var(--rf4-accent);
	line-height: 1.1;
}

.buy-card__price small {
	font-size: 13px;
	font-weight: 400;
	color: var(--rf4-muted);
}

.buy-card__attrs {
	margin: 0;
	padding: 16px 22px;
	list-style: none;
	font-size: 13.5px;
}

.buy-card__attrs li {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 7px 0;
	border-bottom: 1px dashed var(--rf4-border);
}

.buy-card__attrs li:last-child {
	border-bottom: 0;
}

.buy-card__attrs span {
	color: var(--rf4-muted);
}

.buy-card__attrs strong {
	font-weight: 600;
	text-align: right;
}

.buy-card__action {
	padding: 0 22px 20px;
}

.buy-card__note {
	margin: 10px 0 0;
	font-size: 12px;
	line-height: 1.7;
	color: var(--rf4-muted);
	text-align: center;
}

.buy-card__guarantees {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	padding: 0 22px 20px;
}

.buy-card__guarantees span {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 4px 10px;
	border-radius: 4px;
	background: rgba(22, 163, 74, 0.1);
	color: var(--rf4-green-dark);
	font-size: 12px;
	font-weight: 500;
}

.buy-card__guarantees svg {
	width: 12px;
	height: 12px;
}

/* 保障区块 */

.guarantee-group {
	margin-bottom: 22px;
}

.guarantee-group:last-child {
	margin-bottom: 0;
}

.guarantee-group__title {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 14px;
	padding: 6px 16px;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 700;
	color: #fff;
	background: linear-gradient(135deg, var(--rf4-primary-light), var(--rf4-primary));
}

.guarantee-group--trade .guarantee-group__title {
	background: linear-gradient(135deg, #22b86b, var(--rf4-green));
}

.guarantee-group--after .guarantee-group__title {
	background: linear-gradient(135deg, #ff7a2f, var(--rf4-accent));
}

.guarantee-list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.guarantee-list li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 11px 16px;
	border: 1px solid var(--rf4-border);
	border-radius: var(--rf4-radius-sm);
	background: var(--rf4-bg);
	font-size: 14px;
}

.guarantee-list__label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--rf4-text);
}

.guarantee-list__label svg {
	width: 16px;
	height: 16px;
	color: var(--rf4-primary-light);
	flex-shrink: 0;
}

.guarantee-list__value {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-weight: 600;
	color: var(--rf4-green-dark);
	white-space: nowrap;
}

.guarantee-list__value svg {
	width: 14px;
	height: 14px;
}

.guarantee-note {
	margin: 18px 0 0;
	padding: 14px 18px;
	border-left: 3px solid var(--rf4-accent);
	border-radius: 0 var(--rf4-radius-sm) var(--rf4-radius-sm) 0;
	background: #fff7f0;
	font-size: 13px;
	line-height: 1.8;
	color: #8a4b1f;
}

/* 购买流程步骤 */

.steps-flow {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 14px;
	counter-reset: step;
}

.step-item {
	position: relative;
	padding: 22px 16px 18px;
	border: 1px solid var(--rf4-border);
	border-radius: var(--rf4-radius);
	background: #fff;
	text-align: center;
}

.step-item__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	margin-bottom: 12px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--rf4-primary-light), var(--rf4-primary));
	color: #fff;
	font-size: 17px;
	font-weight: 700;
}

.step-item h3 {
	margin: 0 0 6px;
	font-size: 15px;
	color: var(--rf4-primary-dark);
}

.step-item p {
	margin: 0;
	font-size: 12.5px;
	line-height: 1.7;
	color: var(--rf4-muted);
}

.steps-flow .step-item:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 40px;
	right: -11px;
	width: 12px;
	height: 12px;
	border-top: 2px solid #c3d2ea;
	border-right: 2px solid #c3d2ea;
	transform: rotate(45deg);
}

/* 优势区块 */

.advantage-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.advantage-item {
	display: flex;
	gap: 16px;
	padding: 24px 22px;
	border: 1px solid var(--rf4-border);
	border-radius: var(--rf4-radius);
	background: #fff;
	box-shadow: var(--rf4-shadow);
	transition: all 0.25s ease;
}

.advantage-item:hover {
	transform: translateY(-3px);
	box-shadow: var(--rf4-shadow-hover);
}

.advantage-item__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: linear-gradient(135deg, rgba(26, 95, 180, 0.12), rgba(20, 68, 143, 0.12));
	color: var(--rf4-primary);
}

.advantage-item__icon svg {
	width: 25px;
	height: 25px;
}

.advantage-item h3 {
	margin: 0 0 6px;
	font-size: 16px;
	color: var(--rf4-primary-dark);
}

.advantage-item p {
	margin: 0;
	font-size: 13.5px;
	line-height: 1.7;
	color: var(--rf4-text-secondary);
}

/* CTA 横幅 */

.cta-band {
	padding: 52px 0;
	background: linear-gradient(135deg, #0a2450, #1757a8);
	color: #fff;
	text-align: center;
}

.cta-band h2 {
	margin: 0 0 10px;
	font-size: 27px;
}

.cta-band p {
	margin: 0 0 26px;
	color: rgba(255, 255, 255, 0.78);
}

.cta-band__actions {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 14px;
}

/* ==========================================================================
   普通页面 / 文章
   ========================================================================== */

.page-content {
	padding: 40px 0 64px;
}

.page-card {
	padding: 40px 44px;
	border: 1px solid var(--rf4-border);
	border-radius: var(--rf4-radius);
	background: #fff;
	box-shadow: var(--rf4-shadow);
}

.prose h2 {
	margin-top: 1.6em;
	padding-left: 12px;
	border-left: 4px solid var(--rf4-primary-light);
	font-size: 21px;
	color: var(--rf4-primary-dark);
}

.prose h3 {
	margin-top: 1.3em;
	font-size: 17px;
	color: var(--rf4-primary-dark);
}

.prose p,
.prose li {
	line-height: 1.9;
	color: var(--rf4-text);
}

.prose strong {
	color: var(--rf4-primary-dark);
}

.steps-list {
	padding-left: 1.4em;
}

.steps-list li {
	margin-bottom: 0.6em;
}

/* 联系页 */

.contact-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	margin-bottom: 36px;
}

.contact-card {
	display: flex;
	gap: 16px;
	padding: 26px;
	border: 1px solid var(--rf4-border);
	border-radius: var(--rf4-radius);
	background: #fff;
	box-shadow: var(--rf4-shadow);
}

.contact-card__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 52px;
	height: 52px;
	border-radius: 12px;
	background: linear-gradient(135deg, var(--rf4-primary-light), var(--rf4-primary));
	color: #fff;
}

.contact-card__icon svg {
	width: 26px;
	height: 26px;
}

.contact-card h3 {
	margin: 0 0 4px;
	font-size: 16px;
	color: var(--rf4-primary-dark);
}

.contact-card__value {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 6px;
	font-size: 19px;
	font-weight: 700;
	color: var(--rf4-accent);
	word-break: break-all;
}

.contact-card__copy {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 4px 12px;
	border: 1px solid var(--rf4-border);
	border-radius: 999px;
	background: #fff;
	font-size: 12px;
	color: var(--rf4-text-secondary);
	cursor: pointer;
	transition: all 0.2s ease;
}

.contact-card__copy:hover {
	border-color: var(--rf4-primary-light);
	color: var(--rf4-primary);
}

.contact-card__copy svg {
	width: 13px;
	height: 13px;
}

.contact-card p {
	margin: 0;
	font-size: 13px;
	color: var(--rf4-muted);
}

/* ==========================================================================
   分页 / 404
   ========================================================================== */

.rf4-searchform {
	display: flex;
	gap: 8px;
	max-width: 420px;
}

.rf4-searchform input {
	flex: 1;
	min-width: 0;
	padding: 10px 14px;
	border: 1px solid var(--rf4-border);
	border-radius: var(--rf4-radius-sm);
	font-family: var(--rf4-font);
	font-size: 14px;
}

.rf4-searchform input:focus {
	outline: none;
	border-color: var(--rf4-primary-light);
}

.rf4-pagination {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 40px;
}

.rf4-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid var(--rf4-border);
	border-radius: var(--rf4-radius-sm);
	background: #fff;
	font-size: 14px;
	color: var(--rf4-text-secondary);
}

.rf4-pagination .page-numbers:hover {
	border-color: var(--rf4-primary-light);
	color: var(--rf4-primary);
}

.rf4-pagination .page-numbers.current {
	background: var(--rf4-primary);
	border-color: var(--rf4-primary);
	color: #fff;
}

.error-404 {
	padding: 90px 0;
	text-align: center;
}

.error-404__code {
	font-size: 74px;
	font-weight: 800;
	line-height: 1;
	background: linear-gradient(135deg, var(--rf4-primary-light), var(--rf4-primary-dark));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.error-404 p {
	margin: 14px 0 26px;
	color: var(--rf4-text-secondary);
}

.error-404__actions {
	display: flex;
	justify-content: center;
	gap: 12px;
}

/* ==========================================================================
   页脚
   ========================================================================== */

.rf4-footer {
	background: #0e2a52;
	color: rgba(255, 255, 255, 0.72);
}

.rf4-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 36px;
	padding: 48px 0 36px;
}

.rf4-footer__title {
	margin: 0 0 16px;
	font-size: 15px;
	color: #fff;
	letter-spacing: 1px;
}

.rf4-footer__col p {
	font-size: 13px;
	line-height: 1.9;
}

.rf4-footer__links {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 13px;
}

.rf4-footer__links li + li {
	margin-top: 9px;
}

.rf4-footer__links a,
.rf4-footer__links li {
	display: flex;
	flex-direction: column;
	gap: 2px;
	color: rgba(255, 255, 255, 0.72);
}

.rf4-footer__links a span {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.45);
}

.rf4-footer__links a:hover {
	color: #9fd0ff;
}

.rf4-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	padding: 18px 0;
	font-size: 12.5px;
	text-align: center;
}

.rf4-footer__bottom p {
	margin: 0 0 4px;
}

.rf4-footer__bottom a {
	color: rgba(255, 255, 255, 0.72);
	text-decoration: none;
}

.rf4-footer__bottom a:hover {
	color: #9fd0ff;
}

.rf4-footer__disclaimer {
	color: rgba(255, 255, 255, 0.42);
}

/* ==========================================================================
   响应式
   ========================================================================== */

@media (max-width: 1080px) {
	.tier-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.account-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.steps-flow {
		grid-template-columns: repeat(3, 1fr);
	}

	.steps-flow .step-item:nth-child(3)::after {
		display: none;
	}
}

@media (max-width: 960px) {
	.hero__inner {
		grid-template-columns: 1fr;
		gap: 36px;
		padding: 52px 0 48px;
	}

	.hero h1 {
		font-size: 32px;
	}

	.account-detail {
		grid-template-columns: 1fr;
	}

	.buy-card {
		position: static;
	}

	.rf4-footer__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 720px) {
	.rf4-header__inner {
		min-height: 58px;
		gap: 14px;
	}

	.rf4-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		display: none;
		padding: 12px 20px 18px;
		background: #fff;
		border-bottom: 1px solid var(--rf4-border);
		box-shadow: var(--rf4-shadow-hover);
	}

	.rf4-nav.is-open {
		display: block;
	}

	.rf4-nav__list {
		flex-direction: column;
		align-items: stretch;
		gap: 2px;
	}

	.rf4-nav-toggle {
		display: inline-flex;
	}

	.rf4-header__cta {
		display: none;
	}

	.tier-grid,
	.account-grid,
	.advantage-grid,
	.steps-flow,
	.contact-grid,
	.guarantee-list {
		grid-template-columns: 1fr;
	}

	.steps-flow .step-item::after {
		display: none !important;
	}

	.hero__stats {
		gap: 22px;
	}

	.section {
		padding: 40px 0;
	}

	.page-card {
		padding: 26px 22px;
	}

	.page-hero h1 {
		font-size: 24px;
	}

	.detail-info-table th {
		width: 100px;
	}
}
