@import './theme.css';
@import './reset.css';
@import './anime.css';


@import './components/header.css';
@import './components/mobile.css';





.hero,
.page-hero {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	color: var(--atom-text);
}


.page-hero h1 {
	margin: 0;
	max-width: 11ch;
	font-size: clamp(2.4rem, 5vw, 2.8rem);
	line-height: 1.08;
	letter-spacing: -0.045em;
}


.thumb {
	position: absolute;
	width: 180px;
	border-radius: var(--atom-radius-sm);
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: rgba(255, 255, 255, 0.06);
	box-shadow: 0 30px 60px rgba(0, 0, 0, 0.22);
}

.thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	aspect-ratio: 16 / 10;
}


.play {
	position: absolute;
	top: 122px;
	left: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 118px;
	height: 118px;
	margin-left: -59px;
	border-radius: var(--atom-radius-full);
	background: var(--atom-surface);
	color: #111427;
	font-size: 2.2rem;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.section {
	padding: 5.6rem 0;
	background: var(--atom-surface);
}

.section:nth-child(odd) {
	background-color: var(--atom-bg-card);
}

.section-head {
	margin: 0 auto 2.5rem;
	max-width: 760px;
}

.section-head.center {
	text-align: center;
}

.section-head p {
	margin-top: 0.5rem;
}

/* .copy h2,
.library-plan-offer h2,
.section-head h2,

.contact-panel h2 {
	margin: 0;
	font-size: clamp(2rem, 3vw, 3rem);
	line-height: 1.15;
	letter-spacing: -0.03em;
	font-weight: normal;
} */

.section-head p,
.copy p,
.library-plan-offer p,
.section p,
.card p,
.contact-panel p {
	color: var(--atom-text-soft);
}

.builder .inner {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
	gap: 2rem;
	align-items: start;
}

.list,
.mini-list,
.contact-list,
.library-plan-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.list {
	display: grid;
	gap: 0.65rem;
	margin: 1.25rem 0 1.6rem;
}

.list li,
.library-plan-list li {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	color: var(--atom-text-soft);
	font-size: 0.92rem;
}

.list i,
.library-plan-list i {
	margin-top: 0.28rem;
	color: var(--atom-primary);
}



.tile,
.item,
.card,
.testimonial,
.library-plan-offer,
.library-plan-details {
	border: 1px solid var(--atom-border);
	border-radius: var(--atom-radius-md);
	background: var(--atom-surface);
	box-shadow: var(--atom-shadow);
}

.tile {
	padding: 1.4rem;
}

.tile i,
.item i {
	color: var(--atom-primary);
	font-size: 2.5rem;
}

.tile h3,
.item h3,
.card h3,
.card h3,
.case-card h2,
.case-card h3,
.library-plan-details h3 {
	margin: 0.9rem 0 0.5rem;
	font-size: 1.1rem;
	line-height: 1.3;
	letter-spacing: -0.02em;
}


.item {
	padding: 1rem;
	border: 0;
	box-shadow: none;
	background: var(--atom-bg-card);
}

.showcase .inner {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: 2rem;
	align-items: start;
	min-height: 420px;
}


.card {
	overflow: hidden;
	padding: 0;
}

.card img {
	width: 100%;
	aspect-ratio: 16 / 12;
	object-fit: cover;
	background: var(--atom-surface-soft);
}

.card div {
	padding: 1rem;
}

.card span {
	display: inline-block;
	margin-bottom: 0.5rem;
	padding: 0.28rem 0.55rem;
	border-radius: var(--atom-radius-full);
	background: var(--atom-primary-soft);
	color: var(--atom-primary-dark);
	font-size: 0.72rem;
	font-weight: 700;
}


.testimonials-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.4rem;
}

.testimonial {
	padding: 1.5rem;
}

.testimonial-stars {
	color: #f5a623;
	font-size: 0.82rem;
	letter-spacing: 0.22em;
}

.testimonial>p {
	display: block;
	height: 3rem;
}

.testimonial-author {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-top: 1rem;
}

.testimonial-author img {
	width: 34px;
	height: 34px;
	border-radius: var(--atom-radius-full);
	background: linear-gradient(135deg, #dce5f8, #f6f8fd);
}

.testimonial-author strong {
	display: block;
	font-size: 0.9rem;
}

.testimonial-author small {
	display: block;
	color: var(--atom-text-soft);
	font-size: 0.74rem;
}

/* FOOTER AREA */
.footer-strip {
	background: var(--atom-primary);
}

.footer-strip .inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.5rem 0;
}

.footer-strip .inner h3 {
	color: var(--atom-white);
}

#footer {
	padding: 3.2rem 0 2rem;
	background: var(--atom-surface);
	border-top: 1px solid var(--atom-border);
	color: var(--atom-text);
}

.footer-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
}

.footer-brand img {
	width: 40px;
	height: 40px;
	margin-bottom: 0.8rem;
}

