/* =========================================================================
   Use case — single page (page-use-case.php)
   On-brand, cream surface with mint accents. Uses brand tokens from global.css.
   --uc-accent is set inline per page (defaults to mint-green).
   ========================================================================= */

.bublr-uc {
	--uc-accent: var(--mint-green);
	background: var(--cream);
	color: var(--black);
	overflow: hidden;
}

.bublr-uc h2 {
	font-size: clamp(30px, 4vw, 50px);
}

/* ---------- 1 · Hero ---------- */
.bublr-uc-hero {
	position: relative;
	padding: clamp(120px, 16vw, 210px) 0 clamp(70px, 9vw, 120px);
}

.bublr-uc-hero__b {
	position: absolute;
	border-radius: 50%;
	filter: blur(60px);
	opacity: 0.55;
	pointer-events: none;
	z-index: 0;
}

.bublr-uc-hero__b--1 {
	width: 460px;
	height: 460px;
	top: -120px;
	right: -120px;
	background: var(--uc-accent);
}

.bublr-uc-hero__b--2 {
	width: 360px;
	height: 360px;
	bottom: -160px;
	left: -130px;
	background: var(--powder);
	opacity: 0.4;
}

.bublr-uc-hero__inner {
	position: relative;
	z-index: 1;
	max-width: 880px;
}

.bublr-uc-hero__title {
	font-size: clamp(40px, 7vw, 78px);
	line-height: 1.02;
	margin: 22px 0 0;
}

.bublr-uc-hero__intro {
	font-size: clamp(17px, 1.6vw, 21px);
	line-height: 1.55;
	color: var(--grey-4);
	max-width: 640px;
	margin: 26px 0 0;
}

.bublr-uc-hero__cta {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 38px;
}

/* ---------- 2 · Who it's for ---------- */
.bublr-uc-who {
	padding: clamp(60px, 8vw, 110px) 0;
}

.bublr-uc-who__row {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(24px, 3vw, 48px);
}

.bublr-uc-who__item {
	position: relative;
	padding-top: 28px;
	border-top: 2px solid rgba(10, 10, 10, 0.1);
}

.bublr-uc-who__dot {
	position: absolute;
	top: -7px;
	left: 0;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--uc-accent);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--uc-accent) 28%, transparent);
}

.bublr-uc-who__item h3 {
	font-size: 22px;
	margin-bottom: 10px;
}

.bublr-uc-who__item p {
	font-size: 16px;
	line-height: 1.6;
	color: var(--grey-4);
}

/* ---------- 3 · Features ---------- */
.bublr-uc-feat {
	padding: clamp(60px, 8vw, 110px) 0;
}

.bublr-uc-feat__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: clamp(18px, 2vw, 28px);
}

.bublr-uc-feat__card {
	position: relative;
	background: #fff;
	border: 1px solid rgba(10, 10, 10, 0.07);
	border-radius: 22px;
	padding: 40px 36px 36px;
	box-shadow: 0 10px 34px rgba(10, 11, 14, 0.05);
	transition: transform 0.25s var(--ease-morph, ease), box-shadow 0.25s ease;
}

.bublr-uc-feat__card:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 48px rgba(10, 11, 14, 0.1);
}

.bublr-uc-feat__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 14px;
	background: color-mix(in srgb, var(--uc-accent) 24%, transparent);
	color: var(--mint-deep);
	font-family: var(--font-mono);
	font-size: 15px;
	font-weight: 600;
	margin-bottom: 22px;
}

.bublr-uc-feat__card h3 {
	font-size: 22px;
	margin-bottom: 12px;
}

.bublr-uc-feat__card p {
	font-size: 16px;
	line-height: 1.6;
	color: var(--grey-4);
}

/* ---------- 4 · How it maps ---------- */
.bublr-uc-map {
	padding: clamp(60px, 8vw, 110px) 0;
}

.bublr-uc-map__strip {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(20px, 3vw, 40px);
	counter-reset: ucstep;
}

.bublr-uc-map__step {
	position: relative;
	padding: 30px 0 0;
}

.bublr-uc-map__step::before {
	content: "";
	position: absolute;
	top: 22px;
	left: 56px;
	right: -20px;
	height: 2px;
	background: repeating-linear-gradient(90deg, rgba(10, 10, 10, 0.18) 0 7px, transparent 7px 14px);
}

