/* =============================================
   Custom Plugin Page — Styles
   Enqueue only on page-about.php (see functions.php snippet)
   ============================================= */



   /* =========================================================
   CUSTOM PLUGIN PAGE
========================================================= */

.custom-plugin-page {
	overflow: hidden;
	color: #10275c;
}

.custom-plugin-page * {
	box-sizing: border-box;
}


/* =========================================================
   FORM STATUS MESSAGE
========================================================= */

.cp-message {
	max-width: 1180px;
	margin: 20px auto;
	padding: 16px 20px;
	border-radius: 8px;
	font-size: 14px;
	line-height: 1.6;
}

.cp-message strong {
	display: block;
	margin-bottom: 4px;
}

.cp-message-success {
	background: #ecfdf5;
	border: 1px solid #b7ebd0;
	color: #065f46;
}

.cp-message-error {
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #991b1b;
}


/* =========================================================
   HERO
========================================================= */

.cp-hero {
	padding: 70px 0 65px;
	background:
		linear-gradient(
			135deg,
			#f5f9ff 0%,
			#eef6ff 55%,
			#ffffff 100%
		);
}

.cp-hero-inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 55px;
}

.cp-hero-content {
	max-width: 620px;
}

.cp-badge {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 7px 13px;
	border: 1px solid #c3d9ff;
	border-radius: 30px;
	background: #f9fcff;
	color: #2563eb;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .7px;
}

.cp-badge-icon {
	display: flex;
	align-items: center;
	justify-content: center;
}

.cp-hero-title {
	margin: 18px 0 20px;
	color: #10275c;
	font-size: clamp(42px, 4vw, 58px);
	line-height: 1.06;
	font-weight: 750;
	letter-spacing: -1.5px;
}

.cp-hero-title span {
	color: #2563eb;
}

.cp-hero-description {
	max-width: 620px;
	color: #7186a8;
	font-size: 15px;
	line-height: 1.8;
}

.cp-hero-description p {
	margin: 0 0 10px;
}

.cp-primary-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 8px;
	padding: 14px 25px;
	border-radius: 8px;
	background: #2563eb;
	color: #ffffff !important;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none !important;
	box-shadow: 0 8px 22px rgba(37, 99, 235, .20);
	transition: .2s ease;
}

.cp-primary-button:hover {
	background: #1d4ed8;
	transform: translateY(-2px);
}

.cp-hero-visual {
	display: flex;
	align-items: center;
	justify-content: center;
}

.cp-hero-visual img {
	width: 100%;
	max-width: 570px;
	height: auto;
	display: block;
}


/* =========================================================
   SECTION HEADING
========================================================= */

.cp-section-label {
	display: inline-flex;
	align-items: center;
	color: #2563eb;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1px;
}

.cp-section-heading {
	max-width: 780px;
	margin-bottom: 30px;
}

.cp-section-heading h2,
.cp-request-section h2 {
	margin: 9px 0 10px;
	color: #10275c;
	font-size: 34px;
	line-height: 1.2;
	font-weight: 750;
}

.cp-section-heading > p {
	margin: 0;
	color: #7186a8;
	font-size: 14px;
	line-height: 1.7;
}


/* =========================================================
   PLUGINS
========================================================= */

.cp-plugins-section {
	padding: 65px 0;
	background: #ffffff;
}

.cp-plugin-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}

.cp-plugin-card {
	padding: 22px 18px;
	border: 1px solid #dce7f7;
	border-radius: 8px;
	background: #ffffff;
	box-shadow: 0 8px 25px rgba(31, 71, 125, .04);
	transition: .25s ease;
}

.cp-plugin-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 15px 35px rgba(31, 71, 125, .10);
}

.cp-plugin-icon {
	width: 46px;
	height: 46px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 16px;
	border-radius: 10px;
	color: #ffffff;
}

