/**
 * Stop Paying for Stock Photos - Post-Specific Styles
 *
 * Styles for comparison tables, prompt examples, pricing tables,
 * and other unique components in this thought leadership piece.
 *
 * @package AgenticWP
 */

/* ==========================================================================
   Problem Cards Grid
   ========================================================================== */

.problem-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin: 32px 0;
}

.problem-card {
	padding: 28px;
	background: var(--bg);
	border: 1px solid var(--line);
	border-radius: 16px;
	text-align: center;
}

.problem-card-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	margin: 0 auto 20px;
	background: #f1f5f9;
	border-radius: 16px;
	color: var(--ink);
}

.problem-card-icon svg {
	width: 28px;
	height: 28px;
}

.problem-card-title {
	font-size: 18px;
	font-weight: 600;
	color: var(--ink);
	margin: 0 0 12px;
}

.problem-card-text {
	font-size: 15px;
	line-height: 1.6;
	color: var(--muted);
	margin: 0;
}

/* ==========================================================================
   Thesis Summary Box
   ========================================================================== */

.thesis-summary {
	margin-top: 32px;
	padding: 28px 32px;
	background: #f8fafc;
	border-left: 4px solid var(--accent);
	border-radius: 0 12px 12px 0;
}

.thesis-summary-title {
	font-size: 16px;
	font-weight: 600;
	color: var(--ink);
	margin: 0 0 16px;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.thesis-list {
	margin: 0;
	padding-left: 20px;
}

.thesis-list li {
	margin-bottom: 8px;
	font-size: 17px;
	line-height: 1.6;
	color: var(--ink);
}

.thesis-list li:last-child {
	margin-bottom: 0;
}

/* ==========================================================================
   Callout Boxes (Pricing, Choose Stock)
   ========================================================================== */

.callout-box {
	margin: 32px 0;
	padding: 28px 32px;
	background: #f8fafc;
	border-radius: 12px;
	border: 1px solid var(--line);
}

.callout-box--pricing {
	background: linear-gradient(135deg, #fef3c7 0%, #fef9c3 100%);
	border-color: #fcd34d;
}

.callout-box--choose {
	background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
	border-color: #86efac;
}

.callout-box-title {
	font-size: 18px;
	font-weight: 700;
	color: var(--ink);
	margin: 0 0 16px;
}

.callout-list {
	margin: 0;
	padding-left: 20px;
}

.callout-list li {
	margin-bottom: 12px;
	font-size: 16px;
	line-height: 1.6;
}

.callout-list li:last-child {
	margin-bottom: 0;
}

.callout-note {
	margin: 16px 0 0;
	font-size: 14px;
	font-style: italic;
	color: var(--muted);
}

/* ==========================================================================
   Cliche List
   ========================================================================== */

.cliche-list {
	margin: 24px 0;
	padding-left: 0;
	list-style: none;
}

.cliche-list li {
	position: relative;
	padding-left: 28px;
	margin-bottom: 16px;
	font-size: 17px;
	line-height: 1.7;
}

.cliche-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 10px;
	width: 12px;
	height: 12px;
	background: var(--accent-weak);
	border-radius: 50%;
}

/* ==========================================================================
   Comparison Section
   ========================================================================== */

.comparison-section {
	margin: 40px 0;
	padding: 32px;
	background: #f8fafc;
	border-radius: 16px;
}

.comparison-title {
	font-size: 20px;
	font-weight: 700;
	color: var(--ink);
	margin: 0 0 16px;
}

.comparison-table-wrapper {
	margin: 24px 0;
	overflow-x: auto;
}

.comparison-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
}

.comparison-table th,
.comparison-table td {
	padding: 12px 16px;
	text-align: left;
	border-bottom: 1px solid var(--line);
}

.comparison-table th {
	font-weight: 600;
	background: var(--bg);
	color: var(--ink);
}

.comparison-table th:first-child {
	border-radius: 8px 0 0 0;
}

.comparison-table th:last-child {
	border-radius: 0 8px 0 0;
}

.comparison-weak {
	color: #dc2626;
}

.comparison-strong {
	color: #16a34a;
	font-weight: 500;
}

.comparison-neutral {
	color: var(--muted);
}

.comparison-verdict {
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin-top: 20px;
	padding-top: 16px;
	border-top: 1px solid var(--line);
}

.verdict-label {
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--accent);
}

.verdict-result {
	font-size: 16px;
	color: var(--ink);
}

/* ==========================================================================
   Honest Assessment Box
   ========================================================================== */

