/* ==========================================================================
   AI Credits Pricing Page
   ========================================================================== */

/* Hero Section
   ========================================================================== */

.pricing-ai-credits-hero {
	text-align: center;
	padding: 60px 24px 0;
}

.pricing-ai-credits-hero h1 {
	font-family: 'Roboto', sans-serif;
	font-size: 24px;
	font-weight: 600;
	line-height: 32px;
	letter-spacing: 0.35px;
	color: #393f4c;
	margin: 0 0 12px;
}

.pricing-ai-credits-hero p {
	font-family: 'Roboto', sans-serif;
	font-size: 20px;
	font-weight: 400;
	line-height: 28px;
	letter-spacing: -0.45px;
	color: #393f4c;
	margin: 0;
}

/* Selector Section
   ========================================================================== */

.pricing-ai-credits-selector {
	padding: 40px 24px 60px;
}

.pricing-ai-credits-selector .container {
	display: flex;
	justify-content: center;
}

/* Pricing Card
   ========================================================================== */

.mi-credits-pricing-card {
	background: #f8f8f8;
	border: 1px solid #eaeaea;
	border-radius: 16px;
	padding: 40px;
	max-width: 752px;
	width: 100%;
	box-sizing: border-box;
}

/* Heading
   ========================================================================== */

.mi-credits-heading {
	font-family: 'Roboto', sans-serif;
	font-size: 24px;
	font-weight: 500;
	line-height: 32px;
	color: #393f4c;
	text-align: center;
	margin-bottom: 24px;
}

.mi-credits-amount {
	font-weight: 600;
	color: #228bee;
}

/* Slider
   ========================================================================== */

.mi-credits-slider-container {
	margin-bottom: 32px;
}

.mi-credits-slider {
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	height: 8px;
	border-radius: 9999px;
	outline: none;
	padding: 0;
	margin: 0;
	cursor: pointer;
	background: linear-gradient(
		to right,
		#6528F5 0%,
		#6528F5 var(--slider-percent, 0%),
		#e5e7eb var(--slider-percent, 0%),
		#e5e7eb 100%
	);
}

.mi-credits-slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #6528F5;
	border: 4px solid #fff;
	cursor: pointer;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
}

.mi-credits-slider::-moz-range-thumb {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #6528F5;
	border: 4px solid #fff;
	cursor: pointer;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
}

.mi-credits-slider:focus {
	outline: none;
}

.mi-credits-slider-labels {
	display: flex;
	justify-content: space-between;
	padding: 8px 8px 0;
}

.mi-credits-slider-label {
	font-family: 'Roboto', sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 16px;
	color: #393f4c;
	text-align: center;
}

/* Two-Column Layout
   ========================================================================== */

.mi-credits-columns {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
}

/* Left Column - Price & CTA
   ========================================================================== */

.mi-credits-left {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.mi-credits-price {
	display: flex;
	align-items: baseline;
}

.mi-credits-price-integer {
	font-family: 'Roboto', sans-serif;
	font-size: 40px;
	font-weight: 700;
	line-height: 48px;
	color: #1e2939;
	letter-spacing: -1px;
}

.mi-credits-price-decimal {
	font-family: 'Roboto', sans-serif;
	font-size: 24px;
	font-weight: 400;
	line-height: 32px;
	color: #4a5565;
}

/* CTA Button
   ========================================================================== */

.mi-credits-buy-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	padding: 12px 24px;
	background: #338eef;
	border: 1px solid #1177e3;
	border-radius: 4px;
	color: #fff;
	font-family: 'Roboto', sans-serif;
	font-size: 20px;
	font-weight: 600;
	line-height: 32px;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s ease;
	box-sizing: border-box;
}

.mi-credits-buy-btn:hover {
	background: #1177e3;
	color: #fff;
	text-decoration: none;
}

.mi-credits-buy-btn svg {
	flex-shrink: 0;
}

/* Guarantee Bullets
   ========================================================================== */

.mi-credits-guarantees {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.mi-credits-guarantee-item {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: 'Roboto', sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
	color: #393f4c;
}

.mi-credits-guarantee-item svg {
	flex-shrink: 0;
}

/* Right Column - Features
   ========================================================================== */

.mi-credits-right {
	display: flex;
	flex-direction: column;
}

.mi-credits-features-title {
	font-family: 'Roboto', sans-serif;
	font-size: 20px;
	font-weight: 600;
	line-height: 27px;
	letter-spacing: -0.44px;
	color: #393f4c;
	margin: 0 0 16px;
}

.mi-credits-features-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.mi-credits-features-list li {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
	color: #393f4c;
}

.mi-credits-check {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	min-width: 16px;
	background: #42cc6a;
	border-radius: 100px;
	flex-shrink: 0;
}

.mi-credits-check::after {
	content: '';
	display: block;
	width: 8px;
	height: 5px;
	border-left: 1.5px solid #fff;
	border-bottom: 1.5px solid #fff;
	transform: rotate(-45deg) translateY(-1px);
}

/* EM Guarantee Section
   ========================================================================== */

.pricing-ai-credits-guarantee {
	max-width: 800px;
	margin: 0 auto;
	padding: 0 24px 60px;
}

.pricing-ai-credits-guarantee .guarantee {
	text-align: center;
	padding: 40px 24px;
}

.pricing-ai-credits-guarantee .guarantee .title {
	font-family: 'Roboto', sans-serif;
	font-size: 24px;
	font-weight: 700;
	color: #393f4c;
	margin-bottom: 20px;
}

.pricing-ai-credits-guarantee .guarantee .description h2 {
	font-size: 18px;
	font-weight: 400;
	line-height: 1.6;
	color: #393f4c;
}

.pricing-ai-credits-guarantee .guarantee .guarantor {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	margin: 20px 0;
}

.pricing-ai-credits-guarantee .guarantee .guarantor .name h3 {
	margin: 0;
	font-size: 16px;
	color: #393f4c;
}

.pricing-ai-credits-guarantee .guarantee .guarantor .name p {
	margin: 4px 0 0;
	font-size: 14px;
	color: #666;
}

.pricing-ai-credits-guarantee .guarantee .bottom {
	margin-top: 30px;
	padding-top: 20px;
	border-top: 1px solid #eaeaea;
}

.pricing-ai-credits-guarantee .guarantee .bottom .note {
	font-size: 13px;
	color: #666;
	line-height: 1.6;
	margin-bottom: 20px;
}

.pricing-ai-credits-guarantee .guarantee .bottom .secure-purchase {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
}

/* Responsive
   ========================================================================== */

@media (max-width: 680px) {
	.mi-credits-pricing-card {
		padding: 24px;
	}

	.mi-credits-columns {
		grid-template-columns: 1fr;
	}

	.mi-credits-heading {
		font-size: 20px;
		line-height: 28px;
	}

	.mi-credits-slider-label {
		font-size: 12px;
	}

	.pricing-ai-credits-hero h1 {
		font-size: 20px;
		line-height: 28px;
	}

	.pricing-ai-credits-hero p {
		font-size: 16px;
		line-height: 24px;
	}
}
