/* =========================================================
   Help Center · #FF6633 · Electronics / Office / Living
   ========================================================= */

:root {
	--hc-accent: #FF6633;
	--hc-accent-deep: #E54D1A;
	--hc-accent-soft: #FF8A5C;
	--hc-accent-mist: rgba(255, 102, 51, 0.12);
	--hc-ink: #1C1410;
	--hc-ink-soft: #5C5048;
	--hc-paper: #FFF8F4;
	--hc-night: #120E0C;
	--hc-font: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
	--hc-display: 'Syne', 'Noto Sans SC', sans-serif;
}

.hc {
	position: relative;
	margin: 0;
	padding: 0 0 56px;
	font-family: var(--hc-font);
	font-size: 14px;
	color: var(--hc-ink);
	background: #F7F0EB;
	overflow: hidden;
}

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

.hc a {
	text-decoration: none;
	color: inherit;
	transition: color .25s ease, background .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

/* ---------- Hero ---------- */
.hc-hero {
	position: relative;
	isolation: isolate;
	padding: 56px 20px 64px;
	color: #F7EDE7;
	text-align: center;
	overflow: hidden;
}

.hc-hero__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	overflow: hidden;
}

.hc-hero__wash {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(100% 80% at 15% 20%, rgba(255, 102, 51, 0.3), transparent 55%),
		radial-gradient(80% 70% at 90% 80%, rgba(229, 77, 26, 0.18), transparent 50%),
		linear-gradient(165deg, #1A120F 0%, #0E0B09 50%, #18110D 100%);
}

.hc-hero__grid {
	position: absolute;
	inset: -10%;
	opacity: .18;
	background-image:
		linear-gradient(rgba(255, 102, 51, 0.1) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 102, 51, 0.1) 1px, transparent 1px);
	background-size: 48px 48px;
	transform: perspective(700px) rotateX(55deg) translateY(-6%);
	transform-origin: center top;
	mask-image: radial-gradient(ellipse at 50% 20%, #000 20%, transparent 70%);
	-webkit-mask-image: radial-gradient(ellipse at 50% 20%, #000 20%, transparent 70%);
}

.hc-hero__glow {
	position: absolute;
	border-radius: 50%;
	filter: blur(42px);
	animation: hc-breathe 8s ease-in-out infinite;
}

.hc-hero__glow--a {
	width: 360px; height: 360px;
	left: -80px; top: -50px;
	background: radial-gradient(circle, rgba(255, 102, 51, 0.5), transparent 70%);
}

.hc-hero__glow--b {
	width: 280px; height: 280px;
	right: -40px; bottom: -40px;
	background: radial-gradient(circle, rgba(255, 138, 92, 0.3), transparent 70%);
	animation-delay: -3s;
}

@keyframes hc-breathe {
	0%, 100% { transform: scale(1); opacity: .5; }
	50% { transform: scale(1.1); opacity: .75; }
}

.hc-float {
	position: absolute;
	color: rgba(255, 180, 140, 0.32);
	animation: hc-float 9s ease-in-out infinite;
}

.hc-float--1 { width: 78px; top: 18%; left: 8%; }
.hc-float--2 { width: 48px; top: 24%; right: 10%; color: rgba(255, 102, 51, 0.38); animation-delay: -2s; }
.hc-float--3 { width: 64px; bottom: 16%; left: 18%; animation-delay: -4s; }

@keyframes hc-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-12px); }
}

.hc-dot {
	position: absolute;
	width: 6px; height: 6px;
	border-radius: 50%;
	background: var(--hc-accent);
	box-shadow: 0 0 12px rgba(255, 102, 51, 0.8);
	animation: hc-twinkle 3.4s ease-in-out infinite;
}

.hc-dot--1 { top: 30%; left: 30%; }
.hc-dot--2 { top: 58%; right: 28%; animation-delay: -1.5s; }

