/* Support — FAQ + CTA combined section */

.support {
	--support-green: #3f9a44;
	--support-green-dark: #2d7a31;
	--support-accent: #5cb85c;
	--support-text: #1a2332;
	--support-muted: #64748b;
	position: relative;
	overflow: hidden;
	background: #ffffff;
	isolation: isolate;
}

.support.rbz-section {
	padding-block: clamp(4rem, 8vw, 6rem);
}

/* Scene */

.support__scene {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
}

.support__orb {
	position: absolute;
	border-radius: 50%;
	filter: blur(80px);
	opacity: 0.5;
}

.support__orb--1 {
	top: -10%;
	inset-inline-end: -5%;
	width: min(40vw, 420px);
	height: min(40vw, 420px);
	background: rgba(63, 154, 68, 0.08);
}

.support__orb--2 {
	bottom: -15%;
	inset-inline-start: 20%;
	width: min(32vw, 340px);
	height: min(32vw, 340px);
	background: rgba(92, 184, 92, 0.06);
}

.support__grid-bg {
	position: absolute;
	inset: 0;
	opacity: 0.35;
	background-image:
		linear-gradient(rgba(63, 154, 68, 0.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(63, 154, 68, 0.035) 1px, transparent 1px);
	background-size: 40px 40px;
	mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, #000 20%, transparent 100%);
}

.support__inner {
	position: relative;
	z-index: 1;
}

/* Split layout */

.support__layout {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: clamp(1.5rem, 3.5vw, 3rem);
	align-items: stretch;
}

.support__faq,
.support__cta {
	display: flex;
	flex-direction: column;
	min-height: 100%;
}

.support__faq-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-height: 0;
}

/* FAQ column */

.support__faq-head {
	margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
}

.faq__desc {
	margin-top: 0.625rem;
	color: var(--support-muted);
	font-size: clamp(0.9375rem, 1.5vw, 1rem);
	line-height: 1.9;
}

.faq__hint {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	margin-top: auto;
	padding: 1rem 1.125rem;
	border: 1px dashed rgba(63, 154, 68, 0.22);
	border-radius: 14px;
	background: rgba(63, 154, 68, 0.04);
}

.faq__hint-icon {
	flex-shrink: 0;
	margin-top: 0.125rem;
	color: var(--support-green);
	font-size: 1.125rem;
}

.faq__hint p {
	margin: 0;
	color: var(--support-muted);
	font-size: clamp(0.875rem, 1.4vw, 0.9375rem);
	line-height: 1.85;
}

.faq__eyebrow {
	display: inline-block;
	margin-bottom: 0.75rem;
	padding: 0.3rem 0.75rem;
	border: 1px solid rgba(63, 154, 68, 0.18);
	border-radius: 999px;
	color: var(--support-green);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
}

.faq__title {
	color: var(--support-text);
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 800;
	line-height: 1.45;
	letter-spacing: -0.02em;
}

.faq__list {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 0.625rem;
	margin-bottom: clamp(1rem, 2vw, 1.5rem);
}

.faq__item {
	border: 1px solid rgba(63, 154, 68, 0.1);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.85);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	overflow: hidden;
	transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.faq__item[open] {
	border-color: rgba(63, 154, 68, 0.28);
	box-shadow: 0 12px 36px rgba(63, 154, 68, 0.08);
}

.faq__question {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 0.875rem;
	padding: 1rem 1.125rem;
	color: var(--support-text);
	font-size: clamp(0.875rem, 1.5vw, 0.9375rem);
	font-weight: 600;
	cursor: pointer;
	list-style: none;
}

.faq__question::-webkit-details-marker {
	display: none;
}

.faq__question-num {
	color: var(--support-green);
	font-size: 0.6875rem;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	opacity: 0.7;
}

.faq__question-text {
	line-height: 1.55;
}