.footer h3,
.footer h4 {
	margin: 0 0 0.8rem;
	color: var(--atom-text);
	font-size: 0.88rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.footer ul {
	display: grid;
	gap: 0.5rem;
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer a {
	color: var(--atom-text-soft);
	transition: color 0.2s ease;
}

.footer a:hover {
	color: var(--atom-primary);
}

.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.8rem;
	margin-top: 2rem;
	padding-top: 1rem;
	border-top: 1px solid var(--atom-border);
	font-size: 0.76rem;
	color: var(--atom-text-soft);
}

.footer--stack {
	padding-top: 2.6rem;
}

.footer-top {
	display: flex;
	justify-content: center;
	padding-bottom: 1.6rem;
	border-bottom: 1px solid var(--atom-border);
}

.footer-logo {
	width: 14rem;
	height: auto;
}

.footer-columns {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 2rem;
	margin-top: 2rem;
}

.footer-col p {
	font-size: 0.78rem;
	color: var(--atom-text-soft);
	margin: 0 0 1rem;
}

.footer-col a.is-disabled {
	opacity: 0.5;
	pointer-events: none;
}

.subscribe {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.35rem 0;
	margin-bottom: 1rem;
}

.subscribe input {
	flex: 1;
	background: transparent;
	border: none;
	color: var(--atom-text);
	font-size: 0.78rem;
}

.subscribe button {
	border: none;
	background: #e54646;
	color: var(--atom-white);
	width: 34px;
	height: 34px;
	border-radius: var(--atom-radius-full);
	cursor: pointer;
}

.footer-icons {
	display: flex;
	align-items: center;
	gap: 0.7rem;
}

.footer-icons a,
.footer-icons span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 6px;
	background: var(--atom-primary-soft);
	color: var(--atom-primary);
	transition: background 0.2s ease, color 0.2s ease;
	text-decoration: none;
}

.footer-icons a:hover {
	background: var(--atom-primary);
	color: var(--atom-white);
}

.toast {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: rgba(17, 17, 17, 0.95);
	color: var(--atom-white);
	padding: 0.8rem 1.4rem;
	border-radius: var(--atom-radius-full);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease;
	z-index: 9999;
	font-size: 0.85rem;
}

.toast.is-visible {
	opacity: 1;
}

.toast.is-error {
	background: rgba(204, 48, 48, 0.95);
}

/* IDEA Capture */
.idea {
	padding: 4.5rem 0;
}

.idea-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	gap: 2.5rem;
	align-items: start;
}

.idea-copy h2 {
	margin: 0.6rem 0 1rem;
}

.idea-form {
	display: grid;
	gap: 1rem;
	padding: 1.6rem;
	border-radius: var(--atom-radius-md);
}

.idea-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}


.form-field {
	display: grid;
	gap: 0.4rem;
	line-height: normal;
}

.form-field.required span::after {
	content: '*';
	margin-left: 0.2rem;
	color: #e54646;
	font-size: 0.88rem;
	vertical-align: sub;
}

.form-field span {
	font-size: 0.78rem;
	color: #4a4a55;
}

.form-field input,
.form-field textarea {
	width: 100%;
	border: 1px solid var(--atom-border);
	border-radius: 6px;
	padding: 0.7rem 0.8rem;
	font-size: 0.9rem;
	background: var(--atom-surface);
	outline: 0.5px solid transparent;
	transition: outline-color 0.2s ease-out;
}

.form-field input:focus,
.form-field input:focus-visible,
.form-field textarea:focus,
.form-field textarea:focus-visible {
	outline-color: var(--atom-primary);
}

.form-field textarea {
	resize: vertical;
}

.idea-form button {
	position: relative;
	color: white;
	background: transparent;
	/* 背景交给伪元素 */
	border: none;
	padding: 12px 24px;
	font-size: 1rem;
	z-index: 0;
	/* 确保文字在顶层 */
}

.idea-form button::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	border-radius: inherit;
	background: linear-gradient(135deg, #00d4ff, #7b2ffc);
	transition: opacity 0.3s ease;
}

.idea-form button:hover::before {
	opacity: 0;
	/* 隐藏原渐变 */
}

.idea-form button::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	border-radius: inherit;
	background: linear-gradient(-135deg, #00d4ff, #7b2ffc);
	opacity: 0;
	/* 默认隐藏 */
	transition: opacity 0.3s ease;
}

.idea-form button:hover::after {
	opacity: 1;
	/* 显示反向渐变 */
}

/* IDEA Capture END */


.services .page-hero .container {
	text-align: center;
}

.services .page-hero .lead {
	margin-left: auto;
	margin-right: auto;
}

.services .section>.container {
	width: min(1080px, calc(100% - 2rem));
}

.page-hero {
	padding: 4.2rem 0 3.2rem;
	background-color: var(--atom-bg-soft);
}

.page-hero h1 {
	color: var(--atom-white);
	max-width: 14ch;
}

.page-hero .lead {
	max-width: 54ch;
}


.section-head {
	margin-bottom: 2rem;
}


/* .section-head h2 {
	margin: 0;
	font-size: clamp(1.8rem, 3vw, 2.7rem);
	letter-spacing: -0.03em;
} */

.library-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.4rem;
	padding: 0.9rem 1rem;
	border: 1px solid var(--atom-border);
	border-radius: var(--atom-radius-md);
	background: var(--atom-bg-card);
}

.library-summary strong,
.library-filter strong {
	font-weight: 800;
}

