/* xin.html – six reference modules + shared */
:root {
	--xin-green: #35b04a;
	--xin-green-dark: #2d9a42;
	--xin-dark: #0b1220;
	--xin-dark-mid: #141f33;
	--xin-text: #1a1a1a;
	--xin-muted: #5c6478;
	--xin-exponent-accent: #e85d04;
}

.xin-page-main,
.ss-page-main {
	padding-top: 0;
}
.ss-page-main .ss-module-intro-app {
	padding-top: 0;
}
.ss-fast-charging-intro {
	padding: 56px 0 24px;
	text-align: center;
	background: #fff;
}
.ss-fast-charging-intro h6 {
	color: var(--xin-green);
	font-size: 13px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	margin-bottom: 10px;
}
.ss-fast-charging-intro .section-title {
	margin-bottom: 12px;
}
.ss-fast-charging-intro .section-description {
	max-width: 720px;
	margin: 0 auto;
	color: var(--xin-muted);
}
/* ── Module 1 smart-service: TVS Apnaa App (light, left slider + right copy) ── */
.ss-apnaa-app {
	position: relative;
	overflow: hidden;
	padding: 72px 0 80px;
	background: #e9eef4;
	color: #1a1a1a;
}
.ss-apnaa-pattern {
	position: absolute;
	top: 0;
	left: 0;
	width: 280px;
	height: 220px;
	pointer-events: none;
	opacity: 0.45;
	background-image: radial-gradient(circle, #b8c4d4 1.5px, transparent 1.5px);
	background-size: 14px 14px;
	mask-image: radial-gradient(ellipse 90% 80% at 0% 0%, #000 30%, transparent 75%);
	-webkit-mask-image: radial-gradient(ellipse 90% 80% at 0% 0%, #000 30%, transparent 75%);
}
.ss-apnaa-inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 48px;
	flex-wrap: nowrap;
	max-width: 1140px;
	margin: 0 auto;
	padding: 0 15px;
}
.ss-apnaa-visual {
	flex: 0 1 48%;
	max-width: 520px;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.ss-apnaa-slider {
	position: relative;
	width: 100%;
	max-width: 320px;
	aspect-ratio: 9 / 16;
	margin: 0 auto;
}
.ss-apnaa-slide {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.45s ease, visibility 0.45s ease;
}
.ss-apnaa-slide.active {
	opacity: 1;
	visibility: visible;
	z-index: 2;
}
.ss-apnaa-slide img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	filter: drop-shadow(0 18px 40px rgba(26, 42, 74, 0.22));
}
.ss-apnaa-dots {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 28px;
}
.ss-apnaa-dot {
	width: 11px;
	height: 11px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: rgba(26, 58, 110, 0.22);
	cursor: pointer;
	transition: background 0.3s ease, transform 0.3s ease;
}
.ss-apnaa-dot:hover {
	background: rgba(26, 58, 110, 0.45);
	transform: scale(1.1);
}
.ss-apnaa-dot.active {
	background: #1a3a6e;
	transform: scale(1.15);
}
.ss-apnaa-copy {
	flex: 0 1 48%;
	min-width: 280px;
	max-width: 540px;
}
.ss-apnaa-heading {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	margin-bottom: 22px;
}
.ss-apnaa-bar {
	flex-shrink: 0;
	width: 4px;
	height: 72px;
	background: #1a3a6e;
	border-radius: 2px;
	margin-top: 4px;
}
.ss-apnaa-eyebrow {
	display: block;
	font-size: clamp(22px, 2.8vw, 32px);
	font-weight: 400;
	color: #1a1a1a;
	line-height: 1.2;
	margin-bottom: 4px;
}
.ss-apnaa-title {
	margin: 0;
	font-size: clamp(26px, 3.2vw, 40px);
	font-weight: 700;
	line-height: 1.15;
}
.ss-apnaa-title-plain {
	display: inline;
	color: #1a1a1a;
	font-weight: 400;
}
.ss-apnaa-title-brand {
	display: inline;
	color: #1a3a6e;
	font-weight: 700;
}
.ss-apnaa-desc {
	font-size: 15px;
	line-height: 1.75;
	color: #3d4555;
	margin: 0 0 28px;
	text-align: justify;
}
.ss-apnaa-stores {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}
.ss-apnaa-play {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 8px 18px 8px 12px;
	background: #1a1a1a;
	border-radius: 8px;
	color: #fff;
	text-decoration: none;
	transition: opacity 0.25s ease, transform 0.25s ease;
}
.ss-apnaa-play:hover {
	opacity: 0.9;
	transform: translateY(-2px);
	color: #fff;
	text-decoration: none;
}
.ss-apnaa-play-icon {
	font-size: 28px;
	line-height: 1;
}
.ss-apnaa-play-text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	line-height: 1.1;
}
.ss-apnaa-play-text small {
	font-size: 10px;
	letter-spacing: 0.04em;
	opacity: 0.9;
}
.ss-apnaa-play-text strong {
	font-size: 18px;
	font-weight: 600;
}

@media (max-width: 991px) {
	.ss-apnaa-app {
		padding: 48px 0 56px;
	}
	.ss-apnaa-inner {
		flex-direction: column;
		flex-wrap: wrap;
		gap: 36px;
	}
	.ss-apnaa-visual {
		flex: 1 1 100%;
		max-width: 100%;
		order: 1;
	}
	.ss-apnaa-copy {
		flex: 1 1 100%;
		max-width: 100%;
		order: 2;
	}
	.ss-apnaa-slider {
		max-width: 260px;
	}
	.ss-apnaa-desc {
		text-align: left;
	}
	.ss-apnaa-bar {
		height: 56px;
	}
	.ss-fast-charging-intro {
		padding: 40px 16px 16px;
	}
}

/* ── Module 1: Introducing App (TVS Apnaa style) ── */
.xin-apnaa-app {
	position: relative;
	overflow: hidden;
	padding: 90px 0;
	background: linear-gradient(135deg, #0a1628 0%, #152a4a 45%, #1e3d6b 100%);
	color: #fff;
}
.xin-apnaa-app::before {
	content: '';
	position: absolute;
	top: -30%;
	right: -15%;
	width: 55%;
	height: 140%;
	background: radial-gradient(ellipse, rgba(53, 176, 74, 0.18) 0%, transparent 70%);
	pointer-events: none;
}
.xin-apnaa-inner {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	gap: 48px;
	flex-wrap: wrap;
}
.xin-apnaa-copy {
	flex: 1 1 380px;
	min-width: 280px;
}
.xin-apnaa-eyebrow {
	display: inline-block;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.75);
	margin-bottom: 12px;
}
.xin-apnaa-title {
	font-size: clamp(28px, 4vw, 42px);
	font-weight: 700;
	line-height: 1.15;
	margin-bottom: 20px;
}
.xin-apnaa-title span {
	color: var(--xin-green);
}
.xin-apnaa-desc {
	font-size: 15px;
	line-height: 1.75;
	color: rgba(255, 255, 255, 0.82);
	max-width: 520px;
	margin-bottom: 28px;
}
.xin-apnaa-stores {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	align-items: center;
}
.xin-apnaa-stores a {
	display: block;
	transition: transform 0.25s ease, opacity 0.25s ease;
}
.xin-apnaa-stores a:hover {
	transform: translateY(-3px);
	opacity: 0.9;
}
.xin-apnaa-stores img {
	height: 48px;
	width: auto;
	border-radius: 8px;
}
.xin-store-badge {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 20px;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 10px;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
}
.xin-store-badge i {
	font-size: 22px;
}
.xin-apnaa-visual {
	flex: 1 1 340px;
	min-width: 280px;
	display: flex;
	justify-content: center;
	position: relative;
	min-height: 380px;
}
.xin-apnaa-phones {
	position: relative;
	width: 100%;
	max-width: 420px;
	height: 380px;
}
.xin-apnaa-phones img {
	position: absolute;
	border-radius: 24px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
	object-fit: cover;
}
.xin-apnaa-phones .phone-back {
	width: 58%;
	right: 0;
	top: 8%;
	z-index: 1;
	opacity: 0.85;
	transform: rotate(6deg);
}
.xin-apnaa-phones .phone-front {
	width: 62%;
	left: 0;
	bottom: 0;
	z-index: 2;
}

/* ── Module 2: Shepherd App (Euler style) ── */
.xin-shepherd {
	padding: 80px 0;
	background: #0d1117;
	color: #fff;
	overflow: hidden;
}
.xin-shepherd-header {
	text-align: center;
	max-width: 720px;
	margin: 0 auto 48px;
	padding: 0 20px;
}
.xin-shepherd-header h6 {
	color: var(--xin-green);
	font-size: 13px;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	margin-bottom: 10px;
}
.xin-shepherd-header h2 {
	font-size: clamp(26px, 3.5vw, 38px);
	font-weight: 700;
	margin-bottom: 14px;
}
.xin-shepherd-header p {
	color: rgba(255, 255, 255, 0.7);
	font-size: 16px;
	line-height: 1.6;
}
.xin-shepherd-stage {
	display: grid;
	grid-template-columns: 1fr minmax(260px, 380px) 1fr;
	gap: 24px;
	align-items: center;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}
.xin-shepherd-panel {
	opacity: 1;
	transition: opacity 0.4s ease, transform 0.4s ease;
}
.xin-shepherd-panel.is-dim {
	opacity: 0.45;
}
.xin-shepherd-panel h3 {
	font-size: 20px;
	font-weight: 700;
	margin-bottom: 12px;
	color: #fff;
}
.xin-shepherd-panel ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.xin-shepherd-panel li {
	font-size: 14px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.75);
	padding: 8px 0;
	padding-left: 22px;
	position: relative;
}
.xin-shepherd-panel li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 14px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--xin-green);
}
.xin-shepherd-device {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.xin-shepherd-tabs {
	display: flex;
	gap: 8px;
	margin-bottom: 20px;
	flex-wrap: wrap;
	justify-content: center;
}
.xin-shepherd-tab {
	border: 1px solid rgba(255, 255, 255, 0.25);
	background: transparent;
	color: rgba(255, 255, 255, 0.8);
	padding: 10px 18px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
}
.xin-shepherd-tab.active,
.xin-shepherd-tab:hover {
	background: var(--xin-green);
	border-color: var(--xin-green);
	color: #fff;
}
.xin-shepherd-frame {
	width: 100%;
	max-width: 280px;
	aspect-ratio: 9/18;
	background: #1a2332;
	border-radius: 32px;
	padding: 12px;
	box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.08), 0 30px 80px rgba(0, 0, 0, 0.5);
	position: relative;
	overflow: hidden;
}
.xin-shepherd-screen {
	position: absolute;
	inset: 12px;
	border-radius: 22px;
	overflow: hidden;
	opacity: 0;
	transition: opacity 0.5s ease;
}
.xin-shepherd-screen.active {
	opacity: 1;
	z-index: 2;
}
.xin-shepherd-screen img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.xin-shepherd-loader {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(13, 17, 23, 0.6);
	z-index: 3;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.35s ease;
}
.xin-shepherd-loader.show {
	opacity: 1;
}
.xin-shepherd-loader {
	flex-direction: column;
	gap: 12px;
}
.xin-shepherd-loader span {
	width: 36px;
	height: 36px;
	border: 3px solid rgba(255, 255, 255, 0.2);
	border-top-color: var(--xin-green);
	border-radius: 50%;
	animation: xin-spin 0.8s linear infinite;
}
.xin-shepherd-loader-text {
	font-style: normal;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.85);
	letter-spacing: 0.02em;
}
@keyframes xin-spin {
	to { transform: rotate(360deg); }
}