.faq__chevron-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 1.75rem;
	height: 1.75rem;
	border-radius: 50%;
	background: rgba(63, 154, 68, 0.08);
	transition: background 0.3s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq__chevron {
	color: var(--support-green);
	font-size: 0.875rem;
	transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq__item[open] .faq__chevron-wrap {
	background: rgba(63, 154, 68, 0.14);
}

.faq__item[open] .faq__chevron {
	transform: rotate(180deg);
}

.faq__answer {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq__item[open] .faq__answer {
	grid-template-rows: 1fr;
}

.faq__answer-inner {
	overflow: hidden;
}

.faq__answer-inner p {
	padding: 0 1.125rem 1.125rem;
	padding-inline-start: calc(1.125rem + 2rem);
	color: var(--support-muted);
	font-size: clamp(0.875rem, 1.4vw, 0.9375rem);
	line-height: 1.95;
}

/* CTA column */

.support__cta {
	position: relative;
}

.cta__card {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 1.25rem;
	min-height: 100%;
	padding: clamp(1.75rem, 3vw, 2.5rem);
	border-radius: 24px;
	background: linear-gradient(145deg, var(--support-green-dark) 0%, var(--support-green) 45%, var(--support-accent) 100%);
	color: #ffffff;
	box-shadow: 0 28px 64px rgba(63, 154, 68, 0.22);
	overflow: hidden;
}

.cta__glow {
	position: absolute;
	top: -30%;
	inset-inline-end: -20%;
	width: 70%;
	height: 70%;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	filter: blur(40px);
	animation: support-glow 6s ease-in-out infinite;
	transition: transform 0.2s ease-out;
}

.cta__ring {
	position: absolute;
	inset: -40%;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 50%;
	animation: support-spin 30s linear infinite;
}

.cta__top {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.cta__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.15);
	font-size: 1.125rem;
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
}

.cta__eyebrow {
	padding: 0.3rem 0.75rem;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.cta__content {
	position: relative;
	z-index: 1;
	flex-shrink: 0;
}

.cta__title {
	margin-bottom: 0.75rem;
	font-size: clamp(1.25rem, 2.4vw, 1.625rem);
	font-weight: 800;
	line-height: 1.45;
	letter-spacing: -0.02em;
}

.cta__text {
	color: rgba(255, 255, 255, 0.88);
	font-size: clamp(0.875rem, 1.5vw, 0.9375rem);
	line-height: 1.9;
}

.cta__perks {
	display: flex;
	flex-direction: column;
	gap: 0.625rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cta__perk {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.75rem 0.875rem;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.1);
	font-size: clamp(0.8125rem, 1.4vw, 0.875rem);
	font-weight: 600;
	line-height: 1.5;
}

.cta__perk-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 2rem;
	height: 2rem;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.16);
	font-size: 0.9375rem;
}

.cta__footer {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 0.875rem;
	margin-top: auto;
	padding-top: 0.5rem;
}

.cta__note {
	margin: 0;
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.8125rem;
	line-height: 1.75;
	text-align: center;
}

.cta__btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	width: 100%;
	padding: 0.9375rem 1.75rem;
	border-radius: 999px;
	background: #ffffff;
	color: var(--support-green-dark);
	font-size: 0.9375rem;
	font-weight: 700;
	text-decoration: none;
	overflow: hidden;
	transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
}

.cta__btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.cta__btn-shine {
	position: absolute;
	inset: 0;
	background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, 0.55) 50%, transparent 58%);
	transform: translateX(-120%);
	animation: support-shine 4s ease-in-out infinite;
}

/* Scroll reveals */

.support--scroll [data-support-reveal]:not(.is-revealed) {
	opacity: 0;
	transform: translateY(24px);
}