.library-summary span,
.library-filter span {
	color: var(--atom-text-soft);
	font-size: 0.86rem;
}


.card-grid,
.case-grid,
.reason-grid,
.contact-grid,
.company-grid {
	display: grid;
	gap: 1rem;
}

.card-grid--services {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.reason-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.case-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}




.service-extra {
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid var(--atom-border);
}

.service-extra h3 {
	margin: 0 0 0.45rem;
	font-size: 0.95rem;
}

.case-card {
	overflow: hidden;
	padding: 0;
}

.case-card img {
	width: 100%;
	aspect-ratio: 16 / 12;
	object-fit: cover;
	background: var(--atom-surface-soft);
}

.case-thumb-link,
.case-title-link {
	display: block;
	text-decoration: none;
}

.case-title-link:hover {
	color: var(--atom-primary);
}

.case-body {
	padding: 1rem;
}

.case-note {
	margin-top: 0.75rem;
	font-size: 0.88rem;
}

.case-result {
	margin-top: 1rem;
	padding-top: 0.9rem;
	border-top: 1px solid var(--atom-border);
}

.case-result strong {
	display: block;
	color: var(--atom-primary-dark);
	font-size: 0.9rem;
}

.library-browser-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.5rem;
	padding: 0.8rem 1rem;
	border: 1px solid var(--atom-border);
	border-radius: var(--atom-radius-md);
	background: var(--atom-surface);
}

.library-browser-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
}

.library-browser-filter,
.library-tags-item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.55rem 0.9rem;
	border: 1px solid var(--atom-border);
	border-radius: 4px;
	background: var(--atom-surface);
	font-size: 0.78rem;
	font-weight: 600;
	color: #4f5a73;
}

.library-browser-filter.is-current {
	background: var(--atom-primary);
	border-color: var(--atom-primary);
	color: var(--atom-white);
}

.library-browser-search {
	min-width: 260px;
	padding: 0.55rem 0.9rem;
	border: 1px solid var(--atom-border);
	border-radius: 4px;
	background: var(--atom-bg-card);
	color: #8a93aa;
	font-size: 0.8rem;
}

.library-grid {
	margin-bottom: 1.5rem;
}

.library-tags {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.8rem;
	margin-top: 1.5rem;
}

.library-plan {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: 1rem;
	margin-top: 4rem;
	padding: 2.4rem 0 0;
	border-top: 1px solid var(--atom-border);
}

.library-plan-offer,
.library-plan-details {
	padding: 1.6rem;
}

.library-plan-offer {
	background: linear-gradient(180deg, #151a30 0, #1c2038 100%);
	border-color: rgba(255, 255, 255, 0.06);
	color: var(--atom-white);
}

.library-plan-offer .eyebrow,
.library-plan-offer p,
.library-plan-offer h2 {
	color: var(--atom-white);
}

.library-plan-price {
	margin-top: 1.4rem;
	font-size: 2.2rem;
	font-weight: 800;
	letter-spacing: -0.04em;
}

.library-plan-details {
	background: var(--atom-surface);
}

.library-plan-list {
	display: grid;
	gap: 0.7rem;
	margin-top: 1rem;
}

.library-stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	margin: 1.4rem auto 0;
	max-width: 860px;
	border: 1px solid var(--atom-border);
	background: var(--atom-surface);
}

.library-stats article {
	padding: 1rem 1.2rem;
	text-align: center;
}

.library-stats article+article {
	border-left: 1px solid var(--atom-border);
}

.library-stats strong {
	display: block;
	font-size: 1rem;
	font-weight: 800;
}

.library-stats span {
	display: block;
	margin-top: 0.2rem;
	color: var(--atom-text-soft);
	font-size: 0.78rem;
}


.library-faq-list {
	max-width: 860px;
	margin: 0 auto;
}

.library-faq-item {
	border-bottom: 1px solid var(--atom-border);
	padding: 0.2rem 0;
}

.library-faq-item summary {
	position: relative;
	padding: 1rem 2rem 1rem 0;
	cursor: pointer;
	font-weight: 700;
	list-style: none;
}

.library-faq-item summary::-webkit-details-marker {
	display: none;
}

.library-faq-item summary::after {
	content: "+";
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	color: var(--atom-text-soft);
}

.library-faq-item[open] summary::after {
	content: "–";
}

.library-faq-item p {
	padding: 0 0 1rem;
	margin: 0;
}

.pattern-intro {
	margin-bottom: 1.5rem;
}

.pattern-intro-card {
	background: linear-gradient(180deg, #fbfcff 0, #f5f7fc 100%);
}

.pattern-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}

.pattern-card {
	overflow: hidden;
	border: 1px solid var(--atom-border);
	border-radius: var(--atom-radius-md);
	background: var(--atom-surface);
	box-shadow: var(--atom-shadow);
}