.honest-assessment {
	margin: 40px 0;
	padding: 28px 32px;
	background: linear-gradient(135deg, #fef2f2 0%, #fff1f2 100%);
	border: 1px solid #fecaca;
	border-radius: 12px;
}

.honest-assessment-title {
	font-size: 18px;
	font-weight: 700;
	color: var(--ink);
	margin: 0 0 16px;
}

.assessment-list {
	margin: 0;
	padding-left: 20px;
}

.assessment-list li {
	margin-bottom: 10px;
	font-size: 16px;
	line-height: 1.6;
}

.assessment-list li:last-child {
	margin-bottom: 0;
}

/* ==========================================================================
   Prompt Examples
   ========================================================================== */

.prompt-anatomy {
	margin-bottom: 40px;
}

.prompt-formula {
	margin-top: 16px;
	padding: 16px 24px;
	background: #1e293b;
	border-radius: 8px;
	overflow-x: auto;
}

.prompt-formula code {
	color: #e2e8f0;
	font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
	font-size: 15px;
	white-space: nowrap;
}

.prompt-example {
	margin: 32px 0;
	padding: 28px 32px;
	background: var(--bg);
	border: 1px solid var(--line);
	border-radius: 16px;
}

.prompt-example-header {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 20px;
}

.prompt-number {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	background: var(--accent);
	color: var(--bg);
	font-size: 14px;
	font-weight: 700;
	border-radius: 50%;
	flex-shrink: 0;
}

.prompt-use-case {
	font-size: 18px;
	font-weight: 600;
	color: var(--ink);
	margin: 0;
}

.prompt-code {
	margin: 0 0 20px;
}

.prompt-code pre {
	margin: 0;
	padding: 20px 24px;
	background: #1e293b;
	border-radius: 10px;
	overflow-x: auto;
}

.prompt-code code {
	color: #a5f3fc;
	font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
	font-size: 14px;
	line-height: 1.6;
	white-space: pre-wrap;
}

.prompt-explanation,
.prompt-tool {
	font-size: 15px;
	line-height: 1.6;
	margin: 0 0 8px;
}

.prompt-explanation:last-child,
.prompt-tool:last-child {
	margin-bottom: 0;
}

.prompt-tips {
	margin-top: 40px;
	padding: 28px 32px;
	background: linear-gradient(135deg, #eff6ff 0%, #eef2ff 100%);
	border-radius: 12px;
}

.tips-list {
	margin: 16px 0 0;
	padding-left: 20px;
}

.tips-list li {
	margin-bottom: 10px;
	font-size: 16px;
	line-height: 1.6;
}

.tips-list li:last-child {
	margin-bottom: 0;
}

/* ==========================================================================
   Pricing Table
   ========================================================================== */

.pricing-table-wrapper {
	margin: 32px 0;
	overflow-x: auto;
}

.pricing-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
	min-width: 600px;
}

.pricing-table th,
.pricing-table td {
	padding: 14px 16px;
	text-align: left;
	border-bottom: 1px solid var(--line);
}

.pricing-table th {
	font-weight: 600;
	background: var(--ink);
	color: var(--bg);
}

.pricing-table th:first-child {
	border-radius: 8px 0 0 0;
}

.pricing-table th:last-child {
	border-radius: 0 8px 0 0;
}

.pricing-row--stock td {
	background: #fef2f2;
}

.pricing-row--divider td {
	padding: 8px;
	background: var(--bg);
	border-bottom: none;
}

.pricing-row--ai td {
	background: #f0fdf4;
}

.pricing-note {
	margin-top: 12px;
	font-size: 14px;
	font-style: italic;
	color: var(--muted);
}

/* ==========================================================================
   Savings Callout
   ========================================================================== */

.savings-callout {
	margin: 40px 0;
	padding: 32px;
	background: linear-gradient(135deg, var(--accent-weak) 0%, #d9f99d 100%);
	border-radius: 16px;
}

.savings-callout-title {
	font-size: 20px;
	font-weight: 700;
	color: var(--ink);
	margin: 0 0 8px;
}

.savings-callout-text {
	font-size: 16px;
	color: var(--muted);
	margin: 0 0 24px;
}

.savings-comparison {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.savings-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 14px 20px;
	background: var(--bg);
	border-radius: 8px;
}

.savings-label {
	font-size: 15px;
	color: var(--ink);
}

.savings-value {
	font-size: 16px;
	font-weight: 700;
}

.savings-item--stock .savings-value {
	color: #dc2626;
}

.savings-item--ai .savings-value {
	color: #16a34a;
}

.savings-item--result {
	background: var(--ink);
}

.savings-item--result .savings-label,
.savings-item--result .savings-value {
	color: var(--bg);
}

/* ==========================================================================
   Hidden Costs List
   ========================================================================== */

.hidden-costs-list {
	margin: 24px 0;
	padding-left: 0;
	list-style: none;
}

.hidden-costs-list li {
	position: relative;
	padding: 16px 20px 16px 52px;
	margin-bottom: 12px;
	background: #f8fafc;
	border-radius: 8px;
	font-size: 16px;
	line-height: 1.6;
}

.hidden-costs-list li::before {
	content: "$";
	position: absolute;
	left: 16px;
	top: 16px;
	width: 24px;
	height: 24px;
	background: #fecaca;
	color: #dc2626;
	font-size: 14px;
	font-weight: 700;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* ==========================================================================
   ROI Grid
   ========================================================================== */

.roi-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin: 32px 0;
}

.roi-card {
	padding: 24px;
	background: var(--bg);
	border: 1px solid var(--line);
	border-radius: 12px;
}

.roi-card-title {
	font-size: 18px;
	font-weight: 700;
	color: var(--ink);
	margin: 0 0 8px;
}

.roi-card-usage {
	font-size: 14px;
	color: var(--accent);
	font-weight: 600;
	margin: 0 0 12px;
}

.roi-card-verdict {
	font-size: 15px;
	line-height: 1.6;
	color: var(--muted);
	margin: 0;
}

/* ==========================================================================
   Verdict Section
   ========================================================================== */

.verdict-summary {
	margin: 32px 0;
	padding: 28px 32px;
	background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
	border: 1px solid #86efac;
	border-radius: 12px;
}

.verdict-summary-title {
	font-size: 18px;
	font-weight: 700;
	color: var(--ink);
	margin: 0 0 16px;
}

.verdict-list {
	margin: 0;
	padding-left: 0;
	list-style: none;
}

.verdict-list li {
	position: relative;
	padding-left: 32px;
	margin-bottom: 12px;
	font-size: 16px;
	line-height: 1.6;
}

.verdict-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 6px;
	width: 20px;
	height: 20px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
}

.verdict-list li:last-child {
	margin-bottom: 0;
}

/* ==========================================================================
   Recommendation Box
   ========================================================================== */

.recommendation-box {
	margin: 32px 0;
	padding: 28px 32px;
	background: linear-gradient(135deg, #eff6ff 0%, #eef2ff 100%);
	border-radius: 12px;
}

.recommendation-title {
	font-size: 18px;
	font-weight: 700;
	color: var(--ink);
	margin: 0 0 16px;
}

.recommendation-text {
	font-size: 16px;
	line-height: 1.7;
	color: var(--ink);
	margin: 0 0 12px;
}

.recommendation-text:last-child {
	margin-bottom: 0;
}

/* ==========================================================================
   Challenge Box
   ========================================================================== */

.challenge-box {
	margin: 32px 0;
	padding: 28px 32px;
	background: var(--ink);
	border-radius: 12px;
}

.challenge-title {
	font-size: 18px;
	font-weight: 700;
	color: var(--bg);
	margin: 0 0 16px;
}

.challenge-box p,
.challenge-box .challenge-text {
	font-size: 16px;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.85);
	margin: 0 0 12px;
}

.challenge-box p:last-child,
.challenge-box .challenge-text:last-child {
	margin-bottom: 0;
}

/* ==========================================================================
   Responsive: Tablet (max-width: 900px)
   ========================================================================== */

@media (max-width: 900px) {
	.problem-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.roi-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.comparison-section,
	.prompt-example,
	.callout-box,
	.honest-assessment,
	.thesis-summary,
	.savings-callout,
	.verdict-summary,
	.recommendation-box,
	.challenge-box,
	.prompt-tips {
		padding: 24px;
	}
}

/* ==========================================================================
   Responsive: Mobile (max-width: 640px)
   ========================================================================== */

@media (max-width: 640px) {
	.prompt-example-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}

	.comparison-table,
	.pricing-table {
		font-size: 14px;
	}

	.comparison-table th,
	.comparison-table td,
	.pricing-table th,
	.pricing-table td {
		padding: 10px 12px;
	}

	.savings-item {
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
	}

	.hidden-costs-list li {
		padding-left: 44px;
	}

	.hidden-costs-list li::before {
		left: 12px;
	}

	.thesis-summary,
	.callout-box,
	.comparison-section,
	.honest-assessment,
	.prompt-example,
	.savings-callout,
	.verdict-summary,
	.recommendation-box,
	.challenge-box,
	.prompt-tips {
		padding: 20px;
	}

	.prompt-code pre {
		padding: 16px;
	}

	.prompt-code code {
		font-size: 13px;
	}
}