/* ── Module 3: Fast charging – uses ab2yu .product-carousel ── */
.xin-fast-charging.product-carousel {
	padding: 70px 0 80px;
	background: #f8faf9;
}
.xin-fast-charging .section-title {
	text-align: center;
	margin-bottom: 36px;
}

/* ── Module 4: Stack scale (Exponent) ── */
.xin-stack-scale {
	padding: 90px 0;
	background: #fff;
}
.xin-stack-scale .section-head {
	text-align: center;
	max-width: 800px;
	margin: 0 auto 50px;
	padding: 0 20px;
}
.xin-stack-scale .section-head h2 {
	font-size: clamp(26px, 3.5vw, 40px);
	font-weight: 700;
	line-height: 1.2;
	color: var(--xin-text);
}
.xin-stack-scale .section-head h2 em {
	font-style: normal;
	display: block;
	color: var(--xin-muted);
	font-weight: 500;
	font-size: 0.55em;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.xin-stack-diagram {
	position: relative;
	max-width: 1000px;
	margin: 0 auto 40px;
	padding: 40px 20px 20px;
	min-height: 420px;
}
.xin-stack-svg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
}
.xin-stack-svg line {
	stroke: #d0d8e4;
	stroke-width: 2;
	transition: stroke 0.35s ease;
}
.xin-stack-node {
	position: absolute;
	width: 160px;
	text-align: center;
	cursor: pointer;
	transition: transform 0.35s ease;
}
.xin-stack-node:hover,
.xin-stack-node.active {
	transform: scale(1.05);
}
.xin-stack-node .node-box {
	background: #f4f6f8;
	border: 2px solid #e2e8f0;
	border-radius: 12px;
	padding: 16px 12px;
	transition: border-color 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}