.pattern-card-preview {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 126px;
	padding: 1rem 1.1rem;
	background:
		radial-gradient(circle at top right, rgba(27, 111, 232, 0.14), transparent 35%),
		linear-gradient(180deg, #f4f7fd 0, #edf2fb 100%);
}

.pattern-card-preview i {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	border-radius: var(--atom-radius-full);
	background: var(--atom-surface);
	color: var(--atom-primary);
	font-size: 1rem;
	box-shadow: 0 8px 22px rgba(27, 111, 232, 0.12);
}

.pattern-card-body {
	padding: 1.2rem;
}

.pattern-card-body h2 {
	margin: 0.35rem 0 0.6rem;
	font-size: 1.15rem;
	line-height: 1.3;
	letter-spacing: -0.02em;
}

.about-panel,
.company-grid {
	grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
}

.contact-grid {
	margin-top: 2rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-list {
	display: grid;
	gap: 0.7rem;
}

.contact-list li {
	color: var(--atom-text-soft);
}

.contact-list span {
	display: block;
	margin-bottom: 0.12rem;
	font-size: 0.76rem;
	font-weight: 700;
	color: #828ca5;
	text-transform: uppercase;
}

.contact-panel img {
	width: min(100%, 300px);
	margin: 1rem auto 0;
	border-radius: var(--atom-radius-md);
	border: 1px solid var(--atom-border);
}

.cta-box {
	text-align: center;
}

.cta-box p {
	max-width: 60ch;
	margin: 1rem auto 0;
}

.cta-meta {
	justify-content: center;
	margin-top: 1rem;
}

.cta-meta span,
.company-points span {
	padding: 0.45rem 0.8rem;
	border-radius: var(--atom-radius-full);
	background: var(--atom-primary-soft);
	color: var(--atom-primary-dark);
	font-size: 0.78rem;
	font-weight: 700;
}


.case-detail {
	display: grid;
	gap: 2rem;
}

.page.case-detail {
	background: var(--atom-surface);
}

.case-detail .section {
	padding: 0 0 2rem;
}

.case-detail-intro {
	padding: 0 0 2.5rem;
	background: #171c2f;
	color: var(--atom-white);
}

.case-detail-intro-nav,
.case-detail-intro-menu,
.case-detail-intro-actions,
.case-detail-bottom-cta-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
}

.case-detail-intro-nav {
	justify-content: space-between;
	padding: 1rem 0;
	font-size: 0.72rem;
}

.case-detail-intro-brand {
	color: var(--atom-white);
	font-weight: 700;
	text-decoration: none;
}

.case-detail-intro-menu {
	justify-content: center;
	flex: 1 1 auto;
	color: rgba(255, 255, 255, 0.72);
}

.case-detail-intro-body {
	padding: 2.4rem 0 0;
}

.case-detail-intro-copy {
	max-width: 500px;
}

.case-detail-intro-copy h1 {
	margin: 0;
	max-width: 10ch;
	color: var(--atom-white);
	font-size: clamp(2.4rem, 5vw, 3.5rem);
	line-height: 1.08;
	letter-spacing: -0.04em;
}

.case-detail-intro-copy p {
	max-width: 48ch;
	margin: 1rem 0 0;
	color: rgba(255, 255, 255, 0.74);
}

.case-detail-intro-actions {
	margin-top: 1.5rem;
}

.case-detail-intro-button,
.case-detail-bottom-cta-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.8rem 1rem;
	border-radius: 4px;
	font-size: 0.74rem;
	font-weight: 700;
	text-decoration: none;
	text-transform: uppercase;
}

.case-detail-intro-button.ghost {
	border: 1px solid rgba(255, 255, 255, 0.22);
	color: var(--atom-white);
	background: transparent;
}

.case-detail-intro-button.primary {
	color: var(--atom-white);
	background: #1f80ff;
}

.case-detail-site-shell {
	--atom-preview-width: 1920px;
	width: min(100%, var(--atom-preview-width));
	margin: -1.2rem auto 0;
	padding: 0.6rem 0 0;
	background: var(--atom-surface);
	transition: width 0.28s ease;
}

.case-detail-site-shell.is-tablet {
	--atom-preview-width: 860px;
}

.case-detail-site-shell.is-mobile {
	--atom-preview-width: 430px;
}

.case-detail-toolbar {
	border-bottom: 1px solid var(--atom-border);
	border-radius: var(--atom-radius-md);
	background: var(--atom-surface);
	box-shadow: var(--atom-shadow);
	position: sticky;
	top: 0;
	left: 0;
}

.case-detail-toolbar-top,
.case-detail-toolbar-main,
.case-detail-toolbar-pills,
.case-detail-toolbar-icons,
.case-detail-subnav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
}

.case-detail-toolbar-top,
.case-detail-toolbar-main {
	justify-content: space-between;
	padding: 1rem;
}

.case-detail-toolbar-top {
	border-bottom: 1px solid var(--atom-border);
	background: var(--atom-bg-card);
}

.case-detail-toolbar-pill,
.case-detail-toolbar-cta,
.case-detail-catalog-card span,
.case-detail-featured-card span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 4px;
	font-size: 0.72rem;
	font-weight: 700;
	text-decoration: none;
}

.case-detail-toolbar-pill {
	padding: 0.38rem 0.65rem;
	border: 1px solid var(--atom-border);
	background: var(--atom-surface);
	color: #59647f;
}

.case-detail-toolbar-pill.is-active {
	background: #2a61ff;
	border-color: #2a61ff;
	color: var(--atom-white);
}

