/**
 * Feature Chatbot Section
 *
 * "Your Chatbot, Your Rules" — compact pair with Search below.
 * Uses --gradient-amber for h2 accent.
 *
 * @package AgenticWP
 */

/* ============================================
   Section Spacing
   Reduced padding (48px) — compact pair with Search.
   Top border signals transition from hero features above.
   ============================================ */

.feature-chatbot {
	padding-top: 48px;
	padding-bottom: 48px;
	border-top: 1px solid var(--line);
}

/* ============================================
   Layout: Panel left, description right
   ============================================ */

.chatbot-layout {
	display: flex;
	flex-direction: column;
	gap: 2.5rem;
	align-items: flex-start;
}

@media (min-width: 900px) {
	.chatbot-layout {
		flex-direction: row;
		gap: 3.5rem;
		align-items: center;
	}
}

/* ============================================
   Mock Settings Panel
   ============================================ */

.chatbot-settings-visual {
	width: 100%;
	max-width: 400px;
	flex-shrink: 0;
	background: #0b1220;
	border-radius: 12px;
	border: 1px solid var(--line);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
	overflow: hidden;
}

.chatbot-settings-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.75rem 1.25rem;
	background: rgba(245,158,11,0.2);
	border-bottom: 1px solid var(--line);
}

.chatbot-settings-title {
	font-weight: 600;
	font-size: 0.9375rem;
	color: var(--ink);
}

.chatbot-settings-badge {
	font-size: 0.8125rem;
	color: #fde68a;
	background: rgba(255, 255, 255, 0.08);
	padding: 0.2rem 0.625rem;
	border-radius: 999px;
}

.chatbot-settings-body {
	padding: 1rem 1.25rem;
	display: flex;
	flex-direction: column;
	gap: 1.125rem;
}

/* ============================================
   Setting Controls
   ============================================ */

.chatbot-setting-control {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}

.chatbot-setting-label {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.chatbot-setting-name {
	font-weight: 500;
	font-size: 0.875rem;
	color: var(--ink);
}

.chatbot-setting-value {
	font-size: 0.8125rem;
	color: #d97706;
	font-weight: 500;
}

/* Slider */
.chatbot-setting-slider {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.chatbot-slider-track {
	position: relative;
	height: 5px;
	background: #1e293b;
	border-radius: 999px;
}

.chatbot-slider-fill {
	position: absolute;
	top: 0;
	left: 0;
	width: 40%;
	height: 100%;
	background: linear-gradient(90deg, #f59e0b, #d97706);
	border-radius: 999px;
}

.chatbot-slider-thumb {
	position: absolute;
	top: 50%;
	left: 40%;
	transform: translate(-50%, -50%);
	width: 13px;
	height: 13px;
	background: #0b1220;
	border: 2px solid #f59e0b;
	border-radius: 50%;
	box-shadow: 0 1px 3px rgba(245, 158, 11, 0.3);
}

.chatbot-slider-labels {
	display: flex;
	justify-content: space-between;
	font-size: 0.75rem;
	color: var(--muted);
}

/* Option selector */
.chatbot-setting-options {
	display: flex;
	gap: 0.375rem;
}

.chatbot-option {
	flex: 1;
	text-align: center;
	padding: 0.375rem 0.5rem;
	border-radius: 6px;
	font-size: 0.8125rem;
	font-weight: 500;
	color: var(--muted);
	background: #111827;
	border: 1px solid transparent;
}

.chatbot-option-active {
	color: #fde68a;
	background: rgba(245,158,11,0.2);
	border-color: #fcd34d;
}

/* Textarea mock */
.chatbot-setting-textarea {
	padding: 0.75rem 0.875rem;
	background: #111827;
	border: 1px solid var(--line);
	border-radius: 8px;
	font-size: 0.8125rem;
	color: var(--muted);
	line-height: 1.5;
	min-height: 60px;
}

/* ============================================
   Description + Bullets
   ============================================ */

.chatbot-description {
	flex: 1;
}

.feature-chatbot h2 {
	margin-bottom: 0.625rem;
}

.feature-chatbot h2 .accent {
	background: var(--gradient-amber, linear-gradient(135deg, #f59e0b, #78350f));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: #78350f;
}

.feature-chatbot .lead {
	font-size: 1.0625rem;
	color: var(--muted);
	margin: 0 0 1rem;
}

.chatbot-bullets {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0.625rem;
}

.chatbot-bullets li {
	font-size: 0.9375rem;
	color: var(--muted);
	line-height: 1.5;
	padding-left: 1.25rem;
	position: relative;
}

.chatbot-bullets li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #f59e0b;
}

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

@media (max-width: 900px) {
	.chatbot-settings-visual {
		max-width: 100%;
	}
}
