/* ==========================================================================
   Solution page (page-solution.php)
   Product overview — hero, capabilities grid, comparison, closing CTA.
   Uses global tokens from assets/css/global.css.
   ========================================================================== */

.bublr-sol {
	background: var(--cream, #F5F2EB);
	color: var(--black, #0A0A0A);
	overflow: clip;
}

.bublr-sol .container {
	width: min(1180px, 92vw);
	margin-inline: auto;
}

/* --------------------------------------------------------------------------
   1 · Hero
   -------------------------------------------------------------------------- */
.bublr-sol-hero {
	position: relative;
	padding: clamp(96px, 14vw, 168px) 0 clamp(56px, 8vw, 96px);
	isolation: isolate;
}

.bublr-sol-hero__head {
	max-width: 780px;
}

.bublr-sol-hero__title {
	font-family: var(--font-head, "Poppins", sans-serif);
	font-weight: 700;
	font-size: clamp(2.4rem, 6vw, 4.2rem);
	line-height: 1.04;
	letter-spacing: -0.025em;
	margin: 0.35em 0 0;
}

.bublr-sol-hero__intro {
	font-family: var(--font-body, "Poppins", sans-serif);
	font-size: clamp(1.05rem, 1.6vw, 1.3rem);
	line-height: 1.55;
	color: var(--grey-4, #667085);
	max-width: 60ch;
	margin: 1.1em 0 0;
}

.bublr-sol-hero__cta {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: clamp(28px, 4vw, 40px);
}

/* Floating brand bubbles */
.bublr-sol-hero__b {
	position: absolute;
	border-radius: 50%;
	filter: blur(2px);
	opacity: 0.5;
	z-index: -1;
	pointer-events: none;
}
.bublr-sol-hero__b--1 {
	width: 320px; height: 320px;
	top: -60px; right: -80px;
	background: radial-gradient(circle at 35% 30%, var(--mint-green, #7FE5A8), transparent 70%);
}
.bublr-sol-hero__b--2 {
	width: 220px; height: 220px;
	bottom: -40px; left: -70px;
	background: radial-gradient(circle at 40% 35%, var(--powder, #B8DDE8), transparent 70%);
}
.bublr-sol-hero__b--3 {
	width: 160px; height: 160px;
	top: 40%; right: 18%;
	background: radial-gradient(circle at 40% 35%, var(--lime, #B6E94A), transparent 72%);
	opacity: 0.35;
}

/* --------------------------------------------------------------------------
   2 · Capabilities grid
   -------------------------------------------------------------------------- */
.bublr-sol-caps {
	padding: clamp(56px, 8vw, 100px) 0;
}

.bublr-sol-caps__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: clamp(16px, 2.2vw, 28px);
	margin-top: clamp(36px, 5vw, 56px);
}

.bublr-sol-cap {
	position: relative;
	background: #fff;
	border: 1px solid rgba(10, 10, 10, 0.07);
	border-radius: 24px;
	padding: clamp(26px, 3vw, 40px);
	transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
	overflow: hidden;
}
.bublr-sol-cap::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 4px;
	background: var(--c, var(--mint, #2BC47E));
	opacity: 0;
	transition: opacity 0.35s ease;
}
.bublr-sol-cap:hover {
	transform: translateY(-4px);
	box-shadow: 0 24px 60px -28px rgba(10, 10, 10, 0.28);
	border-color: rgba(10, 10, 10, 0.12);
}
.bublr-sol-cap:hover::before {
	opacity: 1;
}

.bublr-sol-cap__icon {
	display: inline-grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 16px;
	font-size: 1.5rem;
	line-height: 1;
	color: var(--black, #0A0A0A);
	background: color-mix(in srgb, var(--c, #7FE5A8) 28%, #fff);
}

.bublr-sol-cap__title {
	font-family: var(--font-head, "Poppins", sans-serif);
	font-weight: 650;
	font-size: clamp(1.2rem, 1.8vw, 1.5rem);
	letter-spacing: -0.015em;
	margin: 1em 0 0.4em;
}

.bublr-sol-cap__body {
	font-family: var(--font-body, "Poppins", sans-serif);
	font-size: 1rem;
	line-height: 1.6;
	color: var(--grey-4, #667085);
	margin: 0;
}

/* --------------------------------------------------------------------------
   3 · Comparison
   -------------------------------------------------------------------------- */
.bublr-sol-cmp {
	padding: clamp(56px, 8vw, 100px) 0;
}

.bublr-sol-cmp__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: clamp(16px, 2.2vw, 24px);
	margin-top: clamp(36px, 5vw, 56px);
}

.bublr-sol-cmp__col {
	border-radius: 24px;
	padding: clamp(26px, 3vw, 40px);
	border: 1px solid rgba(10, 10, 10, 0.08);
}
.bublr-sol-cmp__col--old {
	background: #fff;
}
.bublr-sol-cmp__col--new {
	background: var(--black, #0A0A0A);
	color: var(--cream, #F5F2EB);
	border-color: transparent;
}

.bublr-sol-cmp__label {
	font-family: var(--font-mono, "JetBrains Mono", monospace);
	font-size: 0.72rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--grey-4, #667085);
	margin-bottom: 1.4em;
}
.bublr-sol-cmp__col--new .bublr-sol-cmp__label {
	color: var(--mint-green, #7FE5A8);
}

.bublr-sol-cmp__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.bublr-sol-cmp__item {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	font-family: var(--font-body, "Poppins", sans-serif);
	font-size: 1.02rem;
	line-height: 1.45;
}

.bublr-sol-cmp__mark {
	flex: none;
	display: inline-grid;
	place-items: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	font-size: 0.78rem;
	font-weight: 700;
	margin-top: 1px;
}
.bublr-sol-cmp__item--no .bublr-sol-cmp__mark {
	background: rgba(10, 10, 10, 0.06);
	color: var(--grey-4, #667085);
}
.bublr-sol-cmp__item--no span:last-child {
	color: var(--grey-4, #667085);
}
.bublr-sol-cmp__item--yes .bublr-sol-cmp__mark {
	background: var(--lime, #B6E94A);
	color: var(--black, #0A0A0A);
}

/* --------------------------------------------------------------------------
   4 · Closing CTA band
   -------------------------------------------------------------------------- */
.bublr-sol-cta {
	padding: 0 0 clamp(80px, 11vw, 140px);
}

.bublr-sol-cta__card {
	position: relative;
	text-align: center;
	border-radius: 32px;
	padding: clamp(48px, 7vw, 88px) clamp(24px, 5vw, 64px);
	background:
		radial-gradient(120% 140% at 50% 0%, color-mix(in srgb, var(--mint-green, #7FE5A8) 55%, transparent), transparent 60%),
		var(--black, #0A0A0A);
	color: var(--cream, #F5F2EB);
	overflow: hidden;
}

.bublr-sol-cta__card h2 {
	font-family: var(--font-head, "Poppins", sans-serif);
	font-weight: 700;
	font-size: clamp(1.9rem, 4.4vw, 3rem);
	letter-spacing: -0.025em;
	line-height: 1.06;
	margin: 0;
}

.bublr-sol-cta__card p {
	font-family: var(--font-body, "Poppins", sans-serif);
	font-size: clamp(1rem, 1.5vw, 1.18rem);
	line-height: 1.55;
	color: rgba(245, 242, 235, 0.78);
	max-width: 54ch;
	margin: 1em auto 0;
}

.bublr-sol-cta__btns {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
	margin-top: clamp(28px, 4vw, 40px);
}
.bublr-sol-cta__btns .btn-dark {
	background: var(--cream, #F5F2EB);
	color: var(--black, #0A0A0A);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 760px) {
	.bublr-sol-caps__grid,
	.bublr-sol-cmp__grid {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bublr-sol-cap {
		transition: none;
	}
}