.case-detail-toolbar-icons span {
	display: inline-flex;
	width: 28px;
	height: 28px;
	border: 1px solid var(--atom-border);
	border-radius: 4px;
	background: var(--atom-surface);
}

.case-detail-device-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border: 1px solid var(--atom-border);
	border-radius: 4px;
	background: var(--atom-surface);
	color: #60708d;
	cursor: pointer;
	transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.case-detail-device-button:hover,
.case-detail-device-button.is-active {
	border-color: #2a61ff;
	background: #eef4ff;
	color: #2a61ff;
	transform: translateY(-1px);
}

.case-detail-brand {
	color: #111427;
	font-size: 1.1rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-decoration: none;
}

.case-detail-subnav {
	justify-content: center;
	flex: 1 1 auto;
	color: #49536d;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
}

.case-detail-toolbar-cta {
	padding: 0.7rem 0.95rem;
	background: #ffbc1e;
	color: #111427;
}

.case-detail-hero {
	padding-top: 1.2rem;
	text-align: center;
}

.case-detail-hero-eyebrow {
	margin: 0 0 0.85rem;
	color: #8d97ad;
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.case-detail-hero-title {
	margin: 0 auto;
	max-width: 12ch;
	color: var(--atom-text);
	font-size: clamp(2.6rem, 5vw, 4.4rem);
	line-height: 1.04;
	letter-spacing: -0.05em;
}

.case-detail-hero-title span {
	color: #f3a91c;
}

.case-detail-hero-lead {
	max-width: 58ch;
	margin: 1rem auto 0;
	color: var(--atom-text-soft);
}

.case-detail-poster {
	position: relative;
	overflow: hidden;
	width: min(460px, 100%);
	margin: 2rem auto 0;
	border: 1px solid var(--atom-border);
	background: #111427;
	box-shadow: 0 24px 60px rgba(17, 20, 39, 0.14);
}

.case-detail-poster img {
	width: 100%;
	aspect-ratio: 4 / 3.2;
	object-fit: cover;
}

.case-detail-poster-play {
	position: absolute;
	left: 50%;
	top: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	margin: -36px 0 0 -36px;
	border-radius: var(--atom-radius-full);
	background: rgba(255, 255, 255, 0.92);
	color: #111427;
	font-size: 1.2rem;
}

.case-detail-featured-grid,
.case-detail-catalog-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}

.case-detail-featured-grid {
	margin: 2rem auto 0;
	max-width: 900px;
	text-align: left;
}

.case-detail-featured-card,
.case-detail-catalog-card {
	overflow: hidden;
	border: 1px solid var(--atom-border);
	border-radius: 4px;
	background: var(--atom-surface);
}

.case-detail-featured-card img,
.case-detail-catalog-card.is-featured img {
	width: 100%;
	aspect-ratio: 16 / 11;
	object-fit: cover;
	background: var(--atom-surface-soft);
}

.case-detail-featured-card div,
.case-detail-catalog-card-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	padding: 0.85rem 0.9rem;
}

.case-detail-featured-card strong,
.case-detail-catalog-card strong {
	color: var(--atom-text);
	font-size: 0.92rem;
	font-weight: 700;
}

.case-detail-featured-card span,
.case-detail-catalog-card span {
	padding: 0.24rem 0.42rem;
	background: #111427;
	color: var(--atom-white);
}

.case-detail-catalog-card.is-featured {
	box-shadow: 0 16px 36px rgba(17, 20, 39, 0.06);
}

.case-detail-catalog-card:not(.is-featured) .case-detail-catalog-card-inner {
	min-height: 58px;
}

.case-detail-plan {
	margin-top: 2rem;
}

.case-detail-bottom-cta {
	margin-top: 1rem;
	background: #1172e5;
}

.case-detail-bottom-cta-inner {
	justify-content: space-between;
	padding: 1.2rem 0;
}

.case-detail-bottom-cta-inner h2 {
	margin: 0;
	color: var(--atom-white);
	font-size: 1.35rem;
}

.case-detail-bottom-cta-button {
	background: var(--atom-surface);
	color: #13203a;
}

.case-detail-footer {
	padding: 3rem 0 2rem;
	background: #111427;
	color: rgba(255, 255, 255, 0.72);
}

.case-detail-footer-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr));
	gap: 1.4rem;
}

.case-detail-footer-brand h3,
.case-detail-footer-column h4 {
	margin: 0 0 0.75rem;
	color: var(--atom-white);
}

.case-detail-footer-column ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 0.45rem;
}

@media (max-width: 1279px) {

	.layout,
	.builder,
	.showcase,
	.library-plan,
	.case-detail-footer-grid {
		grid-template-columns: 1fr;
	}

	.grid,
	.testimonials-grid,
	.case-grid,
	.reason-grid,
	.library-tags,
	.pattern-grid,
	.case-detail-featured-grid,
	.case-detail-catalog-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 1023px) {
	.header-inner {
		flex-wrap: wrap;
	}

	.nav {
		justify-content: flex-start;
	}

	.card-grid--services,
	.contact-grid,
	.company-grid,
	.library-stats {
		grid-template-columns: 1fr;
	}

	.case-detail-toolbar-top,
	.case-detail-toolbar-main {
		align-items: flex-start;
		flex-direction: column;
	}

	.case-detail-site-shell,
	.case-detail-site-shell.is-tablet,
	.case-detail-site-shell.is-mobile {
		width: 100%;
	}

	.case-detail-bottom-cta-inner {
		align-items: flex-start;
		flex-direction: column;
	}

	.case-detail-subnav {
		justify-content: flex-start;
	}

	.library-stats article+article {
		border-left: 0;
		border-top: 1px solid var(--atom-border);
	}
}