.support--scroll [data-support-reveal].is-revealed {
	animation: support-fade-up 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.support--scroll [data-support-faq-col]:not(.is-revealed) {
	opacity: 0;
	transform: translateX(calc(var(--support-x, 1) * -32px));
}

.support--scroll [data-support-faq-col].is-revealed {
	animation: support-col-in 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.support--scroll [data-support-cta-col]:not(.is-revealed) {
	opacity: 0;
	transform: translateX(calc(var(--support-x, 1) * 32px)) scale(0.96);
}

.support--scroll [data-support-cta-col].is-revealed {
	animation: support-cta-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.12s forwards;
}

.support--scroll .faq__item:not(.is-revealed) {
	opacity: 0;
	transform: translateY(20px);
}

.support--scroll .faq__item.is-revealed {
	animation: support-faq-item 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
	animation-delay: calc(var(--faq-i, 0) * 0.08s + 0.2s);
}

.support--scroll .cta__perk:not(.is-revealed) {
	opacity: 0;
	transform: translateX(calc(var(--support-x, 1) * 16px));
}

.support--scroll .cta__perk.is-revealed {
	animation: support-perk-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
	animation-delay: calc(var(--perk-i, 0) * 0.1s + 0.35s);
}

.support--scroll .is-instant {
	animation: none !important;
	opacity: 1 !important;
	transform: none !important;
}

@keyframes support-glow {
	0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.8; }
	50% { transform: translate(-8%, 6%) scale(1.08); opacity: 1; }
}

@keyframes support-spin {
	to { transform: rotate(360deg); }
}

@keyframes support-shine {
	0%, 100% { transform: translateX(-120%); }
	45%, 55% { transform: translateX(120%); }
}

@keyframes support-fade-up {
	to { opacity: 1; transform: none; }
}

@keyframes support-col-in {
	to { opacity: 1; transform: none; }
}

@keyframes support-cta-in {
	to { opacity: 1; transform: none; }
}

@keyframes support-faq-item {
	from { opacity: 0; transform: translateY(20px); }
	to { opacity: 1; transform: none; }
}

@keyframes support-perk-in {
	from { opacity: 0; transform: translateX(calc(var(--support-x, 1) * 16px)); }
	to { opacity: 1; transform: none; }
}

/* Responsive */

@media (max-width: 1023px) {
	.support.rbz-section {
		padding-block: clamp(3rem, 8vw, 4.5rem);
		padding-inline: var(--rbz-gutter);
	}

	.support__orb--1,
	.support__orb--2 {
		opacity: 0.35;
	}

	.support__layout {
		grid-template-columns: 1fr;
		gap: clamp(1.5rem, 4vw, 2rem);
	}

	.support__faq-head {
		margin-bottom: clamp(1rem, 3vw, 1.5rem);
		text-align: center;
	}

	.faq__desc {
		margin-inline: auto;
		max-width: 36rem;
	}

	.faq__hint {
		margin-top: 1.25rem;
	}

	.cta__card {
		min-height: auto;
		border-radius: 20px;
	}

	.support--scroll [data-support-faq-col]:not(.is-revealed),
	.support--scroll [data-support-cta-col]:not(.is-revealed) {
		transform: translateY(28px);
	}

	.support--scroll [data-support-cta-col].is-revealed {
		animation-name: support-fade-up;
	}
}

@media (max-width: 720px) {
	.faq__title {
		font-size: clamp(1.375rem, 6vw, 1.75rem);
	}

	.faq__question {
		gap: 0.625rem;
		padding: 0.9375rem 1rem;
		min-height: 3rem;
	}

	.faq__question-num {
		font-size: 0.625rem;
	}

	.faq__chevron-wrap {
		width: 1.625rem;
		height: 1.625rem;
	}

	.faq__answer-inner p {
		padding: 0 1rem 1rem;
		padding-inline-start: 1rem;
		font-size: 0.875rem;
		line-height: 1.85;
	}

	.faq__hint {
		flex-direction: column;
		align-items: center;
		text-align: center;
		padding: 0.875rem 1rem;
	}

	.cta__card {
		padding: 1.5rem 1.25rem;
		gap: 1rem;
	}

	.cta__title {
		font-size: clamp(1.125rem, 5vw, 1.375rem);
	}

	.cta__text {
		font-size: 0.875rem;
		line-height: 1.85;
	}

	.cta__perk {
		padding: 0.625rem 0.75rem;
		font-size: 0.8125rem;
	}

	.cta__btn {
		min-height: 2.875rem;
		padding-block: 0.9375rem;
	}

	.cta__note {
		font-size: 0.75rem;
	}
}

@media (max-width: 480px) {
	.support.rbz-section {
		padding-block: clamp(2.5rem, 7vw, 3.5rem);
		padding-inline: max(1rem, var(--rbz-gutter));
	}

	.support__grid-bg {
		opacity: 0.2;
	}

	.support__orb {
		display: none;
	}

	.faq__list {
		gap: 0.5rem;
		margin-bottom: 1rem;
	}

	.faq__item {
		border-radius: 12px;
	}

	.faq__question {
		grid-template-columns: auto 1fr auto;
		padding: 0.875rem 0.875rem;
		font-size: 0.8125rem;
	}

	.faq__answer-inner p {
		padding: 0 0.875rem 0.875rem;
		font-size: 0.8125rem;
	}

	.cta__card {
		padding: 1.25rem 1rem;
		border-radius: 18px;
	}

	.cta__top {
		flex-wrap: wrap;
		justify-content: center;
	}

	.cta__footer {
		padding-top: 0.25rem;
	}
}

@media (hover: none) {
	.cta__btn:hover {
		transform: none;
		box-shadow: none;
	}

	.faq__item[open] {
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cta__glow,
	.cta__ring,
	.cta__btn-shine {
		animation: none !important;
	}

	.support--scroll [data-support-reveal],
	.support--scroll [data-support-faq-col],
	.support--scroll [data-support-cta-col],
	.support--scroll .faq__item {
		opacity: 1 !important;
		transform: none !important;
		animation: none !important;
	}

	.faq__answer {
		transition: none;
	}
}

/* Dark mode */

html.rbz-dark .support {
	background: #0f1410;
}

html.rbz-dark .faq__item {
	background: rgba(18, 24, 20, 0.9);
	border-color: rgba(63, 154, 68, 0.14);
}

html.rbz-dark .faq__title,
html.rbz-dark .faq__question {
	color: #e2e8f0;
}

html.rbz-dark .faq__desc,
html.rbz-dark .faq__answer-inner p,
html.rbz-dark .faq__hint p {
	color: #94a3b8;
}

html.rbz-dark .faq__hint {
	background: rgba(63, 154, 68, 0.06);
	border-color: rgba(63, 154, 68, 0.18);
}

html.rbz-dark .faq__eyebrow {
	background: rgba(16, 22, 18, 0.88);
}

html.rbz-dark .cta__card {
	box-shadow: 0 28px 64px rgba(0, 0, 0, 0.35);
}
