/* Styles specific to the public /tutors marketing page (templ page.Tutors).
   Base landing-page styles come from index_sections.css (.ix-*); this file
   only adds the tutor-page extras, prefixed .tx-. */

/* ---- Hero extras: faint grid overlay + glow CTA ---- */
.tx-hero { position: relative; }
.tx-hero-grid {
	position: absolute; inset: 0; pointer-events: none;
	background-image:
		linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
	background-size: 44px 44px;
	-webkit-mask-image: radial-gradient(700px 520px at 68% 42%, rgba(0,0,0,0.9), transparent 75%);
	mask-image: radial-gradient(700px 520px at 68% 42%, rgba(0,0,0,0.9), transparent 75%);
}
.tx-hero .hero-text { padding: 130px 0 90px; }
.tx-btn-glow { position: relative; }
.tx-btn-glow::after {
	content: ""; position: absolute; inset: -3px; border-radius: inherit; z-index: -1;
	background: linear-gradient(90deg, #2196f3, #00e5ff, #69f0ae, #2196f3);
	background-size: 300% 100%; filter: blur(10px); opacity: 0.55;
	animation: txGlowShift 5s linear infinite;
}
@keyframes txGlowShift { 0% { background-position: 0% 0; } 100% { background-position: 300% 0; } }

/* ---- Hero product mockup: the live "Deliver" window ---- */
.tx-mock-wrap {
	position: relative;
	padding: 96px 0 70px 26px;
	perspective: 1400px;
}
.tx-mock-window {
	background: rgba(255,255,255,0.97);
	border-radius: 18px;
	border: 1px solid rgba(255,255,255,0.55);
	box-shadow:
		0 40px 90px -30px rgba(2, 18, 41, 0.75),
		0 0 0 1px rgba(13,71,161,0.06),
		0 0 80px -20px rgba(0,229,255,0.35);
	overflow: hidden;
	transform: rotateY(-8deg) rotateX(2.5deg);
	transform-style: preserve-3d;
	transition: transform 0.5s ease;
	animation: txHoverBob 7s ease-in-out infinite;
}
.tx-mock-wrap:hover .tx-mock-window { transform: rotateY(-2deg) rotateX(0.5deg); }
@keyframes txHoverBob { 0%, 100% { margin-top: 0; } 50% { margin-top: -10px; } }

/* ---- Subject marquee strip ---- */
.tx-marquee {
	display: block;
	width: 100%;
	background: linear-gradient(180deg, #103154, #0d2946);
	border-top: 1px solid rgba(255,255,255,0.06);
	padding: 22px 0 78px;
	overflow: hidden;
	position: relative;
}
.tx-marquee::before, .tx-marquee::after {
	content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none;
}
.tx-marquee::before { left: 0; background: linear-gradient(90deg, #0f2f50, transparent); }
.tx-marquee::after { right: 0; background: linear-gradient(-90deg, #0f2f50, transparent); }
.tx-marquee-track {
	display: flex; align-items: center; gap: 14px;
	width: max-content;
	animation: txMarquee 36s linear infinite;
}
.tx-marquee:hover .tx-marquee-track { animation-play-state: paused; }
@keyframes txMarquee { to { transform: translateX(-50%); } }
.tx-mq-item {
	display: inline-flex; align-items: center; gap: 9px;
	color: rgba(255,255,255,0.85); font-size: 13.5px; font-weight: 600;
	background: rgba(255,255,255,0.06);
	border: 1px solid rgba(255,255,255,0.12);
	border-radius: 999px; padding: 9px 18px;
	white-space: nowrap; margin-right: 14px;
}
.tx-mq-item i { color: #4fc3f7; font-size: 13px; }

/* ---- Showcase: "see it in action" animated product mocks ---- */
.tx-showcase {
	padding: 90px 0 40px;
	background:
		radial-gradient(900px 520px at -10% 20%, rgba(0,188,212,0.07), transparent 60%),
		radial-gradient(900px 520px at 110% 70%, rgba(33,150,243,0.08), transparent 60%),
		#fff;
	overflow: hidden;
}
.tx-showcase h2 { font-weight: 800; color: #103154; letter-spacing: -0.5px; }
.tx-show-row { margin-top: 64px; }
.tx-show-row:first-of-type { margin-top: 30px; }
.tx-show-copy { padding: 20px 10px; }
.tx-show-icon {
	width: 58px; height: 58px; border-radius: 16px;
	display: flex; align-items: center; justify-content: center;
	font-size: 25px; color: #fff; margin-bottom: 20px;
	background: linear-gradient(135deg, #1e88e5, #00acc1);
	box-shadow: 0 12px 26px -8px rgba(30,136,229,0.55);
}
.tx-show-icon.alt { background: linear-gradient(135deg, #7b1fa2, #e91e63); box-shadow: 0 12px 26px -8px rgba(233,30,99,0.5); }
.tx-show-icon.alt2 { background: linear-gradient(135deg, #f0a901, #f57c00); box-shadow: 0 12px 26px -8px rgba(245,124,0,0.5); }
.tx-show-copy h3 { font-size: 27px; font-weight: 800; color: #103154; letter-spacing: -0.5px; margin-bottom: 14px; }
.tx-show-copy p { color: #5b6b7c; font-size: 15.5px; line-height: 1.75; max-width: 480px; }
.tx-show-list { list-style: none; padding: 0; margin: 18px 0 0; }
.tx-show-list li { color: #33415a; font-size: 14.5px; font-weight: 600; margin-bottom: 10px; }
.tx-show-list li i { color: #1db954; margin-right: 10px; }

.tx-show-demo {
	position: relative;
	background: #fff;
	border: 1px solid rgba(33,150,243,0.13);
	border-radius: 20px;
	padding: 26px;
	box-shadow: 0 30px 70px -34px rgba(13,46,84,0.4);
}

/* Demo 1 - live delivery sync */
.tx-demo-deliver { display: flex; align-items: center; gap: 0; min-height: 300px; }
.tx-mini-bar {
	display: flex; align-items: center; gap: 5px;
	padding: 8px 10px;
	background: #eef5fc; border-bottom: 1px solid rgba(33,150,243,0.12);
	border-radius: 12px 12px 0 0;
}
.tx-mini-bar span { width: 8px; height: 8px; border-radius: 50%; background: #cfe0f1; display: inline-block; }
.tx-mini-bar em { font-style: normal; font-size: 10px; font-weight: 700; color: #62708a; margin-left: 6px; }
.tx-deliver-tutor {
	flex: 0 0 42%;
	border: 1px solid rgba(33,150,243,0.16);
	border-radius: 12px;
	box-shadow: 0 16px 36px -20px rgba(13,46,84,0.35);
	background: #fff; z-index: 2;
}
.tx-mini-body { padding: 14px 12px; }
.tx-mini-body .blk, .tx-mini-screen .blk {
	border-radius: 6px; margin-bottom: 8px;
	animation: txBlkCycle 5s ease-in-out infinite;
}
.blk.b1 { height: 34px; background: linear-gradient(90deg, rgba(33,150,243,0.25), rgba(0,188,212,0.25)); }
.blk.b2 { height: 12px; width: 85%; background: rgba(16,49,84,0.12); animation-delay: 0.25s; }
.blk.b3 { height: 12px; width: 60%; background: rgba(16,49,84,0.09); animation-delay: 0.5s; }
@keyframes txBlkCycle {
	0%, 8% { opacity: 0; transform: translateY(6px); }
	16%, 88% { opacity: 1; transform: none; }
	96%, 100% { opacity: 0; transform: translateY(6px); }
}
.tx-deliver-beam { flex: 1; position: relative; height: 3px; background: rgba(33,150,243,0.18); margin: 0 -1px; min-width: 46px; }
.tx-deliver-beam .pulse {
	position: absolute; top: 50%; left: 0;
	width: 10px; height: 10px; margin-top: -5px; border-radius: 50%;
	background: #00e5ff; box-shadow: 0 0 12px 2px rgba(0,229,255,0.7);
	animation: txBeam 1.8s linear infinite;
}
.tx-deliver-beam .pulse.pu2 { animation-delay: 0.6s; }
.tx-deliver-beam .pulse.pu3 { animation-delay: 1.2s; }
@keyframes txBeam { 0% { left: -4px; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 4px); opacity: 0; } }
.tx-deliver-students { flex: 0 0 40%; display: flex; flex-direction: column; gap: 10px; z-index: 2; }
.tx-mini-screen {
	position: relative;
	border: 1px solid rgba(33,150,243,0.16);
	border-radius: 10px; padding: 10px 10px 4px;
	background: #fff;
	box-shadow: 0 12px 26px -18px rgba(13,46,84,0.35);
}
.tx-mini-screen .blk { transform-origin: top; }
.tx-mini-screen .blk.b1 { height: 18px; }
.tx-mini-screen .blk.b2 { height: 8px; }
.tx-mini-screen .blk.b3 { height: 8px; margin-bottom: 6px; }
.tx-mini-screen.s1 .blk { animation-delay: 0.35s; }
.tx-mini-screen.s2 .blk { animation-delay: 0.5s; }
.tx-mini-screen.s3 .blk { animation-delay: 0.65s; }
.tx-mini-tag {
	position: absolute; top: -8px; right: 8px;
	background: linear-gradient(135deg, #1e88e5, #00acc1);
	color: #fff; font-size: 9px; font-weight: 800;
	border-radius: 999px; padding: 2px 9px;
	box-shadow: 0 4px 10px -3px rgba(30,136,229,0.6);
}

/* Demo 2 - whiteboard */
.tx-demo-board { min-height: 300px; background: repeating-linear-gradient(0deg, #fff, #fff 26px, rgba(33,150,243,0.05) 27px); }
.tx-board-tools {
	position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
	display: flex; gap: 8px; align-items: center;
	background: #fff; border: 1px solid rgba(33,150,243,0.16);
	border-radius: 999px; padding: 7px 12px;
	box-shadow: 0 10px 26px -14px rgba(13,46,84,0.4);
	z-index: 2;
}
.tx-board-tools .tool { width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.tx-board-tools .tool.t1 { background: #2196f3; box-shadow: 0 0 0 3px rgba(33,150,243,0.25); }
.tx-board-tools .tool.t2 { background: #e91e63; }
.tx-board-tools .tool.t3 { background: #1db954; }
.tx-board-tools .tool.t4 { background: #f1f5fa; color: #62708a; font-size: 10px; }
.tx-demo-board svg { width: 100%; height: auto; display: block; margin-top: 26px; }
.tx-draw {
	fill: none; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round;
	stroke-dasharray: 1; stroke-dashoffset: 1;
}
.tx-draw.d1 { stroke: #2196f3; animation: txDrawLoop 9s ease-in-out infinite; }
.tx-draw.d2 { stroke: #e91e63; animation: txDrawLoop 9s ease-in-out 1.2s infinite; }
.tx-draw.d3 { stroke: #1db954; animation: txDrawLoop 9s ease-in-out 2.4s infinite; }
.tx-draw.d4 { stroke: #f57c00; animation: txDrawLoop 9s ease-in-out 3.4s infinite; }
@keyframes txDrawLoop {
	0% { stroke-dashoffset: 1; }
	22%, 82% { stroke-dashoffset: 0; }
	95%, 100% { stroke-dashoffset: 1; }
}
.tx-board-caption {
	position: absolute; bottom: 16px; right: 22px;
	font-size: 13px; font-weight: 800; color: #103154;
	background: rgba(105,240,174,0.2); border-radius: 8px; padding: 5px 12px;
}

/* Demo 3 - progress analytics */
.tx-demo-progress { min-height: 300px; }
.tx-prog-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.tx-prog-range { font-size: 12px; font-weight: 700; color: #62708a; background: #f1f6fc; border-radius: 999px; padding: 5px 14px; }
.tx-prog-grid { display: flex; gap: 20px; align-items: stretch; }
.tx-prog-chart { flex: 1.4; display: flex; flex-direction: column; justify-content: flex-end; }
.tx-prog-chart .bars { display: flex; align-items: flex-end; gap: 10px; height: 170px; }
.tx-prog-chart .bar {
	flex: 1; border-radius: 8px 8px 4px 4px; height: 0;
	background: linear-gradient(180deg, #29b6f6, #1976d2);
	animation: txBarGrow 1.1s cubic-bezier(0.3, 0, 0.2, 1) forwards;
	transform-origin: bottom;
}
.tx-prog-chart .bar.h1 { --h: 45%; animation-delay: 0.1s; }
.tx-prog-chart .bar.h2 { --h: 62%; animation-delay: 0.2s; }
.tx-prog-chart .bar.h3 { --h: 38%; animation-delay: 0.3s; }
.tx-prog-chart .bar.h4 { --h: 74%; animation-delay: 0.4s; }
.tx-prog-chart .bar.h5 { --h: 58%; animation-delay: 0.5s; }
.tx-prog-chart .bar.h6 { --h: 86%; animation-delay: 0.6s; }
.tx-prog-chart .bar.h7 { --h: 100%; animation-delay: 0.7s; background: linear-gradient(180deg, #69f0ae, #00bfa5); }
@keyframes txBarGrow { to { height: var(--h, 50%); } }
.tx-prog-chart .labels { display: flex; gap: 10px; margin-top: 8px; }
.tx-prog-chart .labels span { flex: 1; text-align: center; font-size: 11px; font-weight: 700; color: #8a99a8; }
.tx-prog-stats { flex: 1; display: flex; flex-direction: column; gap: 12px; }
.tx-prog-stat {
	flex: 1; display: flex; flex-direction: column; justify-content: center;
	background: #f7fafd; border: 1px solid rgba(33,150,243,0.1);
	border-radius: 14px; padding: 12px 18px;
}
.tx-prog-stat .v { font-size: 22px; font-weight: 800; color: #103154; line-height: 1.2; }
.tx-prog-stat .k { font-size: 11.5px; font-weight: 600; color: #8a99a8; }

/* ---- Audience cards ---- */
/* ---- Who it's for: dark band, horizontal rows ---- */
.tx-audience {
	padding: 96px 0;
	color: #fff;
	background:
		radial-gradient(700px 360px at 85% 0%, rgba(0, 229, 255, 0.16), transparent 60%),
		radial-gradient(600px 320px at 0% 100%, rgba(33, 150, 243, 0.22), transparent 60%),
		#0d2447;
}
.tx-audience .ix-kicker { color: #4fc3f7; }
.tx-audience-head h2 { color: #fff; font-size: 38px; font-weight: 800; margin-bottom: 0; line-height: 1.15; }
.tx-audience-head p { color: rgba(255, 255, 255, 0.72); font-size: 16px; margin: 0; line-height: 1.7; }
.tx-audience-list { margin-top: 48px; display: flex; flex-direction: column; gap: 14px; }
.tx-audience-row {
	display: grid;
	grid-template-columns: 72px 1.5fr 1fr;
	gap: 28px;
	align-items: center;
	padding: 28px 32px;
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.tx-audience-row:hover { background: rgba(255, 255, 255, 0.09); border-color: rgba(79, 195, 247, 0.45); transform: translateX(6px); }
.tx-audience-icon {
	width: 72px; height: 72px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	font-size: 26px; color: #0d2447;
	background: linear-gradient(135deg, #69f0ae, #00e5ff);
	box-shadow: 0 12px 28px -10px rgba(0, 229, 255, 0.6);
}
.tx-audience-tag {
	display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
	color: #69f0ae; margin-bottom: 8px;
}
.tx-audience-body h3 { color: #fff; font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.tx-audience-body p { color: rgba(255, 255, 255, 0.72); font-size: 14.5px; margin: 0; line-height: 1.65; }
.tx-audience-fits {
	list-style: none; margin: 0; padding: 0 0 0 28px;
	border-left: 1px solid rgba(255, 255, 255, 0.12);
	display: flex; flex-direction: column; gap: 10px;
}
.tx-audience-fits li { font-size: 14px; color: rgba(255, 255, 255, 0.88); display: flex; align-items: center; gap: 10px; }
.tx-audience-fits li i {
	width: 20px; height: 20px; border-radius: 50%; flex: 0 0 20px;
	display: flex; align-items: center; justify-content: center;
	font-size: 10px; color: #0d2447; background: #69f0ae;
}
@media (max-width: 991px) {
	.tx-audience { padding: 70px 0; }
	.tx-audience-head h2 { font-size: 30px; margin-bottom: 14px; }
	.tx-audience-row { grid-template-columns: 56px 1fr; gap: 18px 20px; padding: 24px; }
	.tx-audience-icon { width: 56px; height: 56px; font-size: 22px; }
	.tx-audience-fits { grid-column: 2; border-left: 0; padding-left: 0; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
	.tx-audience-row:hover { transform: none; }
}

/* ---- FAQ accordion ---- */
.tx-faq { padding: 90px 0; }
.tx-faq-item {
	background: #fff;
	border: 1px solid rgba(33, 150, 243, 0.12);
	border-radius: 14px;
	margin-bottom: 14px;
	box-shadow: 0 12px 30px -26px rgba(13, 71, 161, 0.45);
	overflow: hidden;
}
.tx-faq-item summary {
	cursor: pointer;
	list-style: none;
	padding: 18px 52px 18px 22px;
	font-size: 16px;
	font-weight: 600;
	color: #1a2b4a;
	position: relative;
	user-select: none;
}
.tx-faq-item summary::-webkit-details-marker { display: none; }
.tx-faq-item summary::after {
	content: "\002B";
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	width: 26px;
	height: 26px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	font-weight: 700;
	color: #1976d2;
	background: rgba(33, 150, 243, 0.1);
	transition: transform 0.2s ease;
}
.tx-faq-item[open] summary::after {
	content: "\2212";
	transform: translateY(-50%) rotate(180deg);
}
.tx-faq-item p {
	padding: 0 22px 20px;
	margin: 0;
	font-size: 14px;
	color: #62708a;
	line-height: 1.7;
}

/* ---- Final CTA band spacing (reuses .ix-tutor-cta visuals) ---- */
.tx-cta-section { padding: 0 0 100px; }

/* ==== Tutorio AI section (#ai) ==== */
.tx-ai {
	position: relative;
	padding: 100px 0 60px;
	background: linear-gradient(180deg, #0a1020 0%, #0d1830 55%, #0a1224 100%);
	overflow: hidden;
	color: #eef1f8;
}
.tx-ai-bg { position: absolute; inset: 0; pointer-events: none; }
.tx-ai-orb {
	position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.5;
	animation: txAiOrb 14s ease-in-out infinite alternate;
}
.tx-ai-orb.a { width: 480px; height: 480px; top: -140px; left: -120px; background: radial-gradient(circle, rgba(124,58,237,0.5), transparent 70%); }
.tx-ai-orb.b { width: 560px; height: 560px; bottom: -180px; right: -140px; background: radial-gradient(circle, rgba(0,229,255,0.35), transparent 70%); animation-delay: -7s; }
@keyframes txAiOrb { from { transform: translate(0, 0) scale(1); } to { transform: translate(60px, 40px) scale(1.15); } }
.tx-ai-grid {
	position: absolute; inset: 0;
	background-image:
		linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
	background-size: 46px 46px;
	-webkit-mask-image: radial-gradient(800px 600px at 50% 30%, rgba(0,0,0,0.9), transparent 75%);
	mask-image: radial-gradient(800px 600px at 50% 30%, rgba(0,0,0,0.9), transparent 75%);
}
.tx-ai .section-title h2 { color: #fff; font-weight: 800; letter-spacing: -0.5px; }
.tx-ai .section-title p { color: #9aa6c0; }
.tx-ai-grad {
	background: linear-gradient(90deg, #a78bfa, #00e5ff, #69f0ae, #a78bfa);
	background-size: 300% 100%;
	-webkit-background-clip: text; background-clip: text;
	-webkit-text-fill-color: transparent; color: transparent;
	animation: txGlowShift 6s linear infinite;
}
.tx-ai-kicker {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 12px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
	color: #c4b5fd;
	background: rgba(124,58,237,0.16);
	border: 1px solid rgba(167,139,250,0.35);
	border-radius: 999px; padding: 7px 16px; margin-bottom: 16px;
	box-shadow: 0 0 30px -8px rgba(124,58,237,0.6);
}
.tx-ai-kicker i { color: #00e5ff; }
.tx-ai-row { margin-top: 60px; position: relative; z-index: 2; }
.tx-ai-copy h3 { color: #fff; }
.tx-ai-copy p { color: #9aa6c0; }
.tx-ai-copy .tx-show-list li { color: #c6cddd; }
.tx-show-icon.ai { background: linear-gradient(135deg, #7c3aed, #00e5ff); box-shadow: 0 12px 30px -8px rgba(124,58,237,0.7); }
.tx-show-icon.ai2 { background: linear-gradient(135deg, #00bfa5, #69f0ae); box-shadow: 0 12px 30px -8px rgba(0,191,165,0.6); }

/* -- AI console: the real "Building Your Course" generation modal (12s loop) --
   Dark glass to match the #ai section; every element streams in with springy,
   staggered motion. */
.tx-ai-console {
	position: relative;
	background: linear-gradient(165deg, #1a213c, #0d1224);
	border: 1px solid rgba(148,163,255,0.18);
	border-radius: 24px;
	padding: 20px;
	box-shadow:
		0 40px 90px -40px rgba(0,0,0,0.9),
		0 0 70px -18px rgba(124,58,237,0.45),
		inset 0 1px 0 rgba(255,255,255,0.07);
	transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
	transform-style: preserve-3d;
}
.tx-ai-console:hover {
	transform: perspective(1100px) rotateX(var(--rx, 1.6deg)) rotateY(var(--ry, -2deg)) translateY(-6px);
	box-shadow:
		0 55px 110px -40px rgba(0,0,0,0.95),
		0 0 90px -14px rgba(124,58,237,0.6),
		inset 0 1px 0 rgba(255,255,255,0.09);
}
/* Animated conic border that chases around the card while it "thinks" */
.tx-ai-console::before {
	content: ""; position: absolute; inset: -2px; border-radius: 26px; z-index: -1;
	background: conic-gradient(from var(--tx-sweep, 0deg),
		rgba(124,58,237,0.0) 0deg, rgba(124,58,237,0.9) 60deg,
		rgba(0,229,255,0.8) 130deg, rgba(105,240,174,0.6) 200deg,
		rgba(124,58,237,0.0) 300deg);
	animation: txConicSweep 5s linear infinite;
	filter: blur(9px); opacity: 0.4;
}
/* Aurora sheen drifting across the glass */
.tx-ai-console::after {
	content: ""; position: absolute; inset: 0; border-radius: 24px; pointer-events: none;
	background: linear-gradient(115deg, transparent 34%, rgba(167,139,250,0.06) 46%, rgba(0,229,255,0.05) 54%, transparent 66%);
	background-size: 260% 100%;
	animation: txAurora 7s ease-in-out infinite;
}
@property --tx-sweep {
	syntax: "<angle>";
	initial-value: 0deg;
	inherits: false;
}
@keyframes txConicSweep { to { --tx-sweep: 360deg; } }
@keyframes txAurora {
	0%, 100% { background-position: 120% 0; }
	50% { background-position: -20% 0; }
}
.tx-ai-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.tx-ai-logo {
	width: 36px; height: 36px; border-radius: 12px;
	display: flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, #6366f1, #8b5cf6);
	color: #fff; font-size: 15px;
	box-shadow: 0 8px 18px -6px rgba(99,102,241,0.8), 0 0 24px -4px rgba(139,92,246,0.7);
	animation: txLogoPulse 3s ease-in-out infinite;
}
@keyframes txLogoPulse {
	0%, 100% { box-shadow: 0 8px 18px -6px rgba(99,102,241,0.8), 0 0 18px -6px rgba(139,92,246,0.5); transform: scale(1); }
	50% { box-shadow: 0 8px 22px -6px rgba(99,102,241,0.9), 0 0 34px -2px rgba(139,92,246,0.9); transform: scale(1.06); }
}
.tx-ai-head .ttl b { display: block; font-size: 15px; font-weight: 800; color: #f2f4fc; line-height: 1.2; }
.tx-ai-head .ttl small { font-size: 11px; color: #93a0bd; font-weight: 600; }
/* Hero course card - mirrors .gc-course-card in the content dashboard */
.tx-gc-card {
	border: 1px solid rgba(148,163,255,0.16); border-radius: 16px; overflow: hidden;
	background: rgba(255,255,255,0.045);
	animation: txAiCardIn 12s cubic-bezier(0.2, 0.9, 0.3, 1.25) infinite;
}
@keyframes txAiCardIn {
	0%, 4% { opacity: 0; transform: translateY(12px) scale(0.96); }
	9%, 97% { opacity: 1; transform: none; }
	100% { opacity: 0; }
}
.tx-gc-card .banner {
	height: 44px; position: relative;
	background: linear-gradient(120deg, #6366f1, #8b5cf6, #ec4899, #8b5cf6, #6366f1);
	background-size: 300% 100%;
	animation: txGlowShift 7s linear infinite;
}
.tx-gc-card .banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgba(13,18,36,0.55)); }
.tx-gc-card .body { display: flex; align-items: center; gap: 12px; padding: 0 14px 12px; }
.tx-gc-card .icon {
	flex: 0 0 46px; width: 46px; height: 46px; margin-top: -22px;
	border-radius: 14px; background: #1b2340; border: 1px solid rgba(148,163,255,0.28);
	box-shadow: 0 8px 18px -8px rgba(0,0,0,0.6), 0 0 22px -6px rgba(139,92,246,0.55);
	display: flex; align-items: center; justify-content: center;
	color: #a5b4fc; font-size: 18px;
	animation: txFloaty 5s ease-in-out infinite;
}
.tx-gc-card .meta { min-width: 0; }
.tx-gc-card .meta b { display: block; font-size: 14.5px; font-weight: 800; color: #f2f4fc; }
.tx-gc-card .meta small { font-size: 11px; color: #93a0bd; font-weight: 600; }
.tx-gc-card .stats { margin-left: auto; display: flex; gap: 18px; }
.tx-gc-card .stat { text-align: center; }
.tx-gc-card .stat b {
	display: block; font-size: 17px; font-weight: 800; color: #fff;
	font-variant-numeric: tabular-nums; line-height: 1.1;
	text-shadow: 0 0 18px rgba(167,139,250,0.65);
	animation: txStatPop 12s cubic-bezier(0.2, 0.9, 0.3, 1.4) infinite;
}
@keyframes txStatPop {
	0%, 8% { opacity: 0; transform: scale(0.4); }
	12%, 97% { opacity: 1; transform: scale(1); }
	100% { opacity: 0; }
}
.tx-gc-card .stat small { font-size: 9px; letter-spacing: 1px; text-transform: uppercase; color: #7c89ab; font-weight: 700; }
/* Streaming curriculum - topics + subtopic pills, as in #gc-curriculum */
.tx-gc-curriculum { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.tx-gc-topic {
	position: relative; overflow: hidden;
	background: rgba(255,255,255,0.045); border: 1px solid rgba(148,163,255,0.14);
	border-radius: 14px; padding: 10px 12px;
	opacity: 0; transform: translateY(14px) scale(0.96);
	animation: txAiTopicIn 12s cubic-bezier(0.2, 0.9, 0.3, 1.3) infinite;
	transition: border-color 0.25s ease, background 0.25s ease;
}
.tx-gc-topic:hover { border-color: rgba(167,139,250,0.5); background: rgba(124,58,237,0.12); }
/* Materialisation flash that washes over each topic as it lands */
.tx-gc-topic::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(105deg, transparent 20%, rgba(167,139,250,0.28) 50%, transparent 80%);
	background-size: 250% 100%;
	background-position: 120% 0;
	animation: txTopicFlash 12s ease infinite;
}
@keyframes txTopicFlash {
	0%, 30% { background-position: 120% 0; opacity: 0; }
	33% { opacity: 1; }
	40%, 100% { background-position: -60% 0; opacity: 0; }
}
.tx-gc-topic.t2::after { animation-name: txTopicFlash2; }
@keyframes txTopicFlash2 {
	0%, 40% { background-position: 120% 0; opacity: 0; }
	43% { opacity: 1; }
	50%, 100% { background-position: -60% 0; opacity: 0; }
}
.tx-gc-topic.t3::after { animation-name: txTopicFlash3; }
@keyframes txTopicFlash3 {
	0%, 50% { background-position: 120% 0; opacity: 0; }
	53% { opacity: 1; }
	60%, 100% { background-position: -60% 0; opacity: 0; }
}
/* Per-card start offsets are baked into three keyframe variants because CSS
   can't parameterise keyframe percentages with custom properties. */
@keyframes txAiTopicIn {
	0%, 28% { opacity: 0; transform: translateY(14px) scale(0.96); }
	33%, 96% { opacity: 1; transform: none; }
	100% { opacity: 0; }
}
.tx-gc-topic.t2 { animation-name: txAiTopicIn2; }
@keyframes txAiTopicIn2 {
	0%, 38% { opacity: 0; transform: translateY(14px) scale(0.96); }
	43%, 96% { opacity: 1; transform: none; }
	100% { opacity: 0; }
}
.tx-gc-topic.t3 { animation-name: txAiTopicIn3; }
@keyframes txAiTopicIn3 {
	0%, 48% { opacity: 0; transform: translateY(14px) scale(0.96); }
	53%, 96% { opacity: 1; transform: none; }
	100% { opacity: 0; }
}
.tx-gc-topic .head { display: flex; align-items: center; gap: 9px; min-width: 0; }
.tx-gc-topic .head .ic {
	flex: 0 0 30px; width: 30px; height: 30px; border-radius: 10px;
	display: flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, rgba(99,102,241,0.28), rgba(139,92,246,0.28));
	border: 1px solid rgba(148,163,255,0.25);
	color: #a5b4fc; font-size: 12.5px;
}
.tx-gc-topic .head b { font-size: 12.5px; font-weight: 700; color: #eef1fb; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tx-gc-topic .pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
/* Subtopic pills pop in one-by-one just after their topic card lands */
.tx-gc-topic .pill {
	display: inline-flex; align-items: center; gap: 5px;
	background: rgba(255,255,255,0.06); border: 1px solid rgba(148,163,255,0.22);
	border-radius: 50rem;
	padding: 3px 10px; font-size: 10.5px; font-weight: 600; color: #c6cddd;
	opacity: 0; transform: scale(0.6);
	animation: txPillPop 12s cubic-bezier(0.34, 1.56, 0.64, 1) infinite both;
	transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.tx-gc-topic .pill:hover { border-color: rgba(167,139,250,0.7); color: #fff; transform: translateY(-1px); }
.tx-gc-topic .pill i { color: #a78bfa; font-size: 9px; }
.tx-gc-topic .pill:nth-child(2) { animation-delay: 0.35s; }
@keyframes txPillPop {
	0%, 33% { opacity: 0; transform: scale(0.6); }
	37%, 96% { opacity: 1; transform: scale(1); }
	100% { opacity: 0; }
}
.tx-gc-topic.t2 .pill { animation-name: txPillPop2; }
@keyframes txPillPop2 {
	0%, 43% { opacity: 0; transform: scale(0.6); }
	47%, 96% { opacity: 1; transform: scale(1); }
	100% { opacity: 0; }
}
.tx-gc-topic.t3 .pill { animation-name: txPillPop3; }
@keyframes txPillPop3 {
	0%, 53% { opacity: 0; transform: scale(0.6); }
	57%, 96% { opacity: 1; transform: scale(1); }
	100% { opacity: 0; }
}
/* Dashed status strip: "Generating your curriculum…" with shimmering text */
.tx-gc-status {
	margin-top: 12px;
	display: flex; align-items: center; gap: 8px;
	border: 1px dashed rgba(167,139,250,0.4); background: rgba(124,58,237,0.09);
	border-radius: 12px;
	padding: 8px 12px; font-size: 11.5px; font-weight: 700;
	background-image: linear-gradient(90deg, #93a0bd 30%, #e9d5ff 50%, #93a0bd 70%);
	background-size: 200% 100%;
	-webkit-background-clip: text; background-clip: text;
	-webkit-text-fill-color: transparent; color: transparent;
	opacity: 0;
	animation: txAiThink 12s ease infinite, txTextShimmer 2.2s linear infinite;
}
.tx-gc-status i { -webkit-text-fill-color: #a78bfa; animation: txSpin 1.5s linear infinite; }
@keyframes txTextShimmer {
	from { background-position: 120% 0; }
	to { background-position: -80% 0; }
}
@keyframes txAiThink {
	0%, 18% { opacity: 0; }
	22%, 60% { opacity: 1; }
	66%, 100% { opacity: 0; }
}
@keyframes txAiDot { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
/* Completion CTA: "Ready to generate content?" */
.tx-gc-cta {
	margin-top: 12px;
	display: flex; align-items: center; gap: 10px;
	background: linear-gradient(120deg, rgba(124,58,237,0.18), rgba(0,229,255,0.08));
	border: 1px solid rgba(167,139,250,0.35); border-radius: 12px; padding: 10px 12px;
	opacity: 0;
	animation: txAiFootIn 12s cubic-bezier(0.2, 0.9, 0.3, 1.3) infinite;
}
@keyframes txAiFootIn {
	0%, 60% { opacity: 0; transform: translateY(10px) scale(0.97); }
	66%, 96% { opacity: 1; transform: none; }
	100% { opacity: 0; }
}
.tx-gc-cta .txt { min-width: 0; }
.tx-gc-cta .txt b { display: block; font-size: 12px; font-weight: 800; color: #f2f4fc; }
.tx-gc-cta .txt small { font-size: 10.5px; color: #93a0bd; font-weight: 600; }
.tx-gc-go {
	margin-left: auto; white-space: nowrap;
	display: inline-flex; align-items: center; gap: 6px;
	font-size: 11px; font-weight: 800; color: #fff;
	background: linear-gradient(135deg, #6d28d9, #4f46e5); border-radius: 999px; padding: 7px 13px;
	box-shadow: 0 8px 20px -8px rgba(79,70,229,0.9);
	animation: txGoPulse 2.4s ease-in-out infinite;
	transition: transform 0.2s ease;
}
.tx-gc-go:hover { transform: scale(1.06); }
@keyframes txGoPulse {
	0%, 100% { box-shadow: 0 8px 20px -8px rgba(79,70,229,0.9), 0 0 0 0 rgba(139,92,246,0.55); }
	50% { box-shadow: 0 8px 24px -8px rgba(79,70,229,1), 0 0 0 9px rgba(139,92,246,0); }
}
/* Sparks now shoot upward with a comet-like fade */
.tx-ai-spark {
	position: absolute; width: 5px; height: 5px; border-radius: 50%;
	background: #00e5ff; box-shadow: 0 0 12px 3px rgba(0,229,255,0.8);
	animation: txAiSpark 4s ease-in-out infinite;
	pointer-events: none;
}
.tx-ai-spark.s1 { top: -8px; right: 40px; }
.tx-ai-spark.s2 { bottom: 30px; left: -8px; background: #a78bfa; box-shadow: 0 0 12px 3px rgba(167,139,250,0.8); animation-delay: -1.4s; }
.tx-ai-spark.s3 { top: 50%; right: -7px; background: #69f0ae; box-shadow: 0 0 12px 3px rgba(105,240,174,0.8); animation-delay: -2.8s; }
@keyframes txAiSpark {
	0%, 100% { opacity: 0; transform: scale(0.3) translate(0, 0); }
	45% { opacity: 1; transform: scale(1.15) translate(6px, -22px); }
	70% { opacity: 0.4; transform: scale(0.7) translate(10px, -34px); }
}

/* -- AI marking demo: the real "Tutorio AI Insight" card (9s loop) -- */
.tx-ai-markdemo {
	position: relative;
	background: linear-gradient(165deg, #141c32, #0c1122);
	border: 1px solid rgba(0,229,255,0.22);
	border-radius: 20px;
	padding: 18px;
	box-shadow: 0 40px 90px -40px rgba(0,0,0,0.9), 0 0 70px -18px rgba(0,229,255,0.3), inset 0 1px 0 rgba(255,255,255,0.06);
	transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}
.tx-ai-markdemo:hover {
	transform: perspective(1100px) rotateX(var(--rx, 1.6deg)) rotateY(var(--ry, 2deg)) translateY(-6px);
	box-shadow: 0 55px 110px -40px rgba(0,0,0,0.95), 0 0 90px -14px rgba(0,229,255,0.45), inset 0 1px 0 rgba(255,255,255,0.08);
}
.tx-ai-q {
	position: relative; overflow: hidden;
	background: rgba(255,255,255,0.05); border: 1px solid rgba(148,163,255,0.16);
	border-radius: 13px; padding: 14px 16px;
}
.tx-ai-qchip {
	display: inline-flex; align-items: center; gap: 6px;
	font-size: 10.5px; font-weight: 800; color: #c4b5fd;
	background: rgba(124,58,237,0.2); border: 1px solid rgba(167,139,250,0.3);
	border-radius: 999px; padding: 4px 11px;
	margin-bottom: 8px;
}
.tx-ai-q .qt { font-size: 13.5px; font-weight: 700; color: #eef1fb; margin: 0 0 10px; }
.tx-ai-q .ans { display: flex; flex-direction: column; gap: 7px; }
/* Handwriting skeleton lines draw themselves in before the scan pass */
.tx-ai-q .ans .l {
	display: block; height: 9px; border-radius: 5px;
	background: linear-gradient(90deg, rgba(148,163,255,0.35), rgba(148,163,255,0.18));
	transform-origin: left; transform: scaleX(0);
	animation: txAnsWrite 9s ease-out infinite;
}
.tx-ai-q .ans .l1 { width: 92%; }
.tx-ai-q .ans .l2 { width: 84%; animation-name: txAnsWrite2; }
.tx-ai-q .ans .l3 { width: 55%; animation-name: txAnsWrite3; }
@keyframes txAnsWrite {
	0% { transform: scaleX(0); } 6% { transform: scaleX(1); } 100% { transform: scaleX(1); }
}
@keyframes txAnsWrite2 {
	0%, 4% { transform: scaleX(0); } 10% { transform: scaleX(1); } 100% { transform: scaleX(1); }
}
@keyframes txAnsWrite3 {
	0%, 8% { transform: scaleX(0); } 13% { transform: scaleX(1); } 100% { transform: scaleX(1); }
}
.tx-ai-scan {
	position: absolute; left: 0; right: 0; top: -40%; height: 46px;
	background: linear-gradient(180deg, transparent, rgba(0,229,255,0.4), rgba(124,58,237,0.4), transparent);
	box-shadow: 0 0 30px rgba(0,229,255,0.35);
	animation: txAiScan 9s ease-in-out infinite;
}
/* Crisp laser line at the centre of the scan band */
.tx-ai-scan::after {
	content: ""; position: absolute; left: 4%; right: 4%; top: 50%; height: 2px;
	background: linear-gradient(90deg, transparent, #00e5ff, #a78bfa, transparent);
	box-shadow: 0 0 12px 2px rgba(0,229,255,0.9);
	border-radius: 2px;
}
@keyframes txAiScan {
	0%, 12% { top: -30%; opacity: 0; }
	15% { opacity: 1; }
	24% { top: 105%; }
	26% { top: 80%; }
	32% { top: 105%; opacity: 1; }
	36%, 100% { top: 105%; opacity: 0; }
}
/* Dark glass insight card with the practice page's gradient top bar */
.tx-insight {
	position: relative; overflow: hidden;
	margin-top: 12px;
	background: rgba(255,255,255,0.05); border: 1px solid rgba(148,163,255,0.18); border-radius: 18px;
	padding: 16px 16px 13px;
	opacity: 0;
	animation: txAiVerdictIn 9s cubic-bezier(0.2, 0.9, 0.3, 1.3) infinite;
}
@keyframes txAiVerdictIn {
	0%, 32% { opacity: 0; transform: translateY(14px) scale(0.96); }
	38%, 97% { opacity: 1; transform: none; }
	100% { opacity: 0; }
}
.tx-insight .ihead { display: flex; align-items: center; gap: 10px; }
.tx-insight .ihead .av {
	flex: 0 0 36px; width: 36px; height: 36px; border-radius: 12px;
	display: flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, #4c6fff, #8b5cf6);
	color: #fff; font-size: 14px;
	box-shadow: 0 0 22px -4px rgba(139,92,246,0.7);
}
.tx-insight .ihead .t b { display: block; font-size: 10.5px; letter-spacing: 0.6px; text-transform: uppercase; font-weight: 800; color: #dfe5f5; }
.tx-insight .ihead .t small { font-size: 10px; color: #8b98b8; font-weight: 600; }
.tx-insight .marks {
	margin-left: auto;
	background: #38a3f1; color: #fff; border-radius: 999px;
	padding: 5px 12px; font-size: 12.5px; font-weight: 800;
	box-shadow: 0 6px 16px -6px rgba(56,163,241,0.8), 0 0 24px -4px rgba(56,163,241,0.7);
	animation: txMarksPop 9s cubic-bezier(0.34, 1.56, 0.64, 1) infinite both;
}
@keyframes txMarksPop {
	0%, 40% { opacity: 0; transform: scale(0.3) rotate(-12deg); }
	46%, 97% { opacity: 1; transform: scale(1) rotate(0deg); }
	100% { opacity: 0; }
}
.tx-insight .itier { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.tx-insight .itier .emoji {
	flex: 0 0 40px; width: 40px; height: 40px; border-radius: 13px;
	background: rgba(56,163,241,0.16);
	display: flex; align-items: center; justify-content: center; font-size: 20px;
	animation: txFloaty 4s ease-in-out infinite;
}
.tx-insight .itier .t { min-width: 0; }
.tx-insight .itier .t b { display: block; font-size: 13px; font-weight: 800; color: #f2f4fc; }
.tx-insight .itier .t small { font-size: 10.5px; color: #93a0bd; font-weight: 600; }
.tx-insight .itier .stars { margin-left: auto; display: flex; gap: 3px; font-size: 13px; color: rgba(255,255,255,0.16); }
.tx-insight .itier .stars .lit { color: #ffc93c; text-shadow: 0 0 14px rgba(255,201,60,0.8); }
/* Stars slam in one after another once the verdict lands */
.tx-insight .itier .stars .lit { animation: txStarPop 9s cubic-bezier(0.34, 1.8, 0.64, 1) infinite both; }
.tx-insight .itier .stars .lit:nth-child(2) { animation-delay: 0.25s; }
@keyframes txStarPop {
	0%, 44% { opacity: 0; transform: scale(0) rotate(-90deg); }
	50%, 100% { opacity: 1; transform: scale(1) rotate(0deg); }
}
.tx-insight .ibar { margin-top: 11px; }
.tx-insight .ibar .lbl { display: flex; align-items: center; justify-content: space-between; }
.tx-insight .ibar .lbl span { font-size: 9.5px; text-transform: uppercase; letter-spacing: 1px; color: #8b98b8; font-weight: 700; }
.tx-insight .ibar .lbl b { font-size: 11px; color: #5bc0ff; font-weight: 800; }
.tx-insight .ibar .track { margin-top: 5px; height: 8px; border-radius: 999px; background: rgba(255,255,255,0.09); overflow: hidden; }
.tx-insight .ibar .fill {
	display: block; height: 100%; width: 75%; border-radius: 999px;
	background: linear-gradient(90deg, #38a3f1, #8b5cf6);
	box-shadow: 0 0 14px rgba(56,163,241,0.8);
	transform-origin: left; transform: scaleX(0);
	animation: txInsightFill 9s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}
@keyframes txInsightFill {
	0%, 42% { transform: scaleX(0); }
	58% { transform: scaleX(1.02); }
	62%, 100% { transform: scaleX(1); }
}
.tx-insight .icoach { margin-top: 11px; background: rgba(255,255,255,0.05); border: 1px solid rgba(148,163,255,0.14); border-radius: 14px; padding: 10px 12px; }
.tx-insight .icoach b { display: block; font-size: 11px; color: #dfe5f5; margin-bottom: 4px; }
.tx-insight .icoach p { margin: 0; font-size: 11.5px; line-height: 1.55; color: #aab5cf; font-weight: 600; }
.tx-insight .icoach p em { font-style: normal; color: #69f0ae; font-weight: 800; }
.tx-insight .iunlock {
	margin-top: 10px;
	display: flex; align-items: center; justify-content: space-between; gap: 8px;
	font-size: 11px; font-weight: 800; color: #c4b5fd;
	background: rgba(124,58,237,0.14); border: 1px dashed rgba(167,139,250,0.5);
	border-radius: 12px; padding: 8px 12px;
	transition: background 0.2s ease, border-color 0.2s ease;
}
.tx-insight .iunlock:hover { background: rgba(124,58,237,0.24); border-color: rgba(167,139,250,0.8); }
.tx-insight .iunlock i { font-size: 10px; animation: txAiDot 2s ease-in-out infinite; }
.tx-ai-remedial {
	margin-top: 10px;
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 11.5px; font-weight: 700; color: #fbbf24;
	background: rgba(251,191,36,0.08); border: 1px solid rgba(251,191,36,0.25);
	border-radius: 999px; padding: 7px 14px;
	opacity: 0;
	animation: txAiRemedialIn 9s ease infinite;
}
.tx-ai-remedial i { animation: txSpin 3s linear infinite; }
@keyframes txAiRemedialIn {
	0%, 52% { opacity: 0; transform: translateY(6px); }
	58%, 97% { opacity: 1; transform: none; }
	100% { opacity: 0; }
}

/* -- Rio chat demo: the real "Ask Rio" panel (10s loop) -- */
.tx-show-icon.ai3 { background: linear-gradient(135deg, #4c6fff, #38bdf8); box-shadow: 0 12px 30px -8px rgba(76,111,255,0.6); }
.tx-ai-riodemo {
	position: relative;
	background: linear-gradient(165deg, #141c32, #0c1122);
	border: 1px solid rgba(76,111,255,0.28);
	border-radius: 26px;
	overflow: hidden;
	padding: 0 0 14px;
	box-shadow: 0 40px 90px -40px rgba(0,0,0,0.9), 0 0 70px -18px rgba(56,189,248,0.35), inset 0 1px 0 rgba(255,255,255,0.06);
	transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}
.tx-ai-riodemo:hover {
	transform: perspective(1100px) rotateX(var(--rx, 1.6deg)) rotateY(var(--ry, -2deg)) translateY(-6px);
	box-shadow: 0 55px 110px -40px rgba(0,0,0,0.95), 0 0 90px -14px rgba(56,189,248,0.5), inset 0 1px 0 rgba(255,255,255,0.08);
}
.tx-rio-head {
	display: flex; align-items: center; gap: 11px;
	padding: 15px 16px;
	background: linear-gradient(120deg, #4c6fff 0%, #6d5df6 55%, #38bdf8 120%);
	color: #fff;
}
.tx-rio-face {
	position: relative; overflow: hidden;
	flex: 0 0 46px; width: 46px; height: 46px; border-radius: 14px;
	display: flex; align-items: center; justify-content: center;
	font-size: 16px; color: #fff;
	background: rgba(255,255,255,0.18); border: 1px solid rgba(255,255,255,0.35);
	animation: txFloaty 5s ease-in-out infinite;
}
/* Sparkles sit behind the parrot as a fallback until the player registers */
.tx-rio-face i { position: absolute; opacity: 0.9; }
.tx-rio-face dotlottie-player {
	position: relative; flex: 0 0 auto; width: 58px; height: 58px;
	filter: hue-rotate(-15deg);
}
.tx-rio-face:has(dotlottie-player:defined) i { display: none; }
.tx-rio-head .meta b { display: block; font-size: 15px; font-weight: 800; line-height: 1.2; }
.tx-rio-head .meta small { font-size: 10.5px; color: rgba(255,255,255,0.75); font-weight: 600; }
.tx-rio-remaining {
	margin-left: auto;
	display: inline-flex; align-items: center; gap: 5px;
	font-size: 11px; font-weight: 800;
	background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.3);
	border-radius: 999px; padding: 4px 11px; white-space: nowrap;
}
.tx-rio-remaining small { font-size: 9.5px; font-weight: 600; opacity: 0.75; }
.tx-rio-close {
	flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	font-size: 12px; background: rgba(255,255,255,0.14);
}
.tx-rio-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 16px 0; }
.tx-rio-chips .chip {
	display: inline-flex; align-items: center; gap: 6px;
	background: rgba(255,255,255,0.06); border: 1px solid rgba(148,163,255,0.22); border-radius: 999px;
	padding: 5px 12px; font-size: 10.5px; font-weight: 700; color: #c6cddd;
	transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.tx-rio-chips .chip:hover { border-color: rgba(76,111,255,0.7); color: #fff; background: rgba(76,111,255,0.16); transform: translateY(-1px); }
.tx-rio-chips .chip i { color: #7c9aff; font-size: 10px; }
.tx-ai-riochat { position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 150px; padding: 12px 16px 0; }
.tx-ai-riochat .bub {
	max-width: 85%;
	font-size: 12.5px; line-height: 1.55; font-weight: 600;
	border-radius: 18px; padding: 10px 14px;
	opacity: 0;
}
.tx-ai-riochat .bub.student {
	align-self: flex-end;
	color: #fff;
	background: linear-gradient(135deg, #4c6fff, #6d5df6);
	border-bottom-right-radius: 6px;
	box-shadow: 0 10px 24px -10px rgba(76,111,255,0.7);
	transform: translateY(8px);
	animation: txRioBub 10s ease infinite;
}
.tx-ai-riochat .bub.riotyping {
	position: absolute; top: 64px; left: 16px;
	display: inline-flex; gap: 4px; align-items: center;
	background: rgba(255,255,255,0.07); border: 1px solid rgba(148,163,255,0.2);
	border-bottom-left-radius: 6px;
	padding: 12px 14px;
	animation: txRioTyping 10s ease infinite;
}
.tx-ai-riochat .bub.riotyping span {
	width: 6px; height: 6px; border-radius: 50%;
	background: #9db0e0;
	animation: txAiDot 1s ease-in-out infinite;
}
.tx-ai-riochat .bub.riotyping span:nth-child(2) { animation-delay: 0.15s; }
.tx-ai-riochat .bub.riotyping span:nth-child(3) { animation-delay: 0.3s; }
.tx-ai-riochat .bub.rio {
	align-self: flex-start;
	display: flex; align-items: flex-end; gap: 8px;
	background: transparent; padding: 0; max-width: 92%;
	transform: translateY(8px);
	animation: txRioAnswer 10s ease infinite;
}
.tx-ai-riochat .bub.rio .av {
	flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, #4c6fff, #6d5df6);
	color: #fff; font-size: 12px;
}
.tx-ai-riochat .bub.rio .tx {
	background: rgba(255,255,255,0.07); border: 1px solid rgba(148,163,255,0.2); color: #dfe5f5;
	border-radius: 18px; border-bottom-left-radius: 6px;
	padding: 10px 14px;
}
@keyframes txRioBub {
	0%, 6% { opacity: 0; transform: translateY(10px) scale(0.94); }
	12%, 96% { opacity: 1; transform: none; }
	100% { opacity: 0; }
}
@keyframes txRioTyping {
	0%, 16% { opacity: 0; }
	20%, 40% { opacity: 1; }
	44%, 100% { opacity: 0; }
}
@keyframes txRioAnswer {
	0%, 42% { opacity: 0; transform: translateY(8px); }
	48%, 96% { opacity: 1; transform: none; }
	100% { opacity: 0; }
}
.tx-rio-inputbar {
	margin: 12px 16px 0;
	display: flex; align-items: center; gap: 9px;
	background: rgba(255,255,255,0.06); border: 1px solid rgba(148,163,255,0.22); border-radius: 999px;
	padding: 6px 6px 6px 16px;
	box-shadow: 0 10px 30px -18px rgba(0,0,0,0.6);
}
.tx-rio-inputbar .ph { font-size: 12px; color: #8b98b8; font-weight: 600; }
.tx-rio-inputbar .cnt { margin-left: auto; font-size: 10px; color: #5c6a8c; font-weight: 700; }
.tx-rio-inputbar .send {
	flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, #4c6fff, #6d5df6);
	color: #fff; font-size: 13px;
	box-shadow: 0 8px 18px -6px rgba(76,111,255,0.8);
	animation: txGoPulse 2.8s ease-in-out infinite;
}

/* -- AI capability grid -- */
.tx-ai-caps { margin-top: 56px; position: relative; z-index: 2; }
.tx-ai-cap {
	height: 100%;
	background: rgba(255,255,255,0.04);
	border: 1px solid rgba(255,255,255,0.09);
	border-radius: 16px;
	padding: 24px 20px;
	transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.tx-ai-cap:hover {
	transform: translateY(-6px);
	background: rgba(124,58,237,0.09);
	border-color: rgba(167,139,250,0.45);
	box-shadow: 0 24px 50px -24px rgba(124,58,237,0.6);
}
.tx-ai-cap .ic {
	width: 44px; height: 44px; border-radius: 13px;
	display: flex; align-items: center; justify-content: center;
	font-size: 18px; color: #fff; margin-bottom: 14px;
	background: linear-gradient(135deg, #7c3aed, #00e5ff);
	box-shadow: 0 10px 22px -8px rgba(124,58,237,0.7);
	transition: transform 0.3s ease;
}
.tx-ai-cap:hover .ic { transform: rotate(-8deg) scale(1.1); }
.tx-ai-cap h4 { font-size: 15.5px; font-weight: 800; color: #fff; margin-bottom: 7px; }
.tx-ai-cap p { font-size: 12.5px; color: #9aa6c0; margin: 0; line-height: 1.6; }

/* ==== Extra polish across the page ==== */
/* Fourth hero float chip (AI marking) */
.tx-float.f4 { top: 148px; left: -14px; animation-delay: -2.2s; }
.tx-float.f4 i { color: #7c3aed; }

/* Feature cards: hyper-card base (border glow, spotlight, shine, icon pop)
   comes from index_sections.css - keep #features rules out of here so the
   higher-specificity #id selectors don't override it. */

/* Steps: hover lift + numbered badge pop */
.ix-steps .ix-step { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.ix-steps .ix-step:hover { transform: translateY(-6px); }
.ix-steps .ix-step .num { transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.3, 1.5); }
.ix-steps .ix-step:hover .num { transform: scale(1.25); }

/* FAQ: subtle hover lift */
.tx-faq-item { transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
.tx-faq-item:hover { transform: translateY(-2px); border-color: rgba(33,150,243,0.3); box-shadow: 0 16px 36px -24px rgba(13,71,161,0.55); }

/* ---- Reduced motion: settle everything into its final state ---- */
@media (prefers-reduced-motion: reduce) {
	.tx-mock-window, .tx-float, .tx-cursor, .tx-marquee-track,
	.tx-sync i, .tx-btn-glow::after, .tx-deliver-beam .pulse { animation: none !important; }
	.tx-reserve-aurora span, .tx-live-dot, .tx-sparkles span, .tx-field-box.invalid { animation: none !important; }
	.tx-reserve-done, .tx-reserve-done.show .tx-ticket { transition: none; animation: none !important; transform: none; opacity: 1; }
	.tx-curve, .tx-draw { animation: none !important; stroke-dashoffset: 0; }
	.tx-point { animation: none !important; opacity: 1; }
	.tx-hud-bar .fill { animation: none !important; width: 50%; }
	.tx-token.in { animation: none !important; opacity: 1; transform: none; }
	.tx-prog-chart .bar { animation: none !important; height: var(--h, 50%); }
	.tx-hud-live .dot { animation: none !important; }
	.blk { animation: none !important; opacity: 1 !important; }
	.tx-ai-orb, .tx-ai-spark, .tx-ai-scan, .tx-rio-face,
	.tx-ai-console::before, .tx-ai-console::after, .tx-ai-grad, .tx-gc-status i,
	.tx-ai-logo, .tx-gc-card .banner, .tx-gc-card .icon, .tx-gc-topic::after,
	.tx-gc-go, .tx-rio-inputbar .send, .tx-insight::before, .tx-insight .itier .emoji,
	.tx-insight .iunlock i,
	.tx-ai-riochat .bub.riotyping span { animation: none !important; }
	.tx-gc-status, .tx-ai-riochat .bub.riotyping { display: none !important; }
	.tx-gc-topic, .tx-gc-cta, .tx-insight, .tx-ai-remedial, .tx-gc-card,
	.tx-gc-card .stat b, .tx-gc-topic .pill, .tx-insight .marks,
	.tx-insight .itier .stars .lit, .tx-ai-q .ans .l,
	.tx-ai-riochat .bub { animation: none !important; opacity: 1 !important; transform: none !important; }
	.tx-insight .ibar .fill { animation: none !important; transform: none; }
	.tx-ai-console, .tx-ai-markdemo, .tx-ai-riodemo { transition: none !important; }
}

@media (max-width: 991px) {
	.tx-hero .hero-text { padding: 110px 0 60px; }
	.tx-ai { padding: 70px 0 30px; }
	.tx-ai-row { margin-top: 34px; }
	.tx-ai-caps { margin-top: 30px; }
	.tx-show-copy { padding: 26px 6px 6px; }
	.tx-show-copy h3 { font-size: 23px; }
	.tx-demo-deliver { min-height: 0; }
	.tx-marquee { padding-bottom: 74px; }
}

/* ==== v3 polish: pointer spotlight, richer motion, mobile-perfect demos ==== */

/* Cursor-following spotlight. tutorsAIFx already streams --mx/--my into the
   AI cards on pointermove; the .tx-glow overlay turns them into a soft light
   that tracks the cursor across the glass. */
.tx-ai-console .tx-glow, .tx-ai-markdemo .tx-glow, .tx-ai-riodemo .tx-glow {
	position: absolute; inset: 0; border-radius: inherit;
	pointer-events: none; z-index: 4;
	opacity: 0; transition: opacity 0.4s ease;
	background: radial-gradient(240px 240px at var(--mx, 50%) var(--my, 50%),
		rgba(167,139,250,0.16), rgba(0,229,255,0.07) 45%, transparent 72%);
}
.tx-ai-console:hover .tx-glow,
.tx-ai-markdemo:hover .tx-glow,
.tx-ai-riodemo:hover .tx-glow { opacity: 1; }

/* The marking card gets the same chasing conic aura the console has, tuned
   to its cyan palette. (The Rio card clips overflow, so it breathes its
   box-shadow instead - see txRioBreathe below.) */
.tx-ai-markdemo::before {
	content: ""; position: absolute; inset: -2px; border-radius: 22px; z-index: -1;
	background: conic-gradient(from var(--tx-sweep, 0deg),
		rgba(0,229,255,0.0) 0deg, rgba(0,229,255,0.85) 70deg,
		rgba(139,92,246,0.7) 150deg, rgba(105,240,174,0.5) 220deg,
		rgba(0,229,255,0.0) 310deg);
	animation: txConicSweep 6s linear infinite;
	filter: blur(9px); opacity: 0.35;
}
.tx-ai-riodemo { animation: txRioBreathe 6s ease-in-out infinite; }
.tx-ai-riodemo:hover { animation-play-state: paused; }
@keyframes txRioBreathe {
	0%, 100% { box-shadow: 0 40px 90px -40px rgba(0,0,0,0.9), 0 0 60px -18px rgba(56,189,248,0.3), inset 0 1px 0 rgba(255,255,255,0.06); }
	50% { box-shadow: 0 40px 90px -40px rgba(0,0,0,0.9), 0 0 90px -14px rgba(76,111,255,0.55), inset 0 1px 0 rgba(255,255,255,0.06); }
}

/* Tactile press feedback - cards and interactive chips respond to taps */
.tx-ai-console:active, .tx-ai-markdemo:active, .tx-ai-riodemo:active,
.tx-show-demo:active { transform: scale(0.985); }
.tx-rio-chips .chip:active, .tx-gc-topic .pill:active { transform: scale(0.92); }
.tx-gc-go:active, .tx-rio-inputbar .send:active { transform: scale(0.9); }
.tx-insight .iunlock:active { transform: scale(0.98); }

/* Blinking caret in Rio's input bar so it reads as a live text field */
.tx-rio-inputbar .ph::after {
	content: ""; display: inline-block;
	width: 1.5px; height: 12px; margin-left: 3px; vertical-align: -2px;
	background: #9db0e0;
	animation: txCaret 1.1s steps(1) infinite;
}
@keyframes txCaret { 50% { opacity: 0; } }

/* Light showcase demos: lift, deepen and warm up on hover */
.tx-show-demo { transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease; }
.tx-show-demo:hover {
	transform: translateY(-6px);
	border-color: rgba(33,150,243,0.28);
	box-shadow: 0 42px 90px -36px rgba(13,46,84,0.5);
}

/* Touch devices can't hover-tilt, so the AI cards idle-float instead,
   offset so the three never bob in sync */
@media (hover: none) {
	.tx-ai-console, .tx-ai-markdemo { animation: txCardIdle 7s ease-in-out infinite; }
	.tx-ai-markdemo { animation-delay: -2.3s; }
	.tx-ai-riodemo { animation: txCardIdle 7s ease-in-out -4.6s infinite, txRioBreathe 6s ease-in-out infinite; }
}
@keyframes txCardIdle {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-7px); }
}

/* Small screens: tighten the demo cards so they fill the viewport neatly */
@media (max-width: 767px) {
	.tx-ai-console, .tx-ai-markdemo { margin-bottom: 10px; }
	.tx-ai-riodemo { margin-bottom: 10px; }
	.tx-show-demo { padding: 20px; margin-bottom: 8px; }
}
@media (max-width: 575px) {
	.tx-ai-console { padding: 14px; border-radius: 20px; }
	.tx-ai-console::before { border-radius: 22px; }
	.tx-ai-markdemo { padding: 14px; border-radius: 18px; }
	.tx-ai-markdemo::before { border-radius: 20px; }
	.tx-ai-riodemo { border-radius: 22px; }
	.tx-ai-q { padding: 12px 13px; }
	.tx-insight { padding: 13px 13px 11px; }
	.tx-gc-card .stats { gap: 12px; }
	.tx-rio-head { padding: 13px 14px; gap: 9px; }
	.tx-rio-chips { padding: 10px 14px 0; }
	.tx-ai-riochat { padding: 10px 14px 0; }
	.tx-rio-inputbar { margin: 10px 14px 0; }
	.tx-show-demo { padding: 16px; }
	.tx-toasts { right: 14px; bottom: 58px; }
}

/* Reduced motion: settle the v3 additions too */
@media (prefers-reduced-motion: reduce) {
	.tx-ai-markdemo::before, .tx-ai-riodemo, .tx-rio-inputbar .ph::after,
	.tx-ai-console, .tx-ai-markdemo { animation: none !important; }
	.tx-show-demo { transition: none !important; }
}

/* ---- "I'm a tutor" portal transition (js/pages/tutors_transition.js) ---- */
.tx-portal {
	position: fixed; inset: 0; z-index: 99990;
	pointer-events: none;
	overflow: hidden;
	will-change: clip-path;
}
html.tx-transit { cursor: progress; }
html.tx-transit .tx-portal { pointer-events: auto; }
.tx-portal-bg {
	position: absolute; inset: 0;
	background:
		radial-gradient(900px 600px at 50% 40%, rgba(0,188,212,0.30), transparent 65%),
		radial-gradient(700px 500px at 20% 90%, rgba(105,240,174,0.16), transparent 65%),
		linear-gradient(160deg, #061a33 0%, #0b2a4d 55%, #0d3560 100%);
}
.tx-portal-grid {
	position: absolute; inset: 0;
	background-image:
		linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
	background-size: 44px 44px;
	-webkit-mask-image: radial-gradient(60% 60% at 50% 50%, rgba(0,0,0,0.9), transparent 100%);
	mask-image: radial-gradient(60% 60% at 50% 50%, rgba(0,0,0,0.9), transparent 100%);
}
.tx-portal-glow {
	position: absolute; width: 420px; height: 420px; border-radius: 50%;
	background: radial-gradient(circle, rgba(0,229,255,0.55) 0%, rgba(0,229,255,0.18) 40%, transparent 70%);
	filter: blur(6px);
}
.tx-portal-core {
	position: absolute; inset: 0;
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	gap: 22px; color: #fff;
}
.tx-portal-icon {
	width: 118px; height: 118px; border-radius: 32px;
	display: grid; place-items: center;
	font-size: 52px; color: #fff;
	background: linear-gradient(135deg, #2196f3, #00e5ff 55%, #69f0ae);
	box-shadow:
		0 30px 70px -20px rgba(0,229,255,0.7),
		0 0 0 1px rgba(255,255,255,0.25) inset,
		0 0 60px rgba(0,229,255,0.35);
	opacity: 0;
}
.tx-portal-label {
	font-family: 'Poppins', sans-serif;
	font-weight: 800; font-size: 34px; letter-spacing: -0.6px;
	display: flex;
}
.tx-portal-label span { display: inline-block; opacity: 0; }
@media (max-width: 767.98px) {
	.tx-portal-icon { width: 92px; height: 92px; border-radius: 26px; font-size: 40px; }
	.tx-portal-label { font-size: 26px; }
}

/* ==== v7: January 2027 launch page (hero loop picture, four-step loop,
   teaching / students rows, conference band, reservation form) ==== */
#how-it-works, #teaching, #why, #students, #event, #companies, #reserve { scroll-margin-top: 80px; }

/* -- Hero copy -- */
.tx-hero .ix-badge { white-space: normal; line-height: 1.45; }
.tx-hero-loop {
	color: #fff; font-size: 22px; font-weight: 700; letter-spacing: 0.2px; margin: -4px 0 16px;
}
.ix-hero.tx-hero p.lead-text { max-width: 560px; font-size: 17px; }
.tx-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.tx-hero .hero-text .tx-hero-actions .btn { margin: 0; text-transform: none; padding-left: 26px; padding-right: 26px; }
.tx-hero-note { color: rgba(255,255,255,0.75); font-size: 13.5px; max-width: 520px; margin: 0; line-height: 1.6; }

/* -- Shared device frames: laptop, phone, printed paper -- */
.tx-laptop { position: relative; }
.tx-laptop-screen {
	background: #fff; border: 8px solid #101a2e; border-bottom-width: 10px;
	border-radius: 14px 14px 4px 4px; padding: 12px; overflow: hidden;
	box-shadow: 0 30px 70px -30px rgba(2,18,41,0.7);
}
.tx-laptop-base {
	height: 12px; margin: 0 -22px; border-radius: 2px 2px 14px 14px;
	background: linear-gradient(180deg, #d9e2ee, #a9b6c8);
	box-shadow: 0 14px 24px -12px rgba(2,18,41,0.6);
}
.tx-phone {
	width: 150px; padding: 7px; border-radius: 26px; background: #101a2e;
	box-shadow: 0 26px 50px -18px rgba(2,18,41,0.75), 0 0 0 1px rgba(255,255,255,0.12);
}
.tx-phone-screen {
	border-radius: 20px; background: #131a2b; color: #eef1f8; padding: 16px 10px 10px;
	display: flex; flex-direction: column; gap: 6px; min-height: 250px; overflow: hidden;
}
.tx-paper {
	width: 150px; background: #fff; border-radius: 4px; padding: 14px 13px 16px;
	display: flex; flex-direction: column; gap: 6px; color: #0f2038;
	box-shadow: 0 22px 40px -18px rgba(2,18,41,0.6), 0 0 0 1px rgba(13,46,84,0.08);
}
.tx-paper-brand { font-size: 8px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: #2196f3; }
.tx-paper b { font-size: 10.5px; line-height: 1.3; padding-bottom: 6px; border-bottom: 1.5px solid #0f2038; }
.tx-paper .ln { height: 4px; border-radius: 2px; background: #d5dde8; }
.tx-paper .ln.w90 { width: 90%; } .tx-paper .ln.w80 { width: 80%; }
.tx-paper .ln.w70 { width: 70%; } .tx-paper .ln.w60 { width: 60%; }
.tx-paper .qn { font-size: 9px; font-weight: 800; margin-top: 4px; }
.tx-paper .box { height: 22px; border: 1px dashed #b4c0d0; border-radius: 3px; }

/* -- Image 1: the loop in one picture -- */
.tx-loop { margin: 0; padding: 96px 0 60px 26px; }
.tx-loop-stage { position: relative; padding: 0 22px 46px 22px; }
.tx-loop .tx-laptop { margin-right: 60px; }
.tx-loop-paper { position: absolute; left: -8px; bottom: 0; transform: rotate(-5deg); }
.tx-loop-phone { position: absolute; right: 0; bottom: -6px; transform: rotate(4deg); }
.tx-loop figcaption { text-align: center; margin-top: 22px; color: rgba(255,255,255,0.8); font-size: 13.5px; font-weight: 600; letter-spacing: 0.3px; }
/* -- How it works: the four-step loop -- */
.tx-how {
	padding: 100px 0 90px;
	background: radial-gradient(760px 420px at 50% -10%, rgba(33,150,243,0.07), transparent 60%), #fff;
}
.tx-step {
	--sa: #2196f3; --sb: #21cbf3;
	height: 100%; background: #fff; border-radius: var(--ix-radius, 20px); padding: 26px 22px 22px;
	border: 1px solid rgba(33,150,243,0.14); box-shadow: 0 8px 26px rgba(13,46,84,0.05);
	position: relative; overflow: hidden;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.tx-step::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--sa), var(--sb)); }
.tx-step:hover { transform: translateY(-5px); border-color: rgba(33,150,243,0.3); box-shadow: 0 20px 44px rgba(13,46,84,0.11); }
.tx-step.s2 { --sa: #0ea5a4; --sb: #2dd4bf; }
.tx-step.s3 { --sa: #7c5cfc; --sb: #b18cff; }
.tx-step.s4 { --sa: #f59e0b; --sb: #fbbf24; }
.tx-step-num {
	display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase;
	color: var(--sa); margin-bottom: 10px;
}
.tx-step h3 { text-transform: none; font-size: 19px; font-weight: 700; color: var(--ix-ink, #0f2038); line-height: 1.3; margin-bottom: 14px; }
.tx-step ul { list-style: none; padding: 0; margin: 0; }
.tx-step li { position: relative; padding-left: 16px; font-size: 14px; line-height: 1.6; color: #5b6b7c; margin-bottom: 9px; }
.tx-step li:last-child { margin-bottom: 0; }
.tx-step li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--sa); }
.tx-how-foot {
	max-width: 760px; margin: 26px auto 0; text-align: center; font-weight: 600; color: var(--ix-ink, #0f2038);
	background: #f1f7fe; border: 1px solid rgba(33,150,243,0.16); border-radius: 16px; padding: 16px 22px;
}
.tx-how-foot i { color: #2196f3; margin-right: 8px; }

/* -- Shared copy bits: tick list + chips -- */
.tx-check-list { list-style: none; padding: 0; margin: 22px 0 0; }
.tx-check-list li { position: relative; padding-left: 30px; margin-bottom: 12px; line-height: 1.65; font-size: 15px; }
.tx-check-list li i { position: absolute; left: 0; top: 5px; color: #2196f3; }
.tx-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tx-chips span {
	font-size: 13px; font-weight: 600; border-radius: 999px; padding: 6px 14px;
	color: #1565c0; background: rgba(33,150,243,0.09); border: 1px solid rgba(33,150,243,0.18);
}

/* -- Teaching with it: dark band + Image 2 (live lesson and paper) -- */
.tx-teach {
	padding: 96px 0; color: #dfe7f3; overflow: hidden;
	background:
		radial-gradient(700px 360px at 85% 0%, rgba(0,229,255,0.16), transparent 60%),
		radial-gradient(600px 320px at 0% 100%, rgba(33,150,243,0.22), transparent 60%),
		#0d2447;
}
.tx-teach .ix-kicker { color: #4fc3f7; }
.tx-teach h2 { color: #fff; font-weight: 800; letter-spacing: -0.6px; line-height: 1.2; }
.tx-teach-lead { color: rgba(255,255,255,0.82); font-size: 17px; line-height: 1.7; margin: 14px 0 0; }
.tx-teach .tx-check-list li { color: rgba(255,255,255,0.86); }
.tx-teach .tx-check-list li i { color: #69f0ae; }
.tx-teach .tx-chips span { color: #e3f2fd; background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.18); }
.tx-mock-wrap.tx-teach-mock { padding: 20px 0 60px 46px; }
.tx-teach-paper { position: absolute; left: 0; bottom: 0; transform: rotate(-6deg); z-index: 3; }

/* -- Why not just a chat window -- */
.tx-why { padding: 96px 0 70px; background: #f7fafe; }
.tx-why .ix-feature-card { height: 100%; }
.tx-why .ix-feature-card h3, .tx-reserve-done h3 { text-transform: none; }

/* -- For your students + Image 3 (student dashboard) -- */
.tx-students { padding: 96px 0; background: #fff; overflow: hidden; }
.tx-students h2 { font-weight: 800; letter-spacing: -0.6px; line-height: 1.2; color: var(--ix-ink, #0f2038); }
.tx-students-lead { color: var(--ix-body, #55657a); font-size: 17px; line-height: 1.7; margin: 14px 0 0; }
.tx-students .tx-check-list li { color: var(--ix-body, #55657a); }
.tx-dash { position: relative; padding: 10px 30px 40px 150px; max-width: 560px; margin: 0 auto; }
.tx-dash-phone { position: absolute; left: 20px; bottom: 0; width: 190px; z-index: 2; }
/* -- Come and see it: conference band -- */
.tx-event { padding: 30px 0 96px; background: #fff; }
.tx-event-card {
	display: flex; align-items: center; gap: 40px; border-radius: 28px; padding: 44px 48px; color: #fff;
	background:
		radial-gradient(520px 300px at 100% 0%, rgba(0,229,255,0.28), transparent 60%),
		linear-gradient(135deg, #0d47a1, #1976d2 60%, #0097a7);
	box-shadow: 0 30px 60px -30px rgba(13,71,161,0.6);
}
.tx-event-date {
	flex: none; width: 150px; text-align: center; background: #fff; color: #0f2038; border-radius: 20px; padding: 18px 10px 16px;
	box-shadow: 0 18px 36px -18px rgba(2,18,41,0.6);
}
.tx-event-date .d { display: block; font-size: 58px; font-weight: 800; line-height: 1; color: #1565c0; }
.tx-event-date .m { display: block; font-size: 17px; font-weight: 700; margin-top: 4px; }
.tx-event-date .y { display: block; font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: #62708a; margin-top: 4px; }
.tx-event .cta-kicker, .tx-reserve .cta-kicker {
	display: block; text-transform: uppercase; letter-spacing: 3px; font-size: 12px; font-weight: 700; color: #b3e5fc; margin-bottom: 10px;
}
.tx-event-body h2 { color: #fff; font-weight: 800; font-size: 28px; line-height: 1.25; letter-spacing: -0.4px; }
.tx-event-body p { color: rgba(255,255,255,0.88); line-height: 1.7; margin: 12px 0 22px; max-width: 640px; }
.tx-event .btn-light, .tx-reserve .btn-light {
	background: #fff; color: #0d47a1; font-weight: 700; border: 0; border-radius: 999px; padding: 13px 28px;
	box-shadow: 0 12px 26px -12px rgba(2,18,41,0.6); transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.tx-event .btn-light:hover, .tx-reserve .btn-light:hover { transform: translateY(-2px); color: #0d47a1; }

/* -- Tutoring companies -- */
.tx-companies { padding: 80px 0; background: #f7fafe; border-top: 1px solid rgba(33,150,243,0.1); }
.tx-companies h2 { font-weight: 800; letter-spacing: -0.6px; color: var(--ix-ink, #0f2038); }
.tx-companies p { color: var(--ix-body, #55657a); font-size: 16.5px; line-height: 1.75; margin: 12px 0 0; max-width: 720px; }
.tx-company-link { text-transform: none; border-radius: 999px; padding: 13px 26px; font-weight: 700; }

/* -- Reserve your place: closing CTA + form -- */
.tx-reserve { padding: 20px 0 60px; background: #f7fafe; }
.tx-reserve-card {
	position: relative; isolation: isolate; overflow: hidden;
	border-radius: 30px; padding: 56px 52px; color: #fff;
	background: #0b1f3f;
	box-shadow: 0 40px 80px -36px rgba(13,36,71,0.8), 0 0 0 1px rgba(255,255,255,0.06) inset;
}
/* gradient hairline border */
.tx-reserve-card::before {
	content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 3;
	background: linear-gradient(135deg, rgba(0,229,255,0.55), rgba(255,255,255,0.08) 35%, rgba(255,255,255,0.05) 65%, rgba(105,240,174,0.5));
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor; mask-composite: exclude;
}
.tx-reserve-aurora { position: absolute; inset: -20%; z-index: -2; pointer-events: none; filter: blur(60px); opacity: 0.9; }
.tx-reserve-aurora span { position: absolute; border-radius: 50%; mix-blend-mode: screen; will-change: transform; }
.tx-reserve-aurora .a { width: 60%; height: 70%; left: -10%; top: -10%; background: radial-gradient(closest-side, rgba(0,229,255,0.55), transparent 70%); animation: txAuroraA 16s ease-in-out infinite alternate; }
.tx-reserve-aurora .b { width: 55%; height: 65%; right: -8%; bottom: -14%; background: radial-gradient(closest-side, rgba(33,150,243,0.75), transparent 70%); animation: txAuroraB 19s ease-in-out infinite alternate; }
.tx-reserve-aurora .c { width: 40%; height: 50%; left: 42%; top: 20%; background: radial-gradient(closest-side, rgba(124,92,252,0.45), transparent 70%); animation: txAuroraC 23s ease-in-out infinite alternate; }
@keyframes txAuroraA { to { transform: translate(18%, 14%) scale(1.15); } }
@keyframes txAuroraB { to { transform: translate(-16%, -12%) scale(1.1); } }
@keyframes txAuroraC { to { transform: translate(-22%, 18%) scale(0.9); } }
.tx-reserve-grid {
	position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
	background-size: 40px 40px;
	-webkit-mask-image: radial-gradient(700px 420px at 30% 40%, rgba(0,0,0,0.9), transparent 75%); mask-image: radial-gradient(700px 420px at 30% 40%, rgba(0,0,0,0.9), transparent 75%);
}
.tx-reserve-card h2 { color: #fff; font-weight: 800; letter-spacing: -0.8px; line-height: 1.1; font-size: 40px; }
.tx-reserve-card p { color: rgba(255,255,255,0.82); line-height: 1.75; }
.tx-reserve-pitch { padding-right: 36px; }
.tx-live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #69f0ae; margin-right: 8px; vertical-align: 1px; box-shadow: 0 0 0 0 rgba(105,240,174,0.6); animation: txLivePulse 2s ease-out infinite; }
@keyframes txLivePulse { 0% { box-shadow: 0 0 0 0 rgba(105,240,174,0.6); } 100% { box-shadow: 0 0 0 10px rgba(105,240,174,0); } }

/* countdown */
.tx-countdown { display: flex; align-items: center; gap: 8px; margin: 22px 0 26px; }
.tx-cd { min-width: 64px; padding: 10px 8px 8px; text-align: center; border-radius: 14px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.tx-cd b { display: block; font-size: 26px; line-height: 1; font-weight: 800; letter-spacing: -0.5px; font-variant-numeric: tabular-nums; background: linear-gradient(180deg, #fff, #b3e5fc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tx-cd small { display: block; margin-top: 5px; font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,0.55); }
.tx-cd-sep { font-size: 22px; font-weight: 800; color: rgba(255,255,255,0.35); margin-top: -12px; }

/* what happens next */
.tx-reserve-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.tx-reserve-steps li { display: flex; align-items: flex-start; gap: 12px; }
.tx-reserve-steps li i { flex: none; width: 36px; height: 36px; border-radius: 11px; display: flex; align-items: center; justify-content: center; font-size: 14px; color: #0b1f3f; background: linear-gradient(135deg, #8fe3ff, #69f0ae); box-shadow: 0 8px 18px -8px rgba(0,229,255,0.7); }
.tx-reserve-steps li b { display: block; font-size: 14.5px; font-weight: 700; color: #fff; line-height: 1.3; }
.tx-reserve-steps li span { display: block; font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.5; margin-top: 2px; }

/* glass form panel */
.tx-reserve-panel { position: relative; border-radius: 22px; padding: 30px 30px 26px; background: rgba(255,255,255,0.045); border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 30px 60px -40px rgba(0,0,0,0.8), 0 1px 0 rgba(255,255,255,0.08) inset; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: border-color 0.4s ease, background 0.4s ease; }
.tx-reserve-panel.is-done { border-color: rgba(105,240,174,0.35); background: rgba(105,240,174,0.04); }
.tx-field { margin-bottom: 16px; }
.tx-reserve-form label { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: 0.2px; color: rgba(255,255,255,0.9); margin: 0 0 7px; }
.tx-reserve-form label small { font-weight: 500; color: rgba(255,255,255,0.55); }
.tx-field-box { position: relative; display: flex; align-items: flex-start; border-radius: 14px; border: 1.5px solid rgba(255,255,255,0.14); background: rgba(8,22,46,0.55); transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease; }
.tx-field-box > i { flex: none; width: 44px; padding-top: 14px; text-align: center; font-size: 14px; color: rgba(255,255,255,0.4); transition: color 0.2s ease; }
.tx-field-box input, .tx-field-box textarea { flex: 1; min-width: 0; width: 100%; border: 0; background: transparent; color: #fff; padding: 12px 14px 12px 0; font-size: 15px; outline: none; resize: vertical; line-height: 1.4; }
.tx-field-box input::placeholder, .tx-field-box textarea::placeholder { color: rgba(255,255,255,0.35); }
.tx-field-box:focus-within { border-color: #4fc3f7; background: rgba(8,22,46,0.8); box-shadow: 0 0 0 4px rgba(79,195,247,0.18), 0 10px 30px -18px rgba(79,195,247,0.6); }
.tx-field-box:focus-within > i { color: #8fe3ff; }
.tx-field-box.invalid { border-color: #ff8a80 !important; box-shadow: 0 0 0 4px rgba(255,138,128,0.18); animation: txShake 0.35s ease; }
@keyframes txShake { 0%,100% { transform: translateX(0); } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.tx-reserve-form input:-webkit-autofill, .tx-reserve-form textarea:-webkit-autofill { -webkit-text-fill-color: #fff; -webkit-box-shadow: 0 0 0 1000px #0f2a52 inset; transition: background-color 9999s ease-out; }
.tx-reserve-form .tx-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* pilot toggle card */
.tx-reserve-form .tx-reserve-check { position: relative; display: flex; align-items: center; gap: 14px; margin: 4px 0 0; padding: 13px 16px; border-radius: 14px; border: 1.5px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.03); cursor: pointer; transition: border-color 0.2s ease, background 0.2s ease; }
.tx-reserve-check:hover { border-color: rgba(255,255,255,0.25); }
.tx-reserve-check input { position: absolute; opacity: 0; width: 0; height: 0; }
.tx-pilot-box { flex: none; width: 24px; height: 24px; border-radius: 8px; border: 1.5px solid rgba(255,255,255,0.35); display: flex; align-items: center; justify-content: center; font-size: 12px; color: #0b1f3f; transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease; }
.tx-pilot-box i { opacity: 0; transform: scale(0.5); transition: opacity 0.15s ease, transform 0.2s cubic-bezier(.2,1.6,.4,1); }
.tx-reserve-check input:checked ~ .tx-pilot-box { background: linear-gradient(135deg, #8fe3ff, #69f0ae); border-color: transparent; transform: scale(1.05); }
.tx-reserve-check input:checked ~ .tx-pilot-box i { opacity: 1; transform: scale(1); }
.tx-reserve-check:has(input:checked) { border-color: rgba(105,240,174,0.5); background: rgba(105,240,174,0.07); }
.tx-reserve-check input:focus-visible ~ .tx-pilot-box { box-shadow: 0 0 0 4px rgba(79,195,247,0.3); }
.tx-pilot-copy b { display: block; font-size: 14px; font-weight: 700; color: #fff; }
.tx-pilot-copy b i { color: #ffd54f; margin-right: 4px; font-size: 12px; }
.tx-pilot-copy small { display: block; font-size: 12.5px; color: rgba(255,255,255,0.6); margin-top: 1px; }

.tx-reserve-card .tx-reserve-error { color: #ffccbc; font-size: 14px; font-weight: 600; margin: 14px 0 0; }
.tx-reserve-btn { position: relative; margin-top: 20px; display: inline-flex; align-items: center; gap: 10px; overflow: hidden; }
.tx-reserve-btn::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(13,71,161,0.12) 50%, transparent 70%); transform: translateX(-120%); transition: transform 0.7s ease; }
.tx-reserve-btn:hover::before { transform: translateX(120%); }
.tx-reserve-btn .tx-btn-arrow { transition: transform 0.2s ease; }
.tx-reserve-btn:hover .tx-btn-arrow { transform: translateX(4px); }
.tx-reserve-btn .tx-btn-busy { display: none; }
.tx-reserve-form.busy .tx-reserve-btn .tx-btn-label, .tx-reserve-form.busy .tx-reserve-btn .tx-btn-arrow { display: none; }
.tx-reserve-form.busy .tx-reserve-btn .tx-btn-busy { display: inline-flex; align-items: center; gap: 8px; }
.tx-reserve-form button:disabled { opacity: 0.75; cursor: progress; transform: none; }
.tx-reserve-card .tx-reserve-note { font-size: 12.5px; color: rgba(255,255,255,0.6); margin: 14px 0 0; }
.tx-reserve-card .tx-reserve-note i { font-size: 10px; margin-right: 4px; color: #69f0ae; }

/* success: the ticket */
.tx-reserve-done { position: relative; text-align: center; padding: 14px 6px 10px; opacity: 0; transform: translateY(14px) scale(0.98); transition: opacity 0.5s ease, transform 0.6s cubic-bezier(.2,1.2,.3,1); }
.tx-reserve-done.show { opacity: 1; transform: none; }
.tx-reserve-done h3 { color: #fff; font-weight: 800; margin: 24px 0 8px; }
.tx-reserve-done p { margin: 0; }
.tx-ticket { position: relative; max-width: 380px; margin: 0 auto; padding: 22px 26px 18px; border-radius: 20px; color: #0f1f33; text-align: left; background: linear-gradient(160deg, #ffffff, #e9f5ff); box-shadow: 0 30px 60px -28px rgba(0,0,0,0.75), 0 0 0 1px rgba(255,255,255,0.5) inset; transform: rotate(-1.5deg); }
.tx-reserve-done.show .tx-ticket { animation: txTicketIn 0.9s cubic-bezier(.2,1.4,.3,1) both; }
@keyframes txTicketIn { 0% { transform: rotate(-8deg) translateY(30px) scale(0.85); opacity: 0; } 100% { transform: rotate(-1.5deg); opacity: 1; } }
.tx-ticket-top { display: flex; justify-content: space-between; font-size: 10px; font-weight: 800; letter-spacing: 2.5px; text-transform: uppercase; color: #8a99a8; }
.tx-ticket-name { margin-top: 8px; font-size: 24px; font-weight: 800; letter-spacing: -0.5px; line-height: 1.15; overflow-wrap: anywhere; }
.tx-ticket-sub { margin-top: 4px; font-size: 13px; font-weight: 700; color: #1565c0; }
.tx-ticket-sub i { color: #2e7d32; margin-right: 4px; }
.tx-ticket-tear { position: relative; height: 0; margin: 16px -26px 14px; border-top: 2px dashed #c9d6e8; }
.tx-ticket-tear::before, .tx-ticket-tear::after { content: ""; position: absolute; top: -12px; width: 22px; height: 22px; border-radius: 50%; background: #0b1f3f; }
.tx-ticket-tear::before { left: -11px; } .tx-ticket-tear::after { right: -11px; }
.tx-ticket-foot { font-size: 12.5px; font-weight: 600; color: #55657a; }
.tx-ticket-foot i { color: #1565c0; margin-right: 6px; }
.tx-sparkles { position: absolute; left: 50%; top: 40%; width: 0; height: 0; pointer-events: none; }
.tx-sparkles span { position: absolute; left: 0; top: 0; width: var(--size, 8px); height: var(--size, 8px); border-radius: 2px; background: var(--hue, #fff); opacity: 0; }
.tx-reserve-done.show .tx-sparkles span { animation: txSparkle 1.3s cubic-bezier(.1,.8,.3,1) var(--delay, 0ms) both; }
@keyframes txSparkle { 0% { opacity: 0; transform: translate(0,0) rotate(0) scale(0.4); } 10% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(260deg) scale(1); } }

.tx-reserve-form[hidden], .tx-reserve-done[hidden], .tx-reserve-error[hidden] { display: none !important; }
.tx-reserve-legal { text-align: center; font-size: 13px; color: var(--ix-muted, #8a99a8); line-height: 1.8; margin: 34px 0 0; }
.tx-reserve-legal a { color: inherit; text-decoration: underline; }

@media (max-width: 991px) {
	.tx-loop { padding: 0 0 50px; max-width: 520px; margin: 0 auto; }
	.tx-how, .tx-teach, .tx-students, .tx-why { padding: 70px 0; }
	.tx-mock-wrap.tx-teach-mock { margin-top: 40px; }
	.tx-dash { margin-top: 44px; }
	.tx-event { padding: 0 0 70px; }
	.tx-reserve { padding: 10px 0 50px; }
	.tx-reserve-card { padding: 34px 22px; border-radius: 24px; }
	.tx-reserve-card h2 { font-size: 32px; }
	.tx-reserve-pitch { padding-right: 0; }
	.tx-reserve-panel { margin-top: 28px; padding: 22px 18px 20px; }
	.tx-cd { min-width: 56px; }
	.tx-cd b { font-size: 22px; }
}
@media (max-width: 767px) {
	.tx-hero-loop { font-size: 19px; }
	.tx-countdown { gap: 6px; }
	.tx-cd { min-width: 0; flex: 1; }
	.tx-event-card { flex-direction: column; align-items: flex-start; gap: 24px; padding: 30px 24px; }
	.tx-event-date { width: 130px; }
	.tx-event-body h2 { font-size: 23px; }
}
@media (max-width: 575px) {
	.tx-loop-stage { padding: 0 10px 70px; }
	.tx-loop .tx-laptop { margin-right: 30px; }
	.tx-loop-paper { width: 120px; }
	.tx-loop-phone { width: 130px; }
	.tx-mock-wrap.tx-teach-mock { padding-left: 16px; }
	.tx-teach-paper { width: 120px; }
	.tx-dash { padding: 10px 0 60px 90px; }
	.tx-dash-phone { left: 0; width: 160px; }
	.tx-dash-phone .tx-phone-screen { min-height: 280px; }
}

/* ==== v8: mockups redrawn as miniature replicas of the real Tutorio UI ====
   Palette comes straight from the app: Tutorio blue (#008cff / #4dabff) for
   the course page and practice, indigo (#6366f1) only in the nav chrome,
   light surfaces (#f8fafc) and deep navy (#0b1120) for the Live HUD. */
.tx-mock-window, .tx-laptop-screen, .tx-phone-screen { font-family: Poppins, system-ui, sans-serif; }

/* -- Hero laptop: the tutor's course page -- */
.tx-laptop-screen.tx-app { background: #f8fafc; color: #0f172a; padding: 0 0 10px; display: flex; flex-direction: column; gap: 8px; }
.tx-app-nav { display: flex; align-items: center; gap: 10px; padding: 7px 12px; background: #fff; border-bottom: 1px solid #e2e8f0; }
.tx-logo { font-size: 11px; font-weight: 800; letter-spacing: -0.3px; color: #0f172a; white-space: nowrap; }
.tx-logo i { color: #1173d4; margin-right: 2px; }
.tx-app-tabs { display: flex; gap: 2px; margin-left: auto; margin-right: auto; }
.tx-app-tabs span { font-size: 8.5px; font-weight: 600; color: #64748b; padding: 3px 8px; border-radius: 7px; white-space: nowrap; }
.tx-app-tabs span.on { background: #f8fafc; color: #6366f1; box-shadow: inset 0 0 0 1px #e2e8f0; }
.tx-app-user { width: 18px; height: 18px; border-radius: 50%; background: linear-gradient(135deg, #6366f1, #8b5cf6); flex: none; }
.tx-course-hero {
	margin: 0 10px; padding: 11px 12px; border-radius: 16px; color: #0f172a;
	display: flex; align-items: center; gap: 10px;
	background: #fff; border: 1px solid #eef2f6;
	box-shadow: 0 10px 24px -16px rgba(15,23,42,0.35);
}
.tx-course-ic { width: 34px; height: 34px; border-radius: 10px; background: #fff; border: 1px solid #eef2f6; box-shadow: 0 6px 14px -6px rgba(15,23,42,0.28); color: #008cff; display: flex; align-items: center; justify-content: center; font-size: 15px; flex: none; }
.tx-course-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; line-height: 1.2; }
.tx-course-meta b { font-size: 14px; font-weight: 800; letter-spacing: -0.4px; color: #0f172a; }
.tx-course-meta small { font-size: 9px; font-weight: 600; color: #64748b; }
.tx-badges { display: flex; gap: 4px; }
.tx-badge-qual, .tx-badge-board { font-size: 7px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; color: #fff; border-radius: 999px; padding: 2px 7px; }
.tx-badge-qual { background: #008cff; }
.tx-badge-board { background: #0f172a; }
.tx-course-ok { font-size: 9px; font-weight: 700; background: rgba(16,185,129,0.1); color: #059669; border: 1px solid rgba(16,185,129,0.25); border-radius: 999px; padding: 4px 9px; white-space: nowrap; }
.tx-course-ok i { color: #10b981; margin-right: 2px; }
.tx-sec-label { margin: 2px 12px 0; font-size: 8px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: #008cff; }
.tx-topic-grid { margin: 0 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.tx-topic { display: flex; align-items: center; gap: 7px; background: #fff; border: 1px solid #e8edf4; border-radius: 12px; padding: 6px 8px; font-size: 9.5px; font-weight: 700; color: #0f172a; box-shadow: 0 6px 16px -12px rgba(15,23,42,0.35); }
.tx-topic span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tx-topic em { font-style: normal; font-size: 8.5px; color: #94a3b8; }
.tx-topic .n { width: 18px; height: 18px; border-radius: 6px; color: #fff; font-size: 8.5px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex: none; }
.tx-topic .n1, .tx-topic .n2, .tx-topic .n3 { background: linear-gradient(135deg, #0a84ff, #4dabff); box-shadow: 0 4px 8px -4px rgba(0,140,255,0.7); }
.tx-topic .n4 { background: #e2e8f0; color: #64748b; }
.tx-topic.on { border-color: rgba(0,140,255,0.35); box-shadow: 0 0 0 2px rgba(0,140,255,0.14); }
.tx-topic.ghost { border-style: dashed; color: #64748b; background: transparent; box-shadow: none; }
.tx-lesson-rows { margin: 0 10px; background: #fff; border: 1px solid #e8edf4; border-radius: 14px; padding: 4px; display: flex; flex-direction: column; gap: 2px; }
.tx-lesson { font-size: 9.5px; font-weight: 600; color: #475569; border-radius: 9px; padding: 5px 8px; display: flex; align-items: center; gap: 6px; }
.tx-lesson i { width: 16px; height: 16px; border-radius: 5px; background: rgba(0,140,255,0.1); color: #008cff; font-size: 8px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.tx-lesson em { margin-left: auto; font-style: normal; color: #94a3b8; font-size: 8.5px; }
.tx-lesson.on { background: #f6f8fc; color: #0f172a; font-weight: 700; }

/* -- Phone frames: student practice (hero) and student home (students row) -- */
.tx-phone-screen.tx-practice { background: #fff; color: #0f172a; padding: 12px 9px 10px; gap: 7px; }
.tx-pr-top { display: flex; align-items: center; gap: 4px; }
.tx-pr-top > i { color: #64748b; font-size: 10px; margin-right: auto; }
.tx-pr-pill { display: inline-flex; align-items: center; gap: 3px; font-size: 8.5px; font-weight: 700; color: #0f172a; background: #fff; border: 1px solid #e7ebf3; border-radius: 999px; padding: 2px 7px; white-space: nowrap; }
.tx-pr-pill .fa-heart { color: #f50000; }
.tx-pr-pill .fa-fire { color: #f97316; }
.tx-pr-lvl { position: relative; width: 26px; height: 16px; border-radius: 999px; background: #fff; border: 1px solid #e7ebf3; flex: none; }
.tx-pr-lvl b { position: absolute; left: 1px; top: 1px; width: 12px; height: 12px; border-radius: 50%; background: #008cff; color: #fff; font-size: 7px; display: flex; align-items: center; justify-content: center; }
.tx-pr-lvl::after { content: ""; position: absolute; right: 1px; top: 1px; width: 12px; height: 12px; border-radius: 50%; background: linear-gradient(135deg, #48a9f8, #008cff); }
.tx-pr-progress { display: flex; align-items: center; gap: 5px; background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(244,247,252,0.9)); border: 1px solid rgba(47,107,255,0.12); border-radius: 999px; padding: 3px 6px 3px 3px; box-shadow: 0 4px 14px rgba(28,28,40,0.06); }
.tx-pr-progress .count { font-size: 7.5px; font-weight: 800; color: #fff; background: linear-gradient(135deg, #008cff, #6b9bff); border-radius: 999px; padding: 2px 6px; white-space: nowrap; }
.tx-pr-progress .track { flex: 1; height: 5px; border-radius: 999px; background: #e6ebf3; box-shadow: inset 0 1px 2px rgba(28,28,40,0.1); overflow: hidden; }
.tx-pr-progress .track span { display: block; width: 66%; height: 100%; background: linear-gradient(90deg, #008cff, #6b9bff); border-radius: 999px; box-shadow: 0 0 8px rgba(47,107,255,0.45); }
.tx-pr-progress .togo { font-size: 7.5px; font-weight: 800; color: #5b6575; white-space: nowrap; }
.tx-pr-card { background: #fff; border-radius: 8px; padding: 10px 9px; display: flex; flex-direction: column; gap: 6px; box-shadow: 0 8px 12px 0 rgba(0,0,0,0.05); border: 1px solid #eef2f7; }
.tx-ph-kicker { font-size: 8px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: #008cff; }
.tx-ph-title { font-size: 11.5px; font-weight: 700; line-height: 1.3; }
.tx-practice .tx-ph-title { font-size: 11.5px; line-height: 1.3; color: #0f172a; margin-bottom: 2px; }
.tx-practice .tx-ph-opt { display: flex; align-items: center; gap: 6px; font-size: 9.5px; font-weight: 500; color: #0f172a; background: #fafafa; border: 2px solid #f0f0f0; border-radius: 12px; padding: 6px 8px; }
.tx-practice .tx-ph-opt .ind { width: 14px; height: 14px; border-radius: 5px; border: 1.5px solid #eee; background: #fff; color: #bbb; font-size: 7px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.tx-practice .tx-ph-opt.right { background: #e8f5e9; border-color: #4caf50; color: #2e7d32; font-weight: 600; box-shadow: 0 4px 12px rgba(76,175,80,0.2); }
.tx-practice .tx-ph-opt.right .ind { background: #4caf50; border-color: #4caf50; color: #fff; }
.tx-pr-continue { margin-top: auto; text-align: center; font-size: 10px; font-weight: 600; color: #008cff; background: rgba(0,140,255,0.1); border: 2px solid rgba(0,140,255,0.1); border-radius: 999px; padding: 7px; }

/* -- Image 2: the real Live HUD -- */
.tx-mock-window.tx-live {
	background: #0b1120; color: #e5e9f3; border-color: rgba(255,255,255,0.08);
	padding: 8px; display: flex; flex-direction: column; gap: 7px;
	box-shadow: 0 40px 90px -30px rgba(2,8,23,0.9), 0 0 60px -20px rgba(99,102,241,0.4);
}
.tx-hud { display: flex; align-items: center; gap: 5px; min-width: 0; }
.tx-hud-live { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; font-weight: 800; color: #fff; white-space: nowrap; margin-right: 2px; }
.tx-hud-live em { font-style: normal; font-weight: 600; color: #94a3b8; font-size: 9px; }
.tx-hud-live .dot { width: 7px; height: 7px; border-radius: 50%; background: #ef4444; animation: txLivePulse 1.4s ease-in-out infinite; }
.tx-hud-group { display: inline-flex; align-items: center; gap: 4px; background: #111a2e; border: 1px solid rgba(255,255,255,0.08); border-radius: 999px; padding: 3px 5px 3px 3px; min-width: 0; }
.tx-hud-step { font-size: 8px; font-weight: 800; color: #fff; background: #3b82f6; border-radius: 999px; padding: 2px 6px; white-space: nowrap; }
.tx-hud-bar { width: 54px; height: 6px; border-radius: 999px; background: rgba(255,255,255,0.1); overflow: hidden; position: relative; }
.tx-hud-bar .fill { position: absolute; inset: 0 auto 0 0; width: 38%; border-radius: 999px; background: linear-gradient(90deg, #6366f1, #a855f7); animation: txHudFill 6s ease-in-out infinite; }
@keyframes txHudFill { 0%, 30% { width: 38%; } 60%, 100% { width: 50%; } }
.tx-hud-ic { display: inline-flex; align-items: center; gap: 3px; font-size: 8.5px; font-weight: 700; color: #cbd5e1; background: #111a2e; border: 1px solid rgba(255,255,255,0.08); border-radius: 999px; padding: 3px 7px; white-space: nowrap; }
.tx-hud-group .tx-hud-ic { background: transparent; border: 0; padding: 0 3px; color: #94a3b8; }
.tx-hud-ic.round { width: 20px; height: 20px; padding: 0; justify-content: center; border-radius: 50%; flex: none; }
.tx-hud-ic.ok { color: #34d399; }
.tx-hud-ic.star { color: #fbbf24; }
.tx-hud-btn { display: inline-flex; align-items: center; gap: 4px; font-size: 8.5px; font-weight: 700; color: #e2e8f0; background: #111a2e; border: 1px solid rgba(255,255,255,0.1); border-radius: 999px; padding: 4px 8px; white-space: nowrap; }
.tx-hud-next { font-size: 9px; font-weight: 800; color: #fff; border-radius: 999px; padding: 4px 11px; white-space: nowrap; background: linear-gradient(90deg, #6366f1, #a855f7, #ec4899); box-shadow: 0 6px 14px -6px rgba(168,85,247,0.8); }
.tx-hud-right { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; }
.tx-stage {
	position: relative; border-radius: 12px; padding: 12px 36px 16px 12px;
	background: #0f172a; border: 1.5px solid rgba(34,197,94,0.75);
	box-shadow: 0 0 0 1px rgba(34,197,94,0.15), inset 0 0 40px rgba(34,197,94,0.05);
}
.tx-points { position: absolute; left: 10px; top: 10px; display: inline-flex; align-items: center; gap: 6px; background: #121c33; border: 1px solid rgba(255,255,255,0.08); border-radius: 10px; padding: 4px 8px; }
.tx-points > i { width: 18px; height: 18px; border-radius: 50%; background: #fbbf24; color: #fff; font-size: 9px; display: flex; align-items: center; justify-content: center; }
.tx-points span { display: flex; flex-direction: column; line-height: 1.05; font-size: 8px; color: #94a3b8; white-space: nowrap; }
.tx-points small { display: block; font-size: 6.5px; letter-spacing: 1px; text-transform: uppercase; color: #94a3b8; }
.tx-points .v { white-space: nowrap; }
.tx-points b { color: #fff; font-size: 10px; }
.tx-stage-tools { position: absolute; right: 36px; top: 10px; display: flex; gap: 3px; }
.tx-stage-tools i { width: 18px; height: 18px; border-radius: 6px; background: #121c33; border: 1px solid rgba(255,255,255,0.08); color: #94a3b8; font-size: 8px; display: flex; align-items: center; justify-content: center; }
.tx-stage-q { margin: 32px 0 8px; text-align: center; font-size: 11px; font-weight: 700; color: #fff; line-height: 1.35; }
.tx-tray { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px; border: 1px dashed rgba(255,255,255,0.14); border-radius: 10px; padding: 6px; }
.tx-token { font-size: 8.5px; font-weight: 700; color: #fff; background: #2f80ff; border-radius: 999px; padding: 3px 8px; white-space: nowrap; box-shadow: 0 4px 10px -6px rgba(47,128,255,0.8); }
.tx-bins { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 6px; }
.tx-bin { min-height: 56px; border-radius: 10px; background: #111a2e; border: 1px solid rgba(255,255,255,0.08); padding: 5px; display: flex; flex-direction: column; gap: 5px; align-items: flex-start; }
.tx-bin .hd { align-self: stretch; text-align: center; font-size: 8px; font-weight: 700; color: #60a5fa; border: 1px solid rgba(96,165,250,0.35); border-radius: 999px; padding: 2px 6px; }
.tx-token.in { animation: txTokenIn 6s ease-in-out infinite; }
.tx-bin:nth-child(2) .tx-token.in { animation-delay: 1.4s; }
@keyframes txTokenIn { 0%, 20% { opacity: 0; transform: translateY(-14px) scale(0.9); } 35%, 100% { opacity: 1; transform: none; } }
.tx-draw { position: absolute; right: 7px; top: 50%; transform: translateY(-50%); width: 22px; display: flex; flex-direction: column; align-items: center; gap: 4px; background: #121c33; border: 1px solid rgba(255,255,255,0.08); border-radius: 999px; padding: 5px 0; }
.tx-draw .t { width: 16px; height: 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #cbd5e1; font-size: 7.5px; }
.tx-draw .t.on { background: #3b82f6; color: #fff; }
.tx-draw .c { width: 8px; height: 8px; border-radius: 50%; }
.tx-draw .c1 { background: #fff; box-shadow: 0 0 0 1.5px #8b5cf6; }
.tx-draw .c2 { background: #ef4444; }
.tx-draw .c3 { background: #22c55e; }
.tx-stage-line { position: absolute; left: 12px; right: 36px; bottom: 7px; height: 3px; border-radius: 999px; background: rgba(255,255,255,0.08); overflow: hidden; }
.tx-stage-line span { display: block; width: 92%; height: 100%; background: #3b82f6; border-radius: 999px; }
.tx-answering { display: flex; align-items: center; gap: 6px; font-size: 8.5px; color: #cbd5e1; background: #111a2e; border: 1px solid rgba(255,255,255,0.08); border-radius: 10px; padding: 5px 8px; white-space: nowrap; overflow: hidden; }
.tx-answering b { color: #fff; }
.tx-answering .tag { font-size: 7px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: #fff; background: #6d5bd0; border-radius: 999px; padding: 2px 7px; flex: none; }
.tx-answering .tag i { margin-right: 2px; font-size: 7px; }
.tx-reveal-row { display: flex; align-items: center; gap: 8px; padding: 0 2px; }
.tx-reveal { flex: 1; text-align: center; font-size: 11px; font-weight: 800; color: #fff; border-radius: 999px; padding: 8px; background: linear-gradient(90deg, #6366f1, #a855f7 55%, #ec4899); box-shadow: 0 10px 24px -10px rgba(168,85,247,0.9); border: 1px solid rgba(255,255,255,0.25); }
.tx-strip { display: flex; align-items: center; gap: 5px; padding: 2px 0 0; min-width: 0; }
.tx-student { display: flex; flex-direction: column; align-items: center; gap: 3px; background: #111a2e; border: 1px solid rgba(255,255,255,0.08); border-radius: 10px; padding: 6px 7px 5px; min-width: 56px; }
.tx-student .name { font-size: 7.5px; font-weight: 700; color: #e2e8f0; white-space: nowrap; }
.tx-student.add { border-style: dashed; background: transparent; }
.tx-student.add .tx-avatar { background: #1e293b; color: #94a3b8; font-size: 9px; }
.tx-student.add .name { color: #94a3b8; }
.tx-avatar { position: relative; width: 24px; height: 24px; border-radius: 50%; color: #fff; font-size: 8px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex: none; }
.tx-avatar i { position: absolute; right: -3px; top: -3px; width: 11px; height: 11px; border-radius: 50%; background: #22c55e; color: #fff; font-size: 6px; display: flex; align-items: center; justify-content: center; border: 1.5px solid #111a2e; }
.tx-avatar.av1 { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.tx-avatar.av2 { background: linear-gradient(135deg, #0ea5e9, #6366f1); }
.tx-avatar.av3 { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.tx-avatar.av4 { background: linear-gradient(135deg, #10b981, #0ea5e9); }
.tx-strip-more { font-size: 8.5px; font-weight: 700; color: #94a3b8; white-space: nowrap; margin-left: 2px; }
.tx-strip-end { margin-left: auto; font-size: 8.5px; font-weight: 800; color: #fca5a5; background: rgba(239,68,68,0.14); border: 1px solid rgba(239,68,68,0.35); border-radius: 999px; padding: 4px 9px; white-space: nowrap; }
.tx-strip-end i { margin-right: 2px; }
@media (max-width: 1199px) {
	.tx-hud-right .tx-hud-ic.round, .tx-strip .tx-student:nth-child(4) { display: none; }
}
@media (max-width: 575px) {
	.tx-hud-btn, .tx-hud-right .tx-hud-ic:not(.star), .tx-strip .tx-student:nth-child(3), .tx-strip-more { display: none; }
	.tx-stage { padding-right: 12px; }
	.tx-draw, .tx-stage-tools { display: none; }
	.tx-stage-line { right: 12px; }
}

/* -- Image 3: the student home, phone in front of laptop -- */
.tx-dash-laptop .tx-laptop-screen { background: #f6f8fc; color: #0f172a; padding: 0 0 12px 0; min-height: 300px; }
.tx-dash-phone .tx-phone-screen { background: #f6f8fc; color: #0f172a; min-height: 340px; padding: 10px 8px 8px; gap: 7px; }
.tx-dv { display: flex; flex-direction: column; gap: 8px; }
.tx-dash-laptop .tx-dv { padding-left: 54px; }
.tx-dv-bar { display: flex; align-items: center; gap: 4px; padding: 0 0 2px; }
.tx-dash-laptop .tx-dv-bar { padding: 7px 12px; margin: 0 0 2px -54px; background: #fff; border-bottom: 1px solid #e7ebf3; }
.tx-dv-bar .menu { width: 20px; height: 20px; border-radius: 6px; background: #fff; border: 1px solid #e7ebf3; color: #0f172a; font-size: 9px; display: flex; align-items: center; justify-content: center; margin-right: auto; }
.tx-dv-hero {
	position: relative; margin: 0 10px 0 0; padding: 12px 12px 12px; border-radius: 16px; color: #fff; display: flex; flex-direction: column; gap: 3px;
	background: radial-gradient(160px 100px at 90% 10%, rgba(255,255,255,0.16), transparent 60%), radial-gradient(120px 90px at 0% 100%, rgba(255,255,255,0.12), transparent 60%), linear-gradient(130deg, #4f46e5 0%, #6366f1 45%, #8b5cf6 100%);
	box-shadow: 0 14px 30px -16px rgba(79,70,229,0.7);
}
.tx-dash-phone .tx-dv-hero { margin: 0; padding: 12px 10px; }
.tx-dv-hero .hi { font-size: 8.5px; font-weight: 600; opacity: 0.9; }
.tx-dv-hero .who { font-size: 17px; font-weight: 800; letter-spacing: -0.4px; line-height: 1.1; }
.tx-dv-hero .sub { font-size: 8.5px; line-height: 1.35; opacity: 0.95; margin-top: 2px; padding-right: 54px; }
.tx-dash-phone .tx-dv-hero .sub { padding-right: 0; }
.tx-dv-hero .sub em { font-style: normal; font-weight: 700; color: #fde68a; }
.tx-dv-hero .acts { display: flex; gap: 5px; margin-top: 7px; }
.tx-dv-hero .acts span { font-size: 8.5px; font-weight: 800; border-radius: 999px; padding: 5px 9px; white-space: nowrap; }
.tx-dv-hero .acts .a1 { background: #fff; color: #4f46e5; }
.tx-dv-hero .acts .a2 { color: #fff; border: 1px solid rgba(255,255,255,0.45); }
.tx-dv-hero .lvl { position: absolute; right: 12px; top: 14px; display: flex; flex-direction: column; align-items: center; }
.tx-dash-phone .tx-dv-hero .lvl { display: none; }
.tx-dv-hero .lvl .av { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, #a855f7, #ec4899); border: 3px solid rgba(255,255,255,0.55); font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.tx-dv-hero .lvl small { margin-top: -6px; font-size: 6.5px; font-weight: 800; letter-spacing: 0.5px; background: #f59e0b; color: #fff; border-radius: 999px; padding: 2px 6px; }
.tx-dv-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-right: 10px; }
.tx-dash-phone .tx-dv-stats { grid-template-columns: 1fr 1fr; margin-right: 0; }
.tx-dv-stats .st { display: flex; align-items: center; gap: 6px; background: #fff; border-radius: 12px; padding: 7px 8px; box-shadow: 0 4px 14px -10px rgba(15,23,42,0.3); border: 1px solid #eef2f7; min-width: 0; }
.tx-dv-stats .ic { width: 22px; height: 22px; border-radius: 8px; font-size: 10px; display: flex; align-items: center; justify-content: center; flex: none; }
.tx-dv-stats .i1 { background: #fff1e6; color: #f97316; }
.tx-dv-stats .i2 { background: #eef2ff; color: #6366f1; }
.tx-dv-stats .i3 { background: #fef3c7; color: #d97706; }
.tx-dv-stats .i4 { background: #ffe4e6; color: #e11d48; }
.tx-dv-stats .st > span { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.tx-dv-stats .st b { font-size: 10px; color: #0f172a; white-space: nowrap; }
.tx-dv-stats .st small { font-size: 7px; color: #64748b; white-space: nowrap; }
.tx-dash-phone .tx-dv-hero .acts .a2 { display: none; }
.tx-dv-task { display: flex; margin-right: 10px; background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid #eef2f7; box-shadow: 0 8px 22px -14px rgba(15,23,42,0.35); }
.tx-dash-phone .tx-dv-task { margin-right: 0; }
.tx-dv-task .art { position: relative; width: 64px; flex: none; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #f43f5e 0%, #f97316 100%); color: #fff; }
.tx-dash-phone .tx-dv-task .art { width: 48px; }
.tx-dv-task .art > i { width: 26px; height: 26px; border-radius: 8px; background: rgba(255,255,255,0.22); display: flex; align-items: center; justify-content: center; font-size: 11px; }
.tx-dv-task .due { position: absolute; left: 5px; top: 5px; font-size: 6px; font-weight: 800; letter-spacing: 0.4px; text-transform: uppercase; background: rgba(255,255,255,0.22); border-radius: 999px; padding: 2px 5px; white-space: nowrap; }
.tx-dv-task .body { flex: 1; min-width: 0; padding: 8px 9px; display: flex; flex-direction: column; gap: 3px; }
.tx-dv-task .k { font-size: 7px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: #e11d48; }
.tx-dv-task b { font-size: 11px; font-weight: 800; color: #0f172a; letter-spacing: -0.2px; line-height: 1.2; }
.tx-dv-task .chip { align-self: flex-start; font-size: 6.5px; font-weight: 800; letter-spacing: 0.5px; text-transform: uppercase; color: #4f46e5; background: #eef2ff; border-radius: 999px; padding: 2px 6px; }
.tx-dv-task .prog { display: flex; align-items: center; gap: 6px; margin-top: 2px; }
.tx-dv-task .track { flex: 1; height: 5px; border-radius: 999px; background: #e2e8f0; overflow: hidden; }
.tx-dv-task .track span { display: block; width: 33%; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #f43f5e, #f97316); }
.tx-dv-task .prog small { font-size: 7px; font-weight: 700; color: #e11d48; white-space: nowrap; }
.tx-dv-nav { margin: auto auto 0; display: flex; gap: 6px; background: #fff; border-radius: 999px; padding: 4px; box-shadow: 0 8px 20px -10px rgba(15,23,42,0.35); border: 1px solid #eef2f7; }
.tx-dash-laptop .tx-dv-nav { display: none; }
.tx-dv-nav span { width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #94a3b8; font-size: 9px; }
.tx-dv-nav span.on { background: #e0ecff; color: #3b82f6; }

/* ---- Fixed-nav clearance ---- */
/* style.css gives body padding-top (100px; 80px under 768px) to clear the
   fixed nav, which is only ~73px tall - against the dark hero the leftover
   shows as a blank band. Extend the hero up behind the frosted nav instead;
   the content keeps its position. */
.tx-hero { margin-top: -100px; padding-top: 100px; }
@media (max-width: 767.98px) {
	.tx-hero { margin-top: -80px; padding-top: 80px; }
}