@media (max-width: 767px) {
	.container {
		width: min(100% - 1.25rem, 100%);
	}

	.a-site {
		background: linear-gradient(180deg, #111427 0, #111427 360px, #ffffff 360px, #ffffff 100%);
	}

	.hero {
		padding: 3rem 0 4rem;
	}

	.page-hero h1 {
		max-width: none;
		font-size: clamp(2.2rem, 12vw, 3.1rem);
	}

	.visual {
		min-height: 360px;
	}

	.thumb {
		width: 128px;
	}

	.thumb--1 {
		top: 40px;
		left: 0;
	}

	.thumb--2 {
		left: 118px;
	}

	.thumb--3 {
		right: 0;
		width: 140px;
	}

	.thumb--4 {
		top: 176px;
		left: 0;
	}

	.thumb--5 {
		top: 196px;
		left: 118px;
	}

	.thumb--6 {
		top: 176px;
		right: 0;
	}

	.play {
		top: 118px;
		width: 90px;
		height: 90px;
		margin-left: -45px;
		font-size: 1.5rem;
	}

	.grid,
	.testimonials-grid,
	.case-grid,
	.reason-grid,
	.library-tags,
	.pattern-grid,
	.case-detail-featured-grid,
	.case-detail-catalog-grid {
		grid-template-columns: 1fr;
	}

	.footer-strip .inner,
	.section-head--split,
	.case-detail-intro-nav {
		align-items: start;
		flex-direction: column;
	}

	.footer-grid {
		grid-template-columns: 1fr;
	}
}

/* ========== Contact timeline Section ========== */
.process-title {
	margin-bottom: 0.3rem;
}

.process-sub {
	color: var(--atom-text-soft);
	font-size: 1.1rem;
	margin-bottom: 3rem;
	letter-spacing: 0.3px;
}

/* ---------- 时间线容器 ---------- */
.timeline {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	position: relative;
	padding-left: 0;
	/* 去掉额外内边距，让线精准对齐 */
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
}

/* 竖线 - 绝对定位，穿过序号圆心 */
.timeline::before {
	content: '';
	position: absolute;
	left: 20px;
	top: 1.5rem;
	bottom: 10px;
	width: 3px;
	background: linear-gradient(to bottom, #4a6cf7, #7b2ffc, transparent);
	opacity: 0.6;
	border-radius: 4px;
}

/* ---------- 每个步骤项 ---------- */
.timeline-item {
	display: flex;
	align-items: center;
	gap: 1.8rem;
	position: relative;
}

/* 序号圆点 - 亮色背景，彩色边框 */
.timeline-marker {
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #ffffff;
	border: 3px solid #4a6cf7;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 900;
	font-size: 1rem;
	color: #4a6cf7;
	box-shadow: 0 2px 12px rgba(74, 108, 247, 0.15);
	transition: box-shadow 0.3s, transform 0.3s;
	position: relative;
	z-index: 2;
	/* 确保圆点覆盖竖线 */
}

.timeline-item:hover .timeline-marker {
	box-shadow: 0 4px 24px rgba(74, 108, 247, 0.35);
	transform: scale(1.06);
	border-color: #7b2ffc;
}

/* ---------- 右侧内容卡片 ---------- */
.timeline-content {
	flex: 1;
	background: #ffffff;
	border-radius: 20px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
	border: 1px solid rgba(74, 108, 247, 0.08);
	overflow: hidden;
	transition: box-shadow 0.3s, border-color 0.3s;
}

.timeline-content:hover {
	box-shadow: 0 8px 36px rgba(74, 108, 247, 0.10);
	border-color: rgba(74, 108, 247, 0.20);
}

/* ---------- 可点击头部 ---------- */
.timeline-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1.2rem 2rem;
	cursor: pointer;
	user-select: none;
	transition: background 0.2s;
}

.timeline-header:hover {
	background: rgba(74, 108, 247, 0.04);
}



.toggle-icon {
	font-size: 1.8rem;
	font-weight: 300;
	color: #4a6cf7;
	transition: transform 0.3s ease;
	line-height: 1;
}

.timeline-item.active .toggle-icon {
	transform: rotate(45deg);
}

/* ---------- 展开体（折叠/展开动画） ---------- */
.timeline-body {
	max-height: 0;
	overflow: hidden;
	padding: 0 2rem;
	background: #fafbff;
	transition: max-height 0.25s cubic-bezier(0.4, 0, 0.2, 1),
		/* 关闭快 */
		padding 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-item.active .timeline-body {
	max-height: 300px;
	padding: 0 2rem 1.8rem;
	transition: max-height 0.40s, padding 0.40s;
}

.timeline-body p {
	color: #3d4452;
	line-height: 1.8;
	font-size: 0.98rem;
	margin: 0;
}

@media (max-width: 768px) {
	.timeline::before {
		left: 16px;
	}

	.timeline-marker {
		width: 32px;
		height: 32px;
		font-size: 0.8rem;
		border-width: 2.5px;
	}

	.timeline-item {
		gap: 1rem;
	}

	.timeline-header {
		padding: 0.8rem 1.2rem;
	}

	.timeline-header h3 {
		font-size: 1rem;
	}

	.timeline-body {
		padding: 0 1.2rem;
	}

	.timeline-item.active .timeline-body {
		padding: 0 1.2rem 1.2rem;
	}

	.process-title {
		font-size: 2rem;
	}
}

/* ========== Contact timeline Section END ========== */




/* ========== Industry News Section ========== */

.news-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(280px, 1fr));
	gap: 1.5rem;
	margin-top: 2.5rem;
}

