/**
 * Intelliguard Elements — Thank You confirmation widget.
 * Brand: navy hero, gold check badge, teal accents. Scoped under .ig-thanks.
 */

.ig-thanks {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	/* Full-bleed out of Elementor's boxed section. */
	width: 100vw;
	margin-left: calc(50% - 50vw);
}

.ig-thanks *,
.ig-thanks *::before,
.ig-thanks *::after {
	box-sizing: border-box;
}

.ig-thanks__container {
	width: 100%;
	max-width: 60rem;
	margin: 0 auto;
	padding: 0 2rem;
}

/* ---- Hero ---- */
.ig-thanks__hero {
	background:
		radial-gradient(46rem 46rem at 78% -18%, rgba(43, 158, 148, 0.24), transparent 60%),
		linear-gradient(160deg, #16295a, #0a1533);
	color: #fff;
	text-align: center;
	padding: 5.5rem 0 4.5rem;
}

.ig-thanks__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 4.6rem;
	height: 4.6rem;
	border-radius: 9999px;
	background: linear-gradient(160deg, #f2b04c, #dd9426);
	color: #0d1c4d;
	box-shadow:
		0 0 0 10px rgba(240, 166, 58, 0.16),
		0 18px 35px -12px rgba(0, 0, 0, 0.45);
	animation: ig-thanks-pop 0.5s cubic-bezier(0.2, 1.4, 0.4, 1) both;
}

.ig-thanks__badge svg {
	width: 2.1rem;
	height: 2.1rem;
}

.ig-thanks__heading {
	margin: 1.6rem 0 0.9rem;
	font-size: clamp(1.9rem, 4.5vw, 2.75rem);
	font-weight: 800;
	line-height: 1.15;
	color: #fff;
}

.ig-thanks__message {
	max-width: 34rem;
	margin: 0 auto;
	font-size: 1.05rem;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.82);
}

/* ---- What happens next ---- */
.ig-thanks__steps {
	display: grid;
	gap: 1rem;
	max-width: 46rem;
	margin: 2.8rem auto 0;
	padding: 0;
	list-style: none;
	text-align: left;
}

@media (min-width: 768px) {
	.ig-thanks__steps {
		grid-template-columns: repeat(3, 1fr);
	}
}

.ig-thanks__step {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	padding: 1rem 1.1rem;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 0.8rem;
	background: rgba(255, 255, 255, 0.06);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}

.ig-thanks__step-num {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.7rem;
	height: 1.7rem;
	border-radius: 9999px;
	background: rgba(240, 166, 58, 0.18);
	border: 1px solid rgba(240, 166, 58, 0.55);
	color: #f0a63a;
	font-size: 0.85rem;
	font-weight: 700;
}

.ig-thanks__step-text {
	font-size: 0.9rem;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.85);
}

/* ---- Explore cards ---- */
.ig-thanks__more {
	background: #f4f6fa;
	padding: 4rem 0 5rem;
}

.ig-thanks__more-title {
	margin: 0 0 1.8rem;
	text-align: center;
	font-size: 1.35rem;
	font-weight: 700;
	color: #0d1c4d;
}

.ig-thanks__cards {
	display: grid;
	gap: 1.25rem;
}

@media (min-width: 768px) {
	.ig-thanks__cards {
		grid-template-columns: repeat(3, 1fr);
	}
}

.ig-thanks__card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	padding: 1.4rem 1.5rem 1.5rem;
	background: #fff;
	border: 1px solid #e3e9f1;
	border-radius: 0.9rem;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ig-thanks__card:hover {
	transform: translateY(-4px);
	border-color: rgba(0, 119, 139, 0.45);
	box-shadow: 0 16px 32px -16px rgba(13, 28, 77, 0.25);
}

.ig-thanks__card-title {
	font-size: 1rem;
	font-weight: 700;
	color: #0d1c4d;
	padding-right: 1.5rem;
}

.ig-thanks__card-desc {
	font-size: 0.88rem;
	line-height: 1.6;
	color: #5a6a7a;
}

.ig-thanks__card-arrow {
	position: absolute;
	top: 1.15rem;
	right: 1.25rem;
	font-size: 1.5rem;
	line-height: 1;
	color: #b38b3f;
	transition: transform 0.2s ease;
}

.ig-thanks__card:hover .ig-thanks__card-arrow {
	transform: translateX(4px);
}

@keyframes ig-thanks-pop {
	from { opacity: 0; transform: scale(0.6); }
	to   { opacity: 1; transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
	.ig-thanks__badge {
		animation: none;
	}

	.ig-thanks__card,
	.ig-thanks__card-arrow {
		transition: none;
	}
}