.xin-stack-node.active .node-box,
.xin-stack-node:hover .node-box {
	border-color: var(--xin-green);
	background: rgba(53, 176, 74, 0.06);
	box-shadow: 0 8px 24px rgba(53, 176, 74, 0.15);
}
.xin-stack-node .node-label {
	font-size: 13px;
	font-weight: 700;
	color: var(--xin-text);
	line-height: 1.35;
}
.xin-stack-node .node-label span {
	display: block;
}
.xin-stack-node[data-node="bms"] { left: 50%; top: 0; transform: translateX(-50%); }
.xin-stack-node[data-node="virtual"] { left: 8%; top: 38%; }
.xin-stack-node[data-node="dynamic"] { right: 8%; top: 38%; }
.xin-stack-node[data-node="thermal"] { left: 50%; bottom: 0; transform: translateX(-50%); }
.xin-stack-node[data-node="bms"]:hover,
.xin-stack-node[data-node="bms"].active { transform: translateX(-50%) scale(1.05); }
.xin-stack-node[data-node="thermal"]:hover,
.xin-stack-node[data-node="thermal"].active { transform: translateX(-50%) scale(1.05); }
.xin-stack-detail {
	max-width: 720px;
	margin: 0 auto;
	text-align: center;
	padding: 0 24px;
	min-height: 72px;
}
.xin-stack-detail p {
	font-size: 16px;
	line-height: 1.7;
	color: var(--xin-muted);
	margin: 0;
	transition: opacity 0.35s ease;
}