.news-card {
	border-radius: var(--atom-radius-md);
	overflow: hidden;
	transition: transform .2s, box-shadow .2s;
	border: 1px solid rgba(255, 255, 255, .06);
}

.news-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 40px rgba(0, 0, 0, .03);
	border-color: rgba(255, 255, 255, .12);
}

.news-thumb img {
	width: 100%;
	height: 180px;
	object-fit: cover;
	display: block;
}

.news-body {
	padding: 20px;
}

.news-body h3 {
	margin: 8px 0 6px;
	font-size: 1.05rem;
	line-height: 1.4;
}

.news-body h3 a {
	/*color: #e8e8f0;*/
	text-decoration: none;
}

.news-body h3 a:hover {
	color: #7c8aff;
}

.news-body time {
	display: block;
	font-size: .8rem;
	color: #6a6f8a;
	margin-bottom: 8px;
}

.news-body p {
	font-size: .85rem;
	/*color: #9ca0b8;*/
	line-height: 1.55;
	margin: 0;
}

.news-category {
	font-size: .72rem !important;
}

.section-foot {
	text-align: center;
	margin-top: 36px;
}

/* ========== Partners Section ========== */

.partners-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 32px;
	align-items: stretch;
	justify-items: stretch;
	margin-top: 40px;
	padding: 32px;
}

.partners-item {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	border-radius: var(--atom-radius-sm);
	border: 1px solid var(--atom-bg-card);
	transition: opacity .2s, transform .2s;
}

.partners-item:hover {
	opacity: 1;
}

.partners-item img {
	max-width: 100%;
	height: 5rem;
	object-fit: contain;
	opacity: .85;
	transition: opacity .2s;
}

.partners-item:hover img {
	opacity: 1;
}

@media (max-width: 960px) {
	.footer-columns {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.idea__layout {
		grid-template-columns: 1fr;
	}
}

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

	.idea-row {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {

	.section.news,
	.partners {
		padding: 48px 0;
	}

	.news-grid {
		grid-template-columns: 1fr;
	}

	.partners-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 16px;
		padding: 16px;
	}

	.partners-item img {
		max-width: 80px;
		max-height: 36px;
	}
}

@media (prefers-reduced-motion: reduce) {

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
	}
}



/* ── Mobile fixed bottom bar (hidden on desktop) ── */
@media (min-width: 769px) {
	.mobile-bar {
		display: none;
	}
}


.search .page-hero h1 {
	max-width: 100%;
	font-size: clamp(1.6rem, 4vw, 2.4rem);
}

.search-form-inline {
	max-width: 480px;
	margin-top: 1.4rem;
}

.search-form {
	display: flex;
	gap: 0;
	width: 100%;
	height: 3.6rem;
}

.search-form> :first-child {
	flex: 1;
}

.search-form input {
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}

.search-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	min-width: 48px;
	border: 0;
	background: var(--atom-primary);
	color: #ffffff;
	font-size: 1rem;
	cursor: pointer;
	transition: background-color 0.2s;
	border-top-right-radius: var(--atom-radius-sm);
	border-bottom-right-radius: var(--atom-radius-sm);
}


.search-submit:hover {
	background: var(--atom-primary-dark);
}

.search-results-box {
	min-height: 20rem;
}

.search-result-item {
	display: flex;
	gap: 1.2rem;
	padding: 1.2rem;
	border: 1px solid var(--atom-border);
	border-radius: var(--atom-radius-md);
	background: var(--atom-surface);
	box-shadow: var(--atom-shadow);
	transition: box-shadow 0.2s;
}

.search-result-item:hover {
	box-shadow: var(--atom-shadow-lg);
}

.search-result-thumb {
	flex-shrink: 0;
	width: 140px;
	height: 90px;
	overflow: hidden;
	border-radius: var(--atom-radius-sm);
}

.search-result-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.search-result-body {
	flex: 1;
	min-width: 0;
}

.search-result-body h3 {
	margin: 0.4rem 0 0.5rem;
	font-size: 1.05rem;
	line-height: 1.35;
}

.search-result-body h3 a {
	text-decoration: none;
	color: inherit;
}

.search-result-body h3 a:hover {
	color: var(--atom-primary);
}

.search-result-excerpt {
	font-size: 0.88rem;
	color: var(--atom-text-soft);
	margin: 0 0 0.5rem;
}

.search-result-meta {
	font-size: 0.78rem;
	color: var(--atom-text-soft);
}

