/**
 * Analytics Teaser Page Styles
 *
 * Styles for the Analytics upgrade presentation for free users.
 *
 * @package Jobus
 */

/* Variables */
:root {
	--jobus-primary: #31795a;
	--jobus-primary-dark: #255a44;
	--jobus-primary-light: #4a9e7a;
	--jobus-accent: #10b981;
	--jobus-success: #22c55e;
	--jobus-warning: #f59e0b;
	--jobus-info: #3b82f6;
	--jobus-danger: #ef4444;
	--jobus-purple: #8b5cf6;
	--jobus-gray-50: #f9fafb;
	--jobus-gray-100: #f3f4f6;
	--jobus-gray-300: #d1d5db;
	--jobus-gray-400: #9ca3af;
	--jobus-gray-500: #6b7280;
	--jobus-gray-600: #4b5563;
	--jobus-gray-700: #374151;
	--jobus-gray-800: #1f2937;
	--jobus-gray-900: #111827;
	--jobus-radius: 8px;
	--jobus-radius-lg: 16px;
	--jobus-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
	--jobus-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
	--jobus-shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Pro Badge in Menu */
.jobus-pro-badge {
	display: inline-block;
	padding: 2px 6px;
	margin-left: 4px;
	font-size: 9px;
	font-weight: 700;
	text-transform: uppercase;
	background: linear-gradient(135deg, var(--jobus-primary) 0%, var(--jobus-primary-dark) 100%);
	color: #fff;
	border-radius: 3px;
	vertical-align: middle;
}

/* Main Container */
.jobus-analytics-wrap {
	max-width: 100%;
	margin: 20px 20px 20px 0;
}

.jobus-analytics-presentation {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px 0;
}

/* Hero Section */
.jobus-presentation-hero {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: center;
	padding: 60px;
	background: linear-gradient(135deg, var(--jobus-primary) 0%, var(--jobus-primary-dark) 100%);
	border-radius: var(--jobus-radius-lg);
	margin-bottom: 60px;
	overflow: hidden;
	position: relative;
}

.jobus-presentation-hero::before {
	content: '';
	position: absolute;
	top: -50%;
	right: -20%;
	width: 600px;
	height: 600px;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
	pointer-events: none;
}

.jobus-hero-content {
	position: relative;
	z-index: 1;
}

.jobus-hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	background: rgba(255, 255, 255, 0.15);
	border-radius: 50px;
	font-size: 13px;
	font-weight: 600;
	color: #fff;
	margin-bottom: 20px;
	backdrop-filter: blur(10px);
}

.jobus-hero-badge .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
}

.jobus-hero-title {
	margin: 0 0 16px;
	font-size: 42px;
	font-weight: 800;
	color: #fff;
	line-height: 1.2;
}

.jobus-hero-subtitle {
	margin: 0 0 32px;
	font-size: 18px;
	color: rgba(255, 255, 255, 0.9);
	line-height: 1.7;
}

.jobus-hero-cta {
	display: flex;
	flex-direction: column;
	gap: 20px;
	align-items: flex-start;
}

.jobus-btn-primary {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 16px 32px;
	background: #fff;
	color: var(--jobus-primary) !important;
	border-radius: var(--jobus-radius);
	font-size: 16px;
	font-weight: 700;
	text-decoration: none !important;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.jobus-btn-primary .dashicons {
	font-size: 20px;
	width: 20px;
	height: 20px;
}

.jobus-btn-primary:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
	color: var(--jobus-primary) !important;
}

.jobus-btn-lg {
	padding: 18px 40px;
	font-size: 17px;
}

.jobus-hero-guarantee {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.8);
}

.jobus-hero-guarantee .dashicons {
	font-size: 18px;
	width: 18px;
	height: 18px;
	color: var(--jobus-accent);
}

/* Dashboard Preview */
.jobus-hero-visual {
	position: relative;
	z-index: 1;
}

.jobus-dashboard-preview {
	background: #fff;
	border-radius: var(--jobus-radius-lg);
	box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
	padding: 24px;
	transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
	transition: transform 0.4s ease;
}

.jobus-dashboard-preview:hover {
	transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.jobus-preview-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin-bottom: 20px;
}

.jobus-preview-stat {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 16px;
	background: var(--jobus-gray-50);
	border-radius: 8px;
	position: relative;
}

.jobus-preview-stat-value {
	font-size: 24px;
	font-weight: 800;
	color: var(--jobus-gray-900);
	line-height: 1;
}

