/* ==========================================================================
   Single Outil IA - Tool Page Styles
   ========================================================================== */

/* Hero Section */
.cia-tool-hero {
	background: linear-gradient(180deg, #EDE9FE 0%, #F5F3FF 40%, #FAFAFE 100%);
	padding: 60px 40px 50px;
	text-align: center;
}

.cia-tool-hero-inner {
	max-width: 800px;
	margin: 0 auto;
}

.cia-tool-hero-logo {
	width: 80px;
	height: 80px;
	border-radius: 16px;
	object-fit: contain;
	background: white;
	padding: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	margin-bottom: 20px;
}

.cia-tool-hero-title {
	font-family: 'Space Grotesk', sans-serif;
	font-size: 36px;
	font-weight: 700;
	color: #1E1B4B;
	margin: 0 0 12px;
	line-height: 1.2;
}

.cia-tool-hero-subtitle {
	font-size: 17px;
	color: #4B5563;
	max-width: 600px;
	margin: 0 auto 20px;
	line-height: 1.6;
}

.cia-tool-hero-meta {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 16px;
}

.cia-hero-rating {
	color: #F97316;
	font-weight: 700;
	font-size: 18px;
}

.cia-hero-count {
	color: #9CA3AF;
	font-size: 14px;
}

.cia-hero-verified {
	background: #ECFDF5;
	color: #065F46;
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 13px;
	font-weight: 600;
}

.cia-hero-cats {
	display: flex;
	gap: 8px;
	justify-content: center;
	flex-wrap: wrap;
}

.cia-badge {
	background: #E0E7FF;
	color: #4F46E5;
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
}

.cia-badge-cat {
	background: #EDE9FE;
	color: #6C3AED;
}

/* Stars */
.cia-stars {
	color: #F97316;
	letter-spacing: 2px;
}

/* Layout */
.cia-tool-layout {
	max-width: 1200px;
	margin: 0 auto;
}

.cia-section-heading {
	font-family: 'Space Grotesk', sans-serif;
	color: #1E1B4B;
	font-size: 24px;
	font-weight: 700;
	margin-bottom: 20px;
	padding-bottom: 12px;
	border-bottom: 2px solid #EDE9FE;
}

/* Tool Info Card */
.cia-tool-card {
	background: #FAFAFE;
	border: 1px solid #E5E7EB;
	border-radius: 16px;
	padding: 28px;
	position: sticky;
	top: 100px;
}

.cia-tool-logo {
	text-align: center;
	margin-bottom: 20px;
}

.cia-tool-logo img {
	width: 64px;
	height: 64px;
	border-radius: 12px;
	object-fit: contain;
	background: white;
	padding: 6px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.cia-tool-rating {
	text-align: center;
	margin-bottom: 16px;
}

.cia-rating-value {
	font-weight: 700;
	color: #1E1B4B;
	font-size: 16px;
	margin-left: 4px;
}

.cia-rating-count {
	color: #9CA3AF;
	font-size: 13px;
	margin-left: 4px;
}

.cia-verified-badge {
	text-align: center;
	background: #ECFDF5;
	color: #065F46;
	padding: 8px 16px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 16px;
}

.cia-tool-categories {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
	justify-content: center;
	margin-bottom: 16px;
}

.cia-tool-highlight {
	font-size: 14px;
	color: #4B5563;
	line-height: 1.6;
	text-align: center;
	margin-bottom: 20px;
	padding-bottom: 16px;
	border-bottom: 1px solid #E5E7EB;
}

.cia-tool-info-row {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	padding: 10px 0;
	border-bottom: 1px solid #F3F4F6;
	font-size: 14px;
}

.cia-info-label {
	color: #6B7280;
	font-weight: 500;
	flex-shrink: 0;
}

.cia-info-value {
	color: #1E1B4B;
	text-align: right;
	font-weight: 600;
}

.cia-info-value.cia-yes {
	color: #10B981;
}

.cia-btn {
	display: block;
	text-align: center;
	padding: 14px 24px;
	border-radius: 10px;
	font-weight: 700;
	font-size: 15px;
	text-decoration: none;
	transition: all 0.2s ease;
	margin-top: 20px;
}

.cia-btn-primary {
	background: #6C3AED;
	color: white !important;
}

.cia-btn-primary:hover {
	background: #5B21B6;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(108, 58, 237, 0.3);
}

/* Pros & Cons */
.cia-pros-cons {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
	margin: 40px 0;
}

.cia-pros, .cia-cons {
	background: #FAFAFE;
	border-radius: 12px;
	padding: 24px;
	border: 1px solid #E5E7EB;
}

.cia-pros {
	border-top: 3px solid #10B981;
}

.cia-cons {
	border-top: 3px solid #F59E0B;
}

.cia-pros-title, .cia-cons-title {
	font-size: 18px;
	font-weight: 700;
	margin: 0 0 16px;
}

.cia-pros-title { color: #065F46; }
.cia-cons-title { color: #92400E; }

.cia-pros ul, .cia-cons ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.cia-pros li, .cia-cons li {
	padding: 8px 0 8px 24px;
	position: relative;
	font-size: 14px;
	line-height: 1.5;
	color: #374151;
	border-bottom: 1px solid #F3F4F6;
}

.cia-pros li:last-child, .cia-cons li:last-child {
	border-bottom: none;
}

.cia-pros li::before {
	content: '✓';
	position: absolute;
	left: 0;
	color: #10B981;
	font-weight: 700;
}

.cia-cons li::before {
	content: '–';
	position: absolute;
	left: 0;
	color: #F59E0B;
	font-weight: 700;
}

/* Verdict */
.cia-verdict {
	background: linear-gradient(135deg, #EDE9FE, #F5F3FF);
	border-radius: 16px;
	padding: 32px;
	margin: 40px 0;
	border-left: 4px solid #6C3AED;
}

.cia-verdict h2 {
	font-family: 'Space Grotesk', sans-serif;
	font-size: 22px;
	font-weight: 700;
	color: #1E1B4B;
	margin: 0 0 16px;
}

.cia-verdict p {
	font-size: 15px;
	line-height: 1.7;
	color: #374151;
	margin: 0;
}

/* Ideal For / Not For */
.cia-ideal-section {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
	margin: 40px 0;
}

.cia-ideal-for, .cia-not-for {
	padding: 24px;
	border-radius: 12px;
	border: 1px solid #E5E7EB;
}

.cia-ideal-for {
	background: #F0FDF4;
	border-top: 3px solid #22C55E;
}

.cia-not-for {
	background: #FEF2F2;
	border-top: 3px solid #EF4444;
}

.cia-ideal-for h3, .cia-not-for h3 {
	font-size: 17px;
	font-weight: 700;
	margin: 0 0 12px;
}

.cia-ideal-for ul, .cia-not-for ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.cia-ideal-for li, .cia-not-for li {
	padding: 6px 0;
	font-size: 14px;
	line-height: 1.5;
	color: #374151;
}

/* FAQ */
.cia-faq {
	margin: 40px 0;
}

.cia-faq h2 {
	font-family: 'Space Grotesk', sans-serif;
	font-size: 22px;
	font-weight: 700;
	color: #1E1B4B;
	margin-bottom: 20px;
}

.cia-faq-item {
	border: 1px solid #E5E7EB;
	border-radius: 10px;
	margin-bottom: 10px;
	overflow: hidden;
	transition: all 0.2s ease;
}

.cia-faq-item[open] {
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.cia-faq-item summary {
	padding: 16px 20px;
	font-weight: 600;
	font-size: 15px;
	color: #1E1B4B;
	cursor: pointer;
	background: #FAFAFE;
	list-style: none;
}

.cia-faq-item summary::-webkit-details-marker {
	display: none;
}

.cia-faq-item summary::before {
	content: '▸';
	margin-right: 10px;
	transition: transform 0.2s ease;
	display: inline-block;
}

.cia-faq-item[open] summary::before {
	transform: rotate(90deg);
}

.cia-faq-answer {
	padding: 0 20px 16px;
}

.cia-faq-answer p {
	font-size: 14px;
	line-height: 1.7;
	color: #4B5563;
	margin: 0;
}

/* Related Tools */
.cia-related-section {
	background: #FAFAFE;
	border-top: 1px solid #E5E7EB;
}

.cia-tool-card-mini {
	background: white;
	border: 1px solid #E5E7EB;
	border-radius: 12px;
	transition: all 0.2s ease;
}

.cia-tool-card-mini:hover {
	border-color: #6C3AED;
	box-shadow: 0 4px 12px rgba(108, 58, 237, 0.12);
	transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
	.cia-tool-hero {
		padding: 40px 20px 30px;
	}

	.cia-tool-hero-title {
		font-size: 26px;
	}

	.cia-pros-cons,
	.cia-ideal-section {
		grid-template-columns: 1fr;
	}

	.cia-tool-card {
		position: static;
	}

	.cia-tool-layout {
		padding: 20px !important;
	}
}