@keyframes hc-twinkle {
	0%, 100% { opacity: .35; transform: scale(.8); }
	50% { opacity: 1; transform: scale(1.25); }
}

.hc-hero__inner {
	position: relative;
	z-index: 2;
	width: min(720px, 100%);
	margin: 0 auto;
	animation: hc-rise .8s ease both;
}

.hc-hero__eyebrow {
	margin: 0 0 14px;
	font-family: var(--hc-display);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .22em;
	color: var(--hc-accent-soft);
}

.hc-hero__title {
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
	line-height: 1.05;
}

.hc-hero__brand {
	font-family: var(--hc-display);
	font-weight: 800;
	font-size: clamp(2.2rem, 5vw, 3.4rem);
	letter-spacing: -.02em;
	color: #FFF7F2;
	text-shadow: 0 12px 40px rgba(255, 102, 51, 0.25);
}

.hc-hero__line {
	font-size: clamp(1.2rem, 2.6vw, 1.65rem);
	font-weight: 600;
	letter-spacing: .14em;
	color: var(--hc-accent);
}

.hc-hero__desc {
	margin: 18px auto 0;
	max-width: 42ch;
	font-size: 14px;
	line-height: 1.75;
	color: rgba(247, 230, 220, 0.6);
}

.hc-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 6px;
	margin-top: 22px;
	font-size: 12px;
	color: rgba(255, 230, 216, 0.45);
}