.bublr-uc-map__step:last-child::before {
	display: none;
}

.bublr-uc-map__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--uc-accent);
	color: var(--black);
	font-family: var(--font-mono);
	font-weight: 600;
	font-size: 15px;
	position: relative;
	z-index: 1;
	margin-bottom: 22px;
}

.bublr-uc-map__step h3 {
	font-size: 22px;
	margin-bottom: 10px;
}

.bublr-uc-map__step p {
	font-size: 16px;
	line-height: 1.6;
	color: var(--grey-4);
}

/* ---------- 5 · Closing CTA band ---------- */
.bublr-uc-cta {
	padding: clamp(40px, 6vw, 80px) 0 clamp(90px, 11vw, 150px);
}

.bublr-uc-cta__card {
	position: relative;
	overflow: hidden;
	background: var(--black);
	color: #fff;
	border-radius: 30px;
	padding: clamp(48px, 7vw, 90px) clamp(28px, 6vw, 80px);
	text-align: center;
}

.bublr-uc-cta__card::before {
	content: "";
	position: absolute;
	width: 480px;
	height: 480px;
	border-radius: 50%;
	background: var(--uc-accent);
	filter: blur(90px);
	opacity: 0.32;
	top: -200px;
	right: -120px;
	pointer-events: none;
}

.bublr-uc-cta__card h2 {
	color: #fff;
	font-size: clamp(30px, 4.5vw, 52px);
	margin-bottom: 16px;
	position: relative;
}

.bublr-uc-cta__card p {
	color: rgba(255, 255, 255, 0.72);
	font-size: 18px;
	line-height: 1.55;
	max-width: 560px;
	margin: 0 auto 32px;
	position: relative;
}

.bublr-uc-cta__btns {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	justify-content: center;
	position: relative;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
	.bublr-uc-who__row,
	.bublr-uc-feat__grid,
	.bublr-uc-map__strip {
		grid-template-columns: 1fr;
	}

	.bublr-uc-map__step::before {
		display: none;
	}
}

/* ===========================================================================
   Use-case scrollytelling — large text panels scroll on one side; the image on
   the sticky side swaps as each panel becomes active (Varun review).
   =========================================================================== */
.bublr-uc-show__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(32px, 5vw, 80px);
	align-items: start;
}
.bublr-uc-show__panels { display: flex; flex-direction: column; }
.bublr-uc-show__panel {
	min-height: 70vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	opacity: 0.3;
	transition: opacity 0.45s ease;
}
.bublr-uc-show__panel[data-active] { opacity: 1; }
.bublr-uc-show__num {
	font-family: var(--font-mono, monospace);
	font-size: 13px;
	letter-spacing: 0.2em;
	color: var(--uc-accent, #2BC47E);
	margin-bottom: 14px;
}
.bublr-uc-show__panel h3 {
	font-family: var(--font-head, sans-serif);
	font-weight: 600;
	font-size: clamp(28px, 3.4vw, 46px);
	line-height: 1.06;
	letter-spacing: -0.03em;
	margin: 0 0 16px;
	color: var(--black, #0A0A0A);
}
.bublr-uc-show__panel p {
	font-size: clamp(16px, 1.7vw, 19px);
	line-height: 1.6;
	color: var(--grey-4, #667085);
	max-width: 42ch;
}
.bublr-uc-show__media { height: 100%; }
.bublr-uc-show__sticky {
	position: sticky;
	top: 14vh;
	height: 72vh;
	border-radius: 28px;
	overflow: hidden;
	background: color-mix(in srgb, var(--uc-accent, #7FE5A8) 14%, #EFEAE0);
	box-shadow: 0 30px 60px -30px rgba(10, 40, 28, 0.45);
}
.bublr-uc-show__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transform: scale(1.04);
	transition: opacity 0.6s ease, transform 0.9s ease;
}
.bublr-uc-show__img.is-active { opacity: 1; transform: scale(1); }

@media (max-width: 860px) {
	.bublr-uc-show__grid { grid-template-columns: 1fr; gap: 0; }
	.bublr-uc-show__media { display: none; }
	.bublr-uc-show__panel {
		min-height: 0;
		opacity: 1;
		padding: 26px 0;
		border-bottom: 1px solid rgba(10, 10, 10, 0.08);
	}
}
