/**
 * Auto Form CRM Page Styles
 *
 * Promotional page for autoformcrm.com. Builds on top of support.css;
 * only the CRM-specific elements are styled here.
 *
 * @package Auto_Form_Builder
 * @version 1.0.0
 */

.auto-form-builder-crm-page {
	max-width: 1400px;
}

/* Header CTA button next to page title */
.auto-form-builder-crm-cta-button {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.auto-form-builder-crm-cta-button .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
	line-height: 16px;
}

/* Hero */
.auto-form-builder-crm-hero .auto-form-builder-welcome-content h2 {
	font-size: 30px;
}

.auto-form-builder-crm-badge {
	display: inline-block;
	background: rgb(255 255 255 / 20%);
	color: #fff;
	border: 1px solid rgb(255 255 255 / 35%);
	border-radius: 999px;
	padding: 4px 14px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	margin-bottom: 12px;
}

.auto-form-builder-crm-tagline {
	font-size: 17px;
	font-weight: 500;
	margin: 0 0 12px;
	color: rgb(255 255 255 / 95%);
}

.auto-form-builder-crm-hero-buttons {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	margin-top: 18px;
}

.auto-form-builder-crm-primary-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: #fff;
	color: #5a67d8;
	padding: 12px 24px;
	border-radius: 8px;
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
	box-shadow: 0 2px 6px rgb(0 0 0 / 15%);
}

.auto-form-builder-crm-primary-button:hover,
.auto-form-builder-crm-primary-button:focus {
	color: #5a67d8;
	transform: translateY(-1px);
	box-shadow: 0 8px 16px rgb(0 0 0 / 20%);
	text-decoration: none;
}

.auto-form-builder-crm-primary-button .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
	line-height: 16px;
}

.auto-form-builder-crm-url {
	display: inline-block;
	font-family: monospace;
	color: rgb(255 255 255 / 85%);
	font-size: 13px;
}

/* Feature grid */
.auto-form-builder-crm-features {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}

.auto-form-builder-crm-feature {
	background: #f9fafb;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	padding: 22px;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.auto-form-builder-crm-feature:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 14px rgb(0 0 0 / 8%);
	border-color: #c3cfe6;
}

.auto-form-builder-crm-feature-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #fff;
	font-size: 22px;
	margin-bottom: 12px;
}

.auto-form-builder-crm-feature h3 {
	margin: 0 0 8px;
	font-size: 16px;
	color: #1d2327;
}

.auto-form-builder-crm-feature p {
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
	color: #50575e;
}

/* Checklist */
.auto-form-builder-crm-checklist {
	margin: 0;
	padding: 0;
	list-style: none;
}

.auto-form-builder-crm-checklist li {
	padding: 10px 0;
	font-size: 14px;
	display: flex;
	align-items: flex-start;
	gap: 10px;
	color: #1d2327;
	border-bottom: 1px solid #f0f0f1;
}

.auto-form-builder-crm-checklist li:last-child {
	border-bottom: none;
}

.auto-form-builder-crm-checklist li .dashicons {
	color: #00a32a;
	font-size: 18px;
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	margin-top: 1px;
}

/* Final CTA */
.auto-form-builder-crm-final-cta {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #fff;
	border: none;
	padding: 32px;
}

.auto-form-builder-crm-final-cta .auto-form-builder-upgrade-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 24px;
}

.auto-form-builder-crm-final-cta h2 {
	color: #fff;
	margin: 0 0 6px;
	font-size: 24px;
}

.auto-form-builder-crm-final-cta p {
	margin: 0;
	color: rgb(255 255 255 / 90%);
	font-size: 15px;
}

.auto-form-builder-crm-final-buttons {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.auto-form-builder-crm-final-cta .auto-form-builder-upgrade-button {
	background: #fff;
	color: #667eea;
	padding: 12px 24px;
	border-radius: 8px;
	font-weight: 600;
	text-decoration: none;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
	display: inline-block;
}

.auto-form-builder-crm-final-cta .auto-form-builder-upgrade-button:hover,
.auto-form-builder-crm-final-cta .auto-form-builder-upgrade-button:focus {
	transform: translateY(-1px);
	box-shadow: 0 8px 16px rgb(0 0 0 / 15%);
	color: #5a67d8;
	text-decoration: none;
}

/* Mobile / smaller screens */
@media (max-width: 900px) {

	.auto-form-builder-crm-features {
		grid-template-columns: 1fr;
	}

	.auto-form-builder-crm-final-cta .auto-form-builder-upgrade-content {
		flex-direction: column;
		align-items: flex-start;
	}
}