/* 404 Page */
#page-not-found {
	background-color: var(--atom-bg-card);
}

#page-not-found .not-found-img {
	height: 300px;
	margin: 2rem auto;
}

.no-results {
	max-width: 600px;
	margin: 0 auto;
}

.no-results-text {
	margin: 1rem 0;
	font-size: 0.95rem;
	color: var(--atom-text-soft);
}

.no-results-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem;
	justify-content: center;
	margin-top: 1.5rem;
}

/* 404 Page END*/

@media (max-width: 600px) {
	.search-result-item {
		flex-direction: column;
	}

	.search-result-thumb {
		width: 100%;
		height: auto;
		max-height: 180px;
	}
}

/* ===== Footer mobile ===== */
@media (max-width: 768px) {
	.footer-columns {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1.5rem;
	}

	.footer-bottom {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}
}

@media (max-width: 480px) {
	.footer-columns {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ==================================================================
 * Article Detail Page
 * ================================================================== */

.lead-dot {
	margin: 0 0.4rem;
}




.contact .page-hero {
	position: relative;
	background: url('../images/contact-hero-bg.jpg') no-repeat center / cover;
}

.contact .page-hero:before {
	content: '';
	position: absolute;
	inset: 0;
	/* 等于 top:0; right:0; bottom:0; left:0; */
	background: rgba(0, 0, 0, 0.3);
	/* 半透明蓝色蒙版 */
	pointer-events: none;
	/* 让鼠标事件穿透 */
	z-index: -1;
}

.services .page-hero {
	position: relative;
	background: url('../images/service-hero-bg.jpg') no-repeat center / cover;
}

.services .page-hero:before {
	content: '';
	position: absolute;
	inset: 0;
	/* 等于 top:0; right:0; bottom:0; left:0; */
	background: rgba(0, 0, 0, 0.5);
	/* 半透明蓝色蒙版 */
	pointer-events: none;
	/* 让鼠标事件穿透 */
	z-index: -1;
}

/* ── Style unification ── */
a {
	color: var(--atom-primary);
	transition: color 0.2s ease;
}

a:hover {
	color: var(--atom-primary-dark);
}

/* Utility links inside cards / footers that should use soft text */
.case-title-link,
.footer a,
.article-side-list a {
	color: var(--atom-text-soft);
}

.case-title-link:hover,
.footer a:hover,
.article-side-list a:hover {
	color: var(--atom-primary);
}


@media (max-width: 480px) {
	.page-hero--single {
		padding: 1.5rem 0 1.25rem;
	}

	.article-main {
		padding: 1.25rem;
	}

	.article-featured {
		margin: -1.25rem -1.25rem 1rem;
	}

	.breadcrumb-current {
		max-width: 12ch;
	}
}

/* =============================================================
	   advantage section — 核心业务优势栏 (参考 szfangwei.cn .index-advantage)
	   ============================================================= */
.advantage {
	background: var(--atom-surface);
}


.card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	padding: 2rem 1.5rem 1.8rem;
	border: 1px solid var(--atom-border);
	border-radius: var(--atom-radius-lg);
	background: var(--atom-bg-card);
	text-decoration: none;
	color: var(--atom-text);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
	overflow: hidden;
}

.card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: var(--atom-primary);
	opacity: 0;
	transition: opacity 0.25s ease;
}

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

.card:hover::before {
	opacity: 1;
}

.card-title {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
}

.card-title span:first-child {
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--atom-primary);
}

.card-title span:last-child {
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.02em;
	color: var(--atom-text);
}

.card p {
	margin: 0;
	font-size: 0.82rem;
	line-height: 1.6;
	color: var(--atom-text-soft);
}

/* HOME STYLE START */

#home .hero-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background: beige;
	/* background: linear-gradient(180deg, 
	#ff7e5f,
	#feb47b, 
	#ffd89b, 
    #b7a7d6, 
    #2c3e50  
  );
  background-size: 100% 500%; */
	animation: dusk 12s ease-in-out infinite alternate;
}


#home .hero {
	padding: 4rem 0 4.5rem;
}


#home .layout {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	align-items: center;
}

#home .hero h1 {
	line-height: 1.05;
}
#home .layout>.copy {
	min-height: 65vh;
	align-self: start;
}

#home .lead {
	max-width: 55ch;
	margin: 1.25rem 0;
}

#home .metrics {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	margin-top: .5rem;
}

#home .metric strong {
	display: block;
	font-size: 0.98rem;
	font-weight: 800;
}

#home .metric span {
	display: block;
	margin-top: 0.18rem;
	font-size: 0.78rem;
}

#home .visual {
	position: relative;
	min-height: 430px;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	pointer-events: none;
}

/* SVG Sphere animation fills the visual area as a decorative background */
#home .visual .sphere-animation {
	inset: 0;
	pointer-events: none;
	z-index: 0;
}

#home .visual .sphere {
	width: 100%;
	height: 100%;
	max-width: 1040px;
	max-height: 1040px;
	opacity: 0.9;
}

.visual .sphere path {
	fill: url(#sphereGradient);
	/* stroke-width: 0.8px; */
	backface-visibility: hidden;
}

/* HOME STYLE END */