/* ── Module 5: Off-board cooling (Exponent) ── */
.xin-offboard {
	padding: 90px 0;
	background: var(--xin-dark);
	color: #fff;
}
.xin-offboard .wrap {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 24px;
}
.xin-offboard-top h2 {
	font-size: clamp(24px, 3vw, 34px);
	font-weight: 700;
	margin-bottom: 8px;
}
.xin-offboard-top .sub {
	color: rgba(255, 255, 255, 0.65);
	font-size: 15px;
	margin-bottom: 48px;
}
.xin-offboard-why {
	font-size: clamp(32px, 5vw, 56px);
	font-weight: 800;
	margin-bottom: 32px;
	color: var(--xin-exponent-accent);
}
.xin-offboard-compare {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	gap: 20px;
	align-items: stretch;
	margin-bottom: 40px;
}
.xin-offboard-card {
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 16px;
	padding: 28px 24px;
}
.xin-offboard-card h4 {
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: rgba(255, 255, 255, 0.55);
	margin-bottom: 12px;
}
.xin-offboard-card p {
	font-size: 15px;
	line-height: 1.65;
	margin: 0;
	color: rgba(255, 255, 255, 0.88);
}
.xin-offboard-card strong {
	color: var(--xin-green);
}
.xin-offboard-x {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: clamp(48px, 8vw, 88px);
	font-weight: 900;
	line-height: 1;
	color: var(--xin-exponent-accent);
	text-shadow: 0 0 40px rgba(232, 93, 4, 0.4);
}
.xin-offboard-note {
	font-size: 15px;
	line-height: 1.75;
	color: rgba(255, 255, 255, 0.78);
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	padding-top: 32px;
}