.hc-breadcrumb a:hover { color: var(--hc-accent-soft); }
.hc-breadcrumb__sep { opacity: .5; }
.hc-breadcrumb__current { color: #FFE8DC; }

@keyframes hc-rise {
	from { opacity: 0; transform: translateY(16px); }
	to { opacity: 1; transform: translateY(0); }
}

/* ---------- Shell ---------- */
.hc-shell {
	width: min(1120px, calc(100% - 32px));
	margin: -28px auto 0;
	position: relative;
	z-index: 3;
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 20px;
	align-items: start;
	animation: hc-rise .9s .08s ease both;
}

/* ---------- Side nav ---------- */
.hc-side {
	position: sticky;
	top: 16px;
	padding: 20px 14px;
	border-radius: 22px;
	background:
		radial-gradient(90% 80% at 0% 0%, rgba(255, 102, 51, 0.2), transparent 55%),
		linear-gradient(165deg, #1A120F 0%, #120E0C 100%);
	border: 1px solid rgba(255, 180, 140, 0.2);
	box-shadow: 0 20px 48px rgba(18, 14, 12, 0.22);
	color: #F7EDE7;
	max-height: calc(100vh - 32px);
	overflow: auto;
}

.hc-side__head {
	padding: 4px 10px 16px;
	border-bottom: 1px solid rgba(255, 180, 140, 0.12);
	margin-bottom: 12px;
}

.hc-side__tag {
	display: block;
	font-family: var(--hc-display);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .18em;
	color: var(--hc-accent-soft);
	margin-bottom: 6px;
}

.hc-side__head h2 {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	color: #FFF4EE;
}

.hc-nav {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.hc-nav-group { border-radius: 12px; }

.hc-nav-cat {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 10px;
	border: 0;
	border-radius: 12px;
	background: transparent;
	color: rgba(255, 230, 216, 0.72);
	font-family: var(--hc-font);
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	text-align: left;
	transition: background .25s ease, color .25s ease;
}

.hc-nav-cat:hover {
	background: rgba(255, 102, 51, 0.1);
	color: #FFE8DC;
}

.hc-nav-group.is-expanded .hc-nav-cat {
	background: rgba(255, 102, 51, 0.16);
	color: #fff;
}

.hc-nav-cat__mark {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: rgba(255, 180, 140, 0.35);
	flex-shrink: 0;
	box-shadow: 0 0 0 3px rgba(255, 102, 51, 0.08);
}

.hc-nav-group.is-expanded .hc-nav-cat__mark {
	background: var(--hc-accent);
	box-shadow: 0 0 0 4px rgba(255, 102, 51, 0.22);
}

.hc-nav-cat__text { flex: 1; min-width: 0; }

.hc-nav-cat__arrow {
	width: 8px;
	height: 8px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	opacity: .55;
	transition: transform .25s ease;
	flex-shrink: 0;
	margin-top: -4px;
}

.hc-nav-group.is-expanded .hc-nav-cat__arrow {
	transform: rotate(-135deg);
	margin-top: 2px;
}

.hc-nav-links {
	display: none;
	flex-direction: column;
	gap: 2px;
	padding: 0 4px 10px 18px;
}

.hc-nav-group.is-expanded .hc-nav-links { display: flex; }
.hc-nav-group.is-collapsed .hc-nav-links { display: none; }

.hc-nav-link {
	display: block;
	padding: 9px 12px;
	border-radius: 10px;
	font-size: 13px;
	line-height: 1.4;
	color: rgba(255, 230, 216, 0.5);
	border: 1px solid transparent;
}

.hc-nav-link:hover {
	color: #FFE8DC;
	background: rgba(255, 255, 255, 0.04);
}

.hc-nav-link.is-active {
	color: #fff;
	background: linear-gradient(135deg, rgba(255, 102, 51, 0.35), rgba(229, 77, 26, 0.22));
	border-color: rgba(255, 102, 51, 0.28);
	box-shadow: inset 3px 0 0 var(--hc-accent);
}

/* ---------- Main panel ---------- */
.hc-main {
	min-width: 0;
	border-radius: 22px;
	background: #fff;
	border: 1px solid rgba(255, 102, 51, 0.14);
	box-shadow: 0 18px 48px rgba(28, 20, 16, 0.06);
	overflow: hidden;
}

.hc-article__head {
	padding: 28px 32px 20px;
	border-bottom: 1px solid rgba(28, 20, 16, 0.08);
	background:
		linear-gradient(180deg, #FFF9F6 0%, #fff 100%);
	position: relative;
}

.hc-article__head::before {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--hc-accent), var(--hc-accent-deep), #FF8A5C);
}

.hc-article__label {
	display: block;
	font-family: var(--hc-display);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .18em;
	color: var(--hc-accent);
	margin-bottom: 8px;
}

.hc-article__head h1 {
	margin: 0;
	font-size: clamp(1.35rem, 2.5vw, 1.75rem);
	font-weight: 700;
	color: var(--hc-ink);
	line-height: 1.35;
}

.hc-article__body {
	padding: 28px 32px;
	color: var(--hc-ink-soft);
	line-height: 1.85;
	font-size: 14px;
}

.hc-article__body img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
}

.hc-article__body h1,
.hc-article__body h2,
.hc-article__body h3,
.hc-article__body h4 {
	color: var(--hc-ink);
	margin: 1.1em 0 0.5em;
	line-height: 1.4;
}

.hc-article__body a { color: var(--hc-accent-deep); }
.hc-article__body a:hover { text-decoration: underline; }

.hc-article__body p { margin: 0 0 1em; }
.hc-article__body ul,
.hc-article__body ol { padding-left: 1.4em; margin: 0 0 1em; }

.hc-article__body table {
	width: 100%;
	border-collapse: collapse;
	margin: 1em 0;
}

.hc-article__body table th,
.hc-article__body table td {
	border: 1px solid rgba(28, 20, 16, 0.1);
	padding: 8px 12px;
}

/* ---------- Feedback ---------- */
.hc-feedback {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 24px;
	margin: 0 24px 24px;
	padding: 20px 22px;
	border-radius: 16px;
	background:
		radial-gradient(80% 120% at 100% 50%, rgba(255, 102, 51, 0.1), transparent 55%),
		linear-gradient(120deg, #1A120F, #120E0C);
	color: #FFF4EE;
}

.hc-feedback__text {
	margin: 0 0 4px;
	font-size: 15px;
	font-weight: 600;
}

.hc-feedback__hint {
	margin: 0;
	font-size: 12px;
	color: rgba(247, 230, 220, 0.5);
}

.hc-feedback__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.hc-btn {
	appearance: none;
	border: 0;
	cursor: pointer;
	height: 42px;
	padding: 0 18px;
	border-radius: 12px;
	font-family: var(--hc-font);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .04em;
	transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}

.hc-btn--yes {
	color: #fff;
	background: linear-gradient(135deg, #FF7A4D, var(--hc-accent-deep));
	box-shadow: 0 10px 24px rgba(255, 102, 51, 0.35);
}

.hc-btn--yes:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 28px rgba(255, 102, 51, 0.45);
}

.hc-btn--no {
	color: #FFE8DC;
	background: transparent;
	border: 1px solid rgba(255, 180, 140, 0.4);
}

.hc-btn--no:hover {
	background: rgba(255, 102, 51, 0.14);
	color: #fff;
}

.hc-feedback__result {
	flex-basis: 100%;
	display: none;
	font-size: 14px;
	color: var(--hc-accent-soft);
	font-weight: 600;
}

.hc-feedback.is-done .hc-feedback__actions,
.hc-feedback.is-done .hc-feedback__copy { display: none; }

.hc-feedback.is-done .hc-feedback__result {
	display: block;
	text-align: center;
	padding: 4px 0;
}

/* ---------- Welcome ---------- */
.hc-welcome {
	padding: 36px 32px 40px;
}

.hc-welcome__tag {
	display: inline-block;
	font-family: var(--hc-display);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .18em;
	color: var(--hc-accent);
	margin-bottom: 10px;
}

.hc-welcome__intro h2 {
	margin: 0 0 10px;
	font-size: 1.55rem;
	font-weight: 700;
	color: var(--hc-ink);
}

.hc-welcome__intro p {
	margin: 0 0 28px;
	max-width: 46ch;
	font-size: 14px;
	line-height: 1.75;
	color: var(--hc-ink-soft);
}

.hc-welcome__cards {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
}

.hc-welcome__cards li {
	padding: 20px 18px;
	border-radius: 16px;
	background: linear-gradient(180deg, #FFF9F6, #fff);
	border: 1px solid rgba(255, 102, 51, 0.14);
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.hc-welcome__cards li:hover {
	transform: translateY(-3px);
	border-color: rgba(255, 102, 51, 0.32);
	box-shadow: 0 14px 32px rgba(28, 20, 16, 0.07);
}

.hc-welcome__ico {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	margin-bottom: 12px;
	border-radius: 12px;
	color: var(--hc-accent-deep);
	background: linear-gradient(145deg, rgba(255, 102, 51, 0.2), rgba(255, 102, 51, 0.06));
}

.hc-welcome__ico svg { width: 20px; height: 20px; }

.hc-welcome__cards strong {
	display: block;
	font-size: 15px;
	font-weight: 700;
	color: var(--hc-ink);
	margin-bottom: 6px;
}

.hc-welcome__cards em {
	display: block;
	font-style: normal;
	font-size: 12px;
	line-height: 1.55;
	color: var(--hc-ink-soft);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
	.hc-shell {
		grid-template-columns: 1fr;
		margin-top: -20px;
	}

	.hc-side {
		position: static;
		max-height: none;
	}

	.hc-welcome__cards {
		grid-template-columns: 1fr;
	}

	.hc-article__head,
	.hc-article__body,
	.hc-welcome {
		padding-left: 20px;
		padding-right: 20px;
	}

	.hc-feedback {
		margin: 0 16px 16px;
		flex-direction: column;
		align-items: stretch;
		text-align: center;
	}

	.hc-feedback__actions { justify-content: center; }
}

@media (max-width: 560px) {
	.hc-hero { padding: 40px 16px 48px; }
	.hc-float--3 { display: none; }
	.hc-shell { width: calc(100% - 20px); }
	.hc-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	.hc *,
	.hc *::before,
	.hc *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}