.jobus-preview-stat-label {
	font-size: 12px;
	color: var(--jobus-gray-500);
}

.jobus-preview-stat-trend {
	position: absolute;
	top: 12px;
	right: 12px;
	font-size: 11px;
	font-weight: 700;
	color: var(--jobus-success);
	background: rgba(34, 197, 94, 0.1);
	padding: 2px 8px;
	border-radius: 20px;
}

.jobus-preview-chart {
	background: var(--jobus-gray-50);
	border-radius: 8px;
	padding: 20px;
}

.jobus-chart-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
}

.jobus-chart-title {
	font-size: 14px;
	font-weight: 600;
	color: var(--jobus-gray-800);
}

.jobus-chart-badge {
	font-size: 11px;
	font-weight: 500;
	color: var(--jobus-gray-500);
	background: #fff;
	padding: 4px 10px;
	border-radius: 20px;
}

.jobus-chart-bars {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	height: 120px;
	gap: 10px;
}

.jobus-bar {
	flex: 1;
	height: var(--height);
	background: linear-gradient(180deg, rgba(49, 121, 90, 0.3) 0%, rgba(49, 121, 90, 0.1) 100%);
	border-radius: 6px 6px 0 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: center;
	padding-bottom: 8px;
	transition: all 0.3s ease;
}

.jobus-bar span {
	font-size: 10px;
	font-weight: 600;
	color: var(--jobus-gray-400);
}

.jobus-bar:hover {
	background: linear-gradient(180deg, rgba(49, 121, 90, 0.5) 0%, rgba(49, 121, 90, 0.2) 100%);
}

.jobus-bar-active {
	background: linear-gradient(180deg, var(--jobus-primary) 0%, var(--jobus-primary-light) 100%) !important;
}

.jobus-bar-active span {
	color: #fff;
}

/* Features Section */
.jobus-features-section {
	margin-bottom: 60px;
}

.jobus-section-header {
	text-align: center;
	margin-bottom: 48px;
}

.jobus-section-header h2 {
	margin: 0 0 12px;
	font-size: 32px;
	font-weight: 800;
	color: var(--jobus-gray-900);
}

.jobus-section-header p {
	margin: 0;
	font-size: 17px;
	color: var(--jobus-gray-500);
}

.jobus-features-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.jobus-feature-card {
	background: #fff;
	border-radius: var(--jobus-radius);
	padding: 32px;
	box-shadow: var(--jobus-shadow-md);
	transition: all 0.3s ease;
	border: 1px solid var(--jobus-gray-100);
}

.jobus-feature-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--jobus-shadow-lg);
}

.jobus-feature-card h3 {
	margin: 20px 0 12px;
	font-size: 18px;
	font-weight: 700;
	color: var(--jobus-gray-900);
}

.jobus-feature-card p {
	margin: 0;
	font-size: 14px;
	color: var(--jobus-gray-500);
	line-height: 1.6;
}

.jobus-feature-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: var(--jobus-radius);
}

.jobus-feature-icon .dashicons {
	font-size: 28px;
	width: 28px;
	height: 28px;
}

.jobus-feature-icon-primary {
	background: linear-gradient(135deg, rgba(49, 121, 90, 0.15) 0%, rgba(49, 121, 90, 0.05) 100%);
	color: var(--jobus-primary);
}

.jobus-feature-icon-success {
	background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(34, 197, 94, 0.05) 100%);
	color: var(--jobus-success);
}

.jobus-feature-icon-warning {
	background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(245, 158, 11, 0.05) 100%);
	color: var(--jobus-warning);
}

.jobus-feature-icon-info {
	background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(59, 130, 246, 0.05) 100%);
	color: var(--jobus-info);
}

.jobus-feature-icon-danger {
	background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(239, 68, 68, 0.05) 100%);
	color: var(--jobus-danger);
}

.jobus-feature-icon-purple {
	background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(139, 92, 246, 0.05) 100%);
	color: var(--jobus-purple);
}

/* Tabs Preview Section */
.jobus-tabs-preview-section {
	margin-bottom: 60px;
}

.jobus-tabs-preview {
	display: flex;
	justify-content: center;
	gap: 16px;
	flex-wrap: wrap;
}

.jobus-tab-preview-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	padding: 24px 32px;
	background: #fff;
	border-radius: var(--jobus-radius);
	box-shadow: var(--jobus-shadow);
	border: 1px solid var(--jobus-gray-100);
	transition: all 0.3s ease;
	min-width: 120px;
}