/* ── Module 6: Last-mile logistics (Exponent application) ── */
.xin-lastmile {
	padding: 90px 0;
	background: linear-gradient(180deg, #f0f4f8 0%, #fff 100%);
}
.xin-lastmile .section-head {
	text-align: center;
	max-width: 780px;
	margin: 0 auto 50px;
	padding: 0 20px;
}
.xin-lastmile .section-head h2 {
	font-size: clamp(26px, 3.5vw, 38px);
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 12px;
}
.xin-lastmile .section-head p {
	font-size: 16px;
	color: var(--xin-muted);
	line-height: 1.65;
}
.xin-lastmile-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 20px;
}
.xin-lastmile-card {
	background: #fff;
	border-radius: 16px;
	padding: 36px 28px;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
	border: 1px solid #eef1f5;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.xin-lastmile-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 12px 40px rgba(53, 176, 74, 0.12);
}
.xin-lastmile-icon {
	width: 56px;
	height: 56px;
	border-radius: 14px;
	background: linear-gradient(135deg, rgba(53, 176, 74, 0.15), rgba(45, 154, 66, 0.08));
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 20px;
	font-size: 24px;
	color: var(--xin-green);
}
.xin-lastmile-card h3 {
	font-size: 20px;
	font-weight: 700;
	margin-bottom: 12px;
	color: var(--xin-text);
}
.xin-lastmile-card p {
	font-size: 14px;
	line-height: 1.65;
	color: var(--xin-muted);
	margin: 0;
}

/* ── Responsive ── */
@media (max-width: 991px) {
	.xin-shepherd-stage {
		grid-template-columns: 1fr;
		text-align: center;
	}
	.xin-shepherd-panel {
		order: 2;
	}
	.xin-shepherd-device {
		order: 1;
	}
	.xin-shepherd-panel li {
		text-align: left;
	}
	.xin-stack-node {
		width: 130px;
	}
	.xin-stack-node[data-node="virtual"] { left: 2%; }
	.xin-stack-node[data-node="dynamic"] { right: 2%; }
	.xin-offboard-compare {
		grid-template-columns: 1fr;
	}
	.xin-offboard-x {
		padding: 16px 0;
	}
	.xin-lastmile-grid {
		grid-template-columns: 1fr;
	}
}
@media (max-width: 768px) {
	.xin-apnaa-app {
		padding: 60px 0;
	}
	.xin-apnaa-phones {
		height: 300px;
		min-height: 300px;
	}
	.xin-stack-diagram {
		min-height: 520px;
	}
	.xin-stack-node {
		width: 120px;
		font-size: 12px;
	}
	.xin-stack-node[data-node="bms"] { top: 2%; }
	.xin-stack-node[data-node="virtual"] { left: 0; top: 32%; }
	.xin-stack-node[data-node="dynamic"] { right: 0; top: 32%; }
	.xin-stack-node[data-node="thermal"] { bottom: 2%; }
}

/* legacy feature list (if reused) */
.product-features-section .section-title,
#ttms11 {
	color: #1a1a1a;
	font-weight: 700;
	font-size: 36px;
	letter-spacing: -1px;
	margin-bottom: 30px;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}
.product-detailed-features-section { padding: 60px 0; background: #ffffff; }
.detailed-features-wrapper { max-width: 1400px; margin: 0 auto; }
.debita { display: flex; align-items: flex-start; gap: 50px; flex-wrap: wrap; }
.changpic { flex: 1; min-width: 300px; max-width: 600px; position: relative; }
.changpic img.feature-main-image { width: 100%; height: auto; opacity: 0; transition: opacity 0.4s ease; display: block; }
.changpic img.feature-main-image.active { opacity: 1; position: relative; z-index: 2; }
.changpic img.feature-main-image:not(.active) { position: absolute; top: 0; left: 0; z-index: 1; }