.cp-icon-form {
	background: linear-gradient(135deg, #a855f7, #7c3aed);
}

.cp-icon-cart {
	background: linear-gradient(135deg, #20c997, #10b981);
}

.cp-icon-users {
	background: linear-gradient(135deg, #ff8a45, #f97316);
}

.cp-icon-calendar {
	background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.cp-icon-plugin {
	background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.cp-plugin-card h3 {
	margin: 0 0 9px;
	color: #10275c;
	font-size: 16px;
	line-height: 1.35;
}

.cp-plugin-card p {
	min-height: 68px;
	margin: 0 0 18px;
	color: #7186a8;
	font-size: 12px;
	line-height: 1.6;
}

.cp-view-details {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #2563eb !important;
	font-size: 12px;
	font-weight: 600;
	text-decoration: none !important;
}


/* =========================================================
   REQUEST SECTION
========================================================= */

.cp-request-section {
	padding: 65px 0;
	background: #f5f9ff;
}

.cp-request-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.75fr) minmax(300px, .75fr);
	gap: 28px;
	align-items: start;
}

.cp-form-column {
	min-width: 0;
}

.cp-form-intro {
	margin: 0 0 25px;
	color: #7186a8;
	font-size: 14px;
	line-height: 1.7;
}

.cp-custom-plugin-form {
	padding: 25px;
	border: 1px solid #dce7f7;
	border-radius: 8px;
	background: #ffffff;
	box-shadow: 0 8px 25px rgba(31, 71, 125, .04);
}

.cp-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}



.cp-form-field label {
	display: block;
	margin-bottom: 7px;
	color: #17366d;
	font-size: 13px;
	font-weight: 600;
}

.cp-form-field label span {
	color: #ef4444;
}

.cp-form-field label small {
	color: #8ba0bd;
	font-weight: 400;
}

.cp-form-field input,
.cp-form-field select,
.cp-form-field textarea {
	width: 100%;
	padding: 12px 13px;
	border: 1px solid #d6e2f2;
	border-radius: 6px;
	background: #ffffff;
	color: #17366d;
	font-family: inherit;
	font-size: 13px;
	outline: none;
	transition: .2s ease;
}

.cp-form-field input,
.cp-form-field select {
	height: 42px;
}



.cp-form-field input::placeholder,
.cp-form-field textarea::placeholder {
	color: #a4b4ca;
}

.cp-form-field input:focus,
.cp-form-field select:focus,
.cp-form-field textarea:focus {
	border-color: #6ea0ff;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, .08);
}

.cp-form-field input[type="file"] {
	padding: 8px;
}

.cp-submit-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 13px 22px;
	border: 0;
	border-radius: 7px;
	background: #2563eb;
	color: #ffffff;
	font-family: inherit;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	box-shadow: 0 8px 20px rgba(37, 99, 235, .18);
	transition: .2s ease;
}

.cp-submit-button:hover {
	background: #1d4ed8;
	transform: translateY(-1px);
}


/* =========================================================
   WHY CHOOSE US
========================================================= */

.cp-why-box {
	padding: 26px 24px;
	border: 1px solid #dce7f7;
	border-radius: 8px;
	background: #ffffff;
	box-shadow: 0 8px 25px rgba(31, 71, 125, .05);
	margin-top: 134px;

}

.cp-why-box h3 {
	margin: 0 0 8px;
	color: #10275c;
	font-size: 25px;
}

.cp-why-intro {
	margin: 0 0 25px;
	color: #7186a8;
	font-size: 13px;
	line-height: 1.6;
}

.cp-why-list {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.cp-why-item {
	display: flex;
	align-items: flex-start;
	gap: 14px;
}

.cp-why-icon {
	width: 48px;
	height: 48px;
	min-width: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	background: #f0f5ff;
	color: #2563eb;
}

.cp-why-icon-code {
	background: #e9fff6;
	color: #10b981;
}

.cp-why-icon-clock {
	background: #eef4ff;
	color: #2563eb;
}

.cp-why-icon-support {
	background: #fff0e8;
	color: #f97316;
}

.cp-why-item h4 {
	margin: 2px 0 4px;
	color: #17366d;
	font-size: 14px;
}

.cp-why-item p {
	margin: 0;
	color: #7186a8;
	font-size: 12px;
	line-height: 1.5;
}


/* =========================================================
   URGENT SUPPORT
========================================================= */

.cp-urgent-box {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 25px;
	padding: 15px;
	border-radius: 8px;
	background: #eef6ff;
}

.cp-urgent-icon {
	width: 45px;
	height: 45px;
	min-width: 45px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #2563eb;
	color: #ffffff;
}

.cp-urgent-box strong {
	display: block;
	margin-bottom: 3px;
	color: #17366d;
	font-size: 14px;
}

.cp-urgent-box span {
	display: block;
	margin-bottom: 3px;
	color: #7186a8;
	font-size: 12px;
}

.cp-urgent-box a {
	color: #2563eb !important;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none !important;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

	.cp-hero-inner {
		grid-template-columns: 1fr;
	}

	.cp-hero-content {
		max-width: 750px;
	}

	.cp-hero-visual {
		order: -1;
	}

	.cp-hero-visual img {
		max-width: 500px;
	}

	.cp-plugin-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.cp-request-grid {
		grid-template-columns: 1fr;
	}

	.cp-why-box {
		max-width: 650px;
		margin:0;
	}

	.cp-why-list {
    gap: 20px;
}

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

	.cp-hero {
		padding: 50px 0;
	}

	.cp-hero-inner {
		gap: 30px;
	}

	.cp-hero-title {
		font-size: 30px;
	}

	.cp-hero-description {
		font-size: 14px;
	}

	.cp-plugin-grid {
		grid-template-columns: 1fr;
	}

	.cp-section-heading h2,
	.cp-request-section h2 {
		font-size: 28px;
	}

	.cp-form-row {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.cp-custom-plugin-form {
		padding: 18px;
	}

	.cp-primary-button,
	.cp-submit-button {
		width: 100%;
	}

	.cp-message {
		margin: 15px;
	}

}