.jobus-tab-preview-item:hover {
	transform: translateY(-4px);
	box-shadow: var(--jobus-shadow-md);
	border-color: var(--jobus-primary);
}

.jobus-tab-preview-item:hover .jobus-tab-preview-icon {
	background: var(--jobus-primary);
}

.jobus-tab-preview-item:hover .jobus-tab-preview-icon .dashicons {
	color: #fff;
}

.jobus-tab-preview-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	background: var(--jobus-gray-100);
	border-radius: 50%;
	transition: all 0.3s ease;
}

.jobus-tab-preview-icon .dashicons {
	font-size: 22px;
	width: 22px;
	height: 22px;
	color: var(--jobus-gray-600);
	transition: color 0.3s ease;
}

.jobus-tab-preview-name {
	font-size: 14px;
	font-weight: 600;
	color: var(--jobus-gray-700);
}

/* Social Proof Section */
.jobus-social-proof-section {
	margin-bottom: 60px;
}

.jobus-proof-stats {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 48px;
	padding: 40px;
	background: var(--jobus-gray-50);
	border-radius: var(--jobus-radius-lg);
}

.jobus-proof-stat {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
}

.jobus-proof-value {
	font-size: 36px;
	font-weight: 800;
	color: var(--jobus-primary);
	line-height: 1;
}

.jobus-proof-label {
	font-size: 14px;
	font-weight: 500;
	color: var(--jobus-gray-500);
}

.jobus-proof-divider {
	width: 1px;
	height: 50px;
	background: var(--jobus-gray-300);
}

/* Final CTA Section */
.jobus-final-cta-section {
	margin-bottom: 40px;
}

.jobus-cta-card {
	background: linear-gradient(135deg, var(--jobus-gray-900) 0%, var(--jobus-gray-800) 100%);
	border-radius: var(--jobus-radius-lg);
	padding: 60px;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.jobus-cta-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background:
		radial-gradient(circle at 20% 80%, rgba(49, 121, 90, 0.3) 0%, transparent 50%),
		radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.2) 0%, transparent 50%);
	pointer-events: none;
}

.jobus-cta-content {
	position: relative;
	z-index: 1;
}

.jobus-cta-content h2 {
	margin: 0 0 16px;
	font-size: 32px;
	font-weight: 800;
	color: #fff;
}

.jobus-cta-content > p {
	margin: 0 0 32px;
	font-size: 18px;
	color: rgba(255, 255, 255, 0.8);
}

.jobus-cta-buttons {
	margin-bottom: 24px;
}

.jobus-cta-buttons .jobus-btn-primary {
	background: linear-gradient(135deg, var(--jobus-primary) 0%, var(--jobus-primary-light) 100%);
	color: #fff !important;
}

.jobus-cta-buttons .jobus-btn-primary:hover {
	background: linear-gradient(135deg, var(--jobus-primary-light) 0%, var(--jobus-primary) 100%);
	box-shadow: 0 10px 30px rgba(49, 121, 90, 0.4);
	color: #fff !important;
}

.jobus-cta-note {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 0 !important;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.6);
}

.jobus-cta-note .dashicons {
	font-size: 18px;
	width: 18px;
	height: 18px;
	color: var(--jobus-success);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
	.jobus-presentation-hero {
		grid-template-columns: 1fr;
		gap: 40px;
		padding: 40px;
	}

	.jobus-dashboard-preview {
		transform: none;
	}

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

@media (max-width: 768px) {
	.jobus-hero-title {
		font-size: 32px;
	}

	.jobus-hero-subtitle {
		font-size: 16px;
	}

	.jobus-section-header h2 {
		font-size: 26px;
	}

	.jobus-features-grid {
		grid-template-columns: 1fr;
	}

	.jobus-tabs-preview {
		gap: 12px;
	}

	.jobus-tab-preview-item {
		padding: 16px 20px;
		min-width: 100px;
	}

	.jobus-proof-stats {
		flex-direction: column;
		gap: 24px;
	}

	.jobus-proof-divider {
		width: 100px;
		height: 1px;
	}

	.jobus-cta-card {
		padding: 40px 24px;
	}

	.jobus-cta-content h2 {
		font-size: 26px;
	}

	.jobus-cta-content > p {
		font-size: 16px;
	}
}

@media (max-width: 480px) {
	.jobus-analytics-wrap {
		margin: 10px 10px 10px 0;
	}

	.jobus-presentation-hero {
		padding: 24px;
	}

	.jobus-preview-stats {
		grid-template-columns: 1fr;
	}

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