/* ComplianceTalks v2.9.0 — homepage refresh, Tool Login menu, live status band */

/* ---------- Hero ---------- */
.hero { isolation: isolate; }
.hero::before {
	content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
	background:
		radial-gradient(520px 340px at 12% 18%, rgba(216, 183, 102, .16), transparent 70%),
		radial-gradient(640px 420px at 88% 85%, rgba(76, 122, 201, .22), transparent 70%);
	animation: ct-glow 14s ease-in-out infinite alternate;
}
@keyframes ct-glow { from { transform: translate3d(0,0,0); } to { transform: translate3d(0,-18px,0) scale(1.04); } }
.hero__pill {
	display: inline-flex; align-items: center; gap: 9px; margin-bottom: 22px; padding: 7px 14px 7px 12px;
	border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(216,183,102,.45);
	color: #f3e6c4; font-size: .86rem; font-weight: 500; text-decoration: none; backdrop-filter: blur(6px);
	transition: background .2s, border-color .2s, transform .2s;
}
.hero__pill:hover { background: rgba(216,183,102,.16); border-color: var(--gold-400); color: #fff; transform: translateY(-1px); }
.hero__pill .ct-icon { width: 14px; height: 14px; }
.live-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #34d27b; flex: none; display: inline-block; }
.live-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #34d27b; opacity: .6; animation: ct-ping 1.8s ease-out infinite; }
@keyframes ct-ping { from { transform: scale(.6); opacity: .7; } to { transform: scale(1.8); opacity: 0; } }
.hero__title .hl {
	display: inline; font-style: italic;
	background: linear-gradient(100deg, #f1d68b 0%, #d8b766 45%, #b8892d 100%);
	-webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__trust { gap: 10px; }
.hero__trust li {
	padding: 7px 13px; border-radius: 999px; background: rgba(255,255,255,.06);
	border: 1px solid rgba(255,255,255,.12); font-size: .86rem;
}
.hero .btn--gold { box-shadow: 0 14px 30px -12px rgba(201,162,74,.75); }
.spot { transition: transform .35s ease, box-shadow .35s ease; }
.spot:hover { transform: translateY(-4px); box-shadow: 0 40px 70px -28px rgba(0,0,0,.6); }
.spot__list a { transition: background .15s, padding-left .15s; border-radius: 10px; }
.spot__list a:hover { background: var(--bg-tint); padding-left: 6px; }

/* ---------- Key numbers ---------- */
.stats { background: linear-gradient(180deg, var(--navy-900), #081428); }
.stat { display: flex; gap: 14px; align-items: flex-start; }
.stat__ic {
	flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
	background: rgba(216,183,102,.12); border: 1px solid rgba(216,183,102,.3);
}
.stat__ic .ct-icon { width: 21px; height: 21px; color: var(--gold-400); }
.stat > div > span { display: block; }

/* ---------- Tool Login band ---------- */
.tools-band { padding: 46px 0; background: linear-gradient(180deg, #fbf7ee, #fff); border-bottom: 1px solid var(--line); }
.tools-band__inner { display: grid; grid-template-columns: minmax(260px, 360px) 1fr; gap: 34px; align-items: center; }
.tools-band__head { display: flex; gap: 16px; align-items: flex-start; }
.tools-band__head h2 { font-size: 1.4rem; margin: 0 0 6px; }
.tools-band__head p { margin: 0; color: var(--muted); font-size: .93rem; }
.tools-band__icon {
	flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
	background: linear-gradient(145deg, var(--navy-700), var(--navy-900)); box-shadow: 0 12px 24px -12px rgba(15,37,71,.6);
}
.tools-band__icon .ct-icon { width: 24px; height: 24px; color: var(--gold-400); }
.tools-band__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.tool-chip {
	display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 14px; text-decoration: none;
	background: #fff; border: 1px solid var(--line); color: var(--ink); box-shadow: var(--shadow);
	transition: transform .2s, border-color .2s, box-shadow .2s;
}
.tool-chip:hover { transform: translateY(-3px); border-color: var(--gold-400); box-shadow: 0 16px 30px -18px rgba(15,37,71,.45); color: var(--ink); }
.tool-chip__ic { flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--gold-100, #fbf3df); }
.tool-chip__ic .ct-icon { width: 18px; height: 18px; color: var(--gold-600, #9a7424); }
.tool-chip--emp .tool-chip__ic { background: #e8f0fb; }
.tool-chip--emp .tool-chip__ic .ct-icon { color: var(--navy-700); }
.tool-chip__t { flex: 1; font-weight: 600; font-size: .93rem; line-height: 1.3; }
.tool-chip__t small { display: block; font-weight: 500; color: var(--muted); font-size: .76rem; letter-spacing: .02em; margin-top: 2px; }
.tool-chip__go .ct-icon { width: 16px; height: 16px; color: var(--navy-700); transition: transform .2s; }
.tool-chip:hover .tool-chip__go .ct-icon { transform: translateX(3px); }

/* ---------- Services ---------- */
.services--compact .service { transition: transform .25s ease, box-shadow .25s ease, border-color .25s; }
.services--compact .service:hover { transform: translateY(-6px); box-shadow: 0 26px 44px -26px rgba(15,37,71,.5); }
.service__icon { background: linear-gradient(145deg, var(--navy-700), var(--navy-900)); }

/* ---------- Labour Codes live band ---------- */
.lc-band {
	position: relative; overflow: hidden; padding: 84px 0; color: #fff;
	background: radial-gradient(700px 400px at 90% 10%, rgba(76,122,201,.25), transparent 70%), linear-gradient(160deg, var(--navy-800), var(--navy-900));
}
.lc-band::after { content: ""; position: absolute; right: -140px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; border: 2px solid rgba(216,183,102,.18); }
.lc-band__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr 1fr; gap: 60px; align-items: center; }
.lc-band h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 0 0 14px; }
.lc-band__text > p { color: rgba(255,255,255,.78); max-width: 560px; }
.lc-band .eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.lc-band__chips { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.lc-band__chips li { padding: 5px 12px; border-radius: 999px; background: rgba(52,210,123,.12); border: 1px solid rgba(52,210,123,.4); color: #c9f3da; font-size: .82rem; }
.lc-band__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.lc-band__meter { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 20px; padding: 28px; backdrop-filter: blur(4px); }
.meter + .meter { margin-top: 20px; }
.meter__top { display: flex; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.meter__top strong { font-family: var(--font-head); font-size: 2.2rem; line-height: 1; min-width: 52px; }
.meter__top span { color: rgba(255,255,255,.8); font-size: .92rem; }
.meter__bar { height: 10px; border-radius: 999px; background: rgba(255,255,255,.1); overflow: hidden; }
.meter__bar i { display: block; height: 100%; width: var(--w); border-radius: inherit; transition: width 1.4s cubic-bezier(.2,.8,.2,1); }
.lc-band.anim .meter__bar i { width: 0; }
.lc-band.anim.is-on .meter__bar i { width: var(--w); }
.meter--ok strong { color: #5fe39a; } .meter--ok .meter__bar i { background: linear-gradient(90deg, #2fbf6f, #5fe39a); }
.meter--mid strong { color: var(--gold-400); } .meter--mid .meter__bar i { background: linear-gradient(90deg, #b8892d, #e4c578); }
.meter--low strong { color: #9fb6da; } .meter--low .meter__bar i { background: linear-gradient(90deg, #5d7bab, #9fb6da); }
.lc-band__note { margin: 18px 0 0; font-size: .82rem; color: rgba(255,255,255,.6); }

/* ---------- Approach (process) ---------- */
#approach .step { transition: transform .25s, background .25s, border-color .25s; }
#approach .step:hover { transform: translateY(-5px); background: rgba(255,255,255,.08); border-color: rgba(216,183,102,.45); }

/* ---------- Menu: Tool Login ---------- */
.primary-nav .menu-item--tools > a {
	display: inline-flex; align-items: center; gap: 7px;
}
.primary-nav .menu-item--tools > a::before {
	content: ""; width: 16px; height: 16px; flex: none; background: var(--gold-500);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='7.5' cy='15.5' r='4.5'/%3E%3Cpath d='M10.7 12.3 21 2M17 6l3 3M14.5 8.5l2.5 2.5'/%3E%3C/svg%3E") center/contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='7.5' cy='15.5' r='4.5'/%3E%3Cpath d='M10.7 12.3 21 2M17 6l3 3M14.5 8.5l2.5 2.5'/%3E%3C/svg%3E") center/contain no-repeat;
}
.primary-nav .menu-item--tools .sub-menu { min-width: 280px; }
.primary-nav .menu-item--employee { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 4px; }
.primary-nav .menu-item--employee > a { color: var(--navy-700); font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
	.tools-band__inner, .lc-band__inner { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
	.hero__pill { font-size: .76rem; padding: 6px 12px 6px 10px; }
	.hero__trust { gap: 6px; }
	.hero__trust li { padding: 5px 10px; font-size: .78rem; }
	.ct-enq-float { width: 52px; height: 52px; padding: 0; justify-content: center; border-radius: 50%; }
	.ct-enq-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.ct-enq-float svg { width: 22px; height: 22px; }
	.lc-band { padding: 60px 0; }
	.meter__top strong { font-size: 1.8rem; }
	.stat { padding: 18px 14px; }
	.stat__ic { width: 36px; height: 36px; }
}
@media (prefers-reduced-motion: reduce) {
	.hero::before, .live-dot::after { animation: none; }
	.meter__bar i { transition: none; width: var(--w); }
}
