/* === BANNER PREMIUM DE LINKS INTELIGENTES === */

/* Container principal */
.codirun-premium-banner-container {
	max-width: 1200px;
	margin: 20px auto 0;
	padding: 0 20px;
}

/* Banner principal */
.codirun-premium-banner {
	position: relative;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	border-radius: 20px;
	padding: 60px 40px;
	text-align: center;
	overflow: hidden;
	box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
	margin-bottom: 40px;
}

.codirun-smart-links-banner {
	background: linear-gradient(135deg, #4facfe 0%, #135e96 100%);
	box-shadow: 0 20px 40px rgba(79, 172, 254, 0.3);
}

.codirun-banner-background {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	overflow: hidden;
}

.codirun-banner-gradient {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}

.codirun-banner-pattern {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-image:
		radial-gradient(circle at 25% 25%, rgba(255,255,255,0.1) 0%, transparent 50%),
		radial-gradient(circle at 75% 75%, rgba(255,255,255,0.1) 0%, transparent 50%);
	background-size: 100px 100px;
	animation: float 20s ease-in-out infinite;
}

.codirun-smart-pattern {
	background-image:
		radial-gradient(circle at 20% 30%, rgba(255,255,255,0.1) 0%, transparent 50%),
		radial-gradient(circle at 80% 70%, rgba(255,255,255,0.1) 0%, transparent 50%),
		radial-gradient(circle at 40% 80%, rgba(255,255,255,0.08) 0%, transparent 50%);
	background-size: 150px 150px, 120px 120px, 80px 80px;
}

@keyframes float {
	0%, 100% { transform: translateY(0px) rotate(0deg); }
	50% { transform: translateY(-10px) rotate(1deg); }
}

.codirun-banner-content {
	position: relative;
	z-index: 2;
}

.codirun-banner-icon {
	color: rgba(255, 255, 255, 0.9);
	margin-bottom: 20px;
	display: inline-block;
	animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.05); }
}

.codirun-banner-text h1 {
	color: white;
	font-size: 48px;
	font-weight: 700;
	margin: 0 0 16px 0;
	text-shadow: 0 2px 4px rgba(0,0,0,0.3);
	line-height: 1.2;
}

.codirun-banner-subtitle {
	color: rgba(255, 255, 255, 0.9);
	font-size: 20px;
	font-weight: 500;
	margin: 0 0 12px 0;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

.codirun-banner-description {
	color: rgba(255, 255, 255, 0.8);
	font-size: 16px;
	line-height: 1.6;
	margin: 0 0 32px 0;
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
}

.codirun-banner-cta {
	margin-top: 32px;
}

.codirun-btn-premium {
	background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
	color: white;
	border: none;
	padding: 16px 32px;
	border-radius: 50px;
	font-size: 18px;
	font-weight: 600;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	transition: all 0.3s ease;
	box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
	position: relative;
	overflow: hidden;
	white-space: normal;
}

.codirun-btn-premium:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 30px rgba(255, 107, 107, 0.5);
	color: white;
	text-decoration: none;
}

.codirun-btn-premium:before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
	transition: left 0.5s;
}

.codirun-btn-premium:hover:before {
	left: 100%;
}

.codirun-btn-large {
	padding: 20px 40px;
	font-size: 20px;
}

/* Botão premium desabilitado */
.codirun-disabled-premium {
	opacity: 0.7;
	cursor: not-allowed;
	position: relative;
}

.codirun-disabled-premium:hover {
	opacity: 0.8;
	transform: none;
}

/* === PREVIEW DO SISTEMA === */
.codirun-system-preview {
	background: white;
	border-radius: 20px;
	padding: 50px 40px;
	margin-bottom: 40px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.codirun-preview-header {
	text-align: center;
	margin-bottom: 50px;
}

.codirun-preview-header h2 {
	font-size: 32px;
	font-weight: 700;
	color: #2d3748;
	margin: 0 0 8px 0;
	line-height: 1;
}

.codirun-preview-header p {
	color: #718096;
	font-size: 18px;
	margin: 0;
}

/* Steps Container */
.codirun-steps-container {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 24px;
	flex-wrap: wrap;
}

.codirun-step-card {
	background: #f8fafc;
	border-radius: 16px;
	padding: 32px 24px;
	text-align: center;
	flex: 1;
	min-width: 220px;
	max-width: 350px;
	transition: all 0.3s ease;
	border: 2px solid #eee;
}

.codirun-step-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
	border-color: #4facfe;
}

.codirun-step-number {
	width: 60px;
	height: 60px;
	background: linear-gradient(135deg, #4facfe, #00f2fe);
	color: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	font-weight: 700;
	margin: 0 auto 20px;
}

.codirun-step-content h3 {
	font-size: 20px;
	font-weight: 600;
	color: #2d3748;
	margin: 0 0 12px 0;
}

.codirun-step-content p {
	color: #718096;
	line-height: 1.6;
	margin: 0 0 20px 0;
}

.codirun-step-example {
	background: white;
	padding: 16px;
	border-radius: 8px;
	border: 1px solid #e2e8f0;
}

/* Exemplos dos Steps */
.codirun-keyword-example {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
}

.codirun-keyword-tag {
	background: linear-gradient(135deg, #4facfe, #00f2fe);
	color: white;
	padding: 6px 12px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
}

.codirun-url-example {
	display: flex;
	align-items: center;
	gap: 8px;
	justify-content: center;
}

.codirun-url-icon {
	font-size: 18px;
}

.codirun-url-text {
	background: #e2e8f0;
	padding: 4px 8px;
	border-radius: 4px;
	font-family: monospace;
	font-size: 12px;
	color: #4a5568;
}

.codirun-auto-example {
	display: flex;
	align-items: center;
	gap: 4px;
	justify-content: center;
	flex-wrap: wrap;
}

.codirun-text-before,
.codirun-text-after {
	color: #718096;
}

.codirun-auto-link {
	background: linear-gradient(135deg, #4facfe, #00f2fe);
	color: white;
	padding: 2px 8px;
	border-radius: 4px;
	text-decoration: underline;
	font-weight: 600;
}

/* Setas entre steps */
.codirun-step-arrow {
	font-size: 24px;
	color: #4facfe;
	font-weight: bold;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 60px;
	min-height: 40px;
}

/* === FEATURES PREVIEW === */
.codirun-features-preview {
	margin-bottom: 60px;
}

.codirun-features-header {
	text-align: center;
	margin-bottom: 40px;
}

.codirun-features-header h2 {
	font-size: 32px;
	font-weight: 700;
	color: #2d3748;
	margin: 0 0 8px 0;
	line-height: 1;
}

.codirun-features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	gap: 24px;
	margin-top: 40px;
}

.codirun-feature-card {
	background: white;
	border-radius: 16px;
	padding: 32px 24px;
	text-align: center;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	transition: all 0.3s ease;
	border: 1px solid rgba(0, 0, 0, 0.06);
}

.codirun-feature-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.codirun-feature-icon {
	width: 64px;
	height: 64px;
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 20px;
	transition: transform 0.3s ease;
}

.codirun-feature-card:hover .codirun-feature-icon {
	transform: scale(1.1);
}

/* Cores específicas dos ícones */
.codirun-automation-color {
	background: linear-gradient(135deg, #667eea, #764ba2);
	color: white;
}

.codirun-keywords-color {
	background: linear-gradient(135deg, #48bb78, #38a169);
	color: white;
}

.codirun-targeting-color {
	background: linear-gradient(135deg, #ed64a6, #d53f8c);
	color: white;
}

.codirun-control-color {
	background: linear-gradient(135deg, #f093fb, #f5576c);
	color: white;
}

.codirun-categories-color {
	background: linear-gradient(135deg, #ffecd2, #fcb69f);
	color: #744210;
}

.codirun-stats-color {
	background: linear-gradient(135deg, #a8edea, #fed6e3);
	color: #2d3748;
}

.codirun-feature-card h3 {
	font-size: 20px;
	font-weight: 600;
	margin: 0 0 12px 0;
	color: #2d3748;
}

.codirun-feature-card p {
	color: #718096;
	line-height: 1.6;
	margin: 0;
	font-size: 15px;
}

/* === EXEMPLO VISUAL === */
.codirun-visual-example {
	background: #f8fafc;
	border-radius: 20px;
	padding: 50px 40px;
	margin-bottom: 40px;
}

.codirun-example-header {
	text-align: center;
	margin-bottom: 40px;
}

.codirun-example-header h2 {
	font-size: 28px;
	font-weight: 700;
	color: #2d3748;
	margin: 0 0 8px 0;
}

.codirun-example-header p {
	color: #718096;
	font-size: 16px;
	margin: 0;
}

.codirun-before-after {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	gap: 32px;
	align-items: center;
	max-width: 1000px;
	margin: 0 auto;
}

.codirun-example-section h3 {
	font-size: 18px;
	font-weight: 600;
	color: #2d3748;
	margin: 0 0 16px 0;
	text-align: center;
}

.codirun-text-example {
	background: white;
	border-radius: 12px;
	padding: 24px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	border: 2px solid #e2e8f0;
}

.codirun-text-example.codirun-before {
	border-color: #fed7d7;
}

.codirun-text-example.codirun-after {
	border-color: #c6f6d5;
}

.codirun-text-example p {
	margin: 0;
	line-height: 1.6;
	color: #2d3748;
	font-size: 16px;
}

.codirun-smart-link {
	color: #4facfe;
	text-decoration: underline;
	font-weight: 600;
	background: rgba(79, 172, 254, 0.1);
	padding: 2px 4px;
	border-radius: 4px;
}

.codirun-arrow-transform {
	color: #4facfe;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 60px;
}

/* === PRICING PREVIEW === */
.codirun-pricing-preview {
	background: #f8fafc;
	border-radius: 20px;
	padding: 50px 40px;
	text-align: center;
}

.codirun-pricing-header h2 {
	font-size: 32px;
	font-weight: 700;
	color: #2d3748;
	margin: 0 0 8px 0;
}

.codirun-pricing-header p {
	color: #718096;
	font-size: 18px;
	margin: 0 0 40px 0;
}

.codirun-pricing-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 24px;
	margin-bottom: 40px;
}

.codirun-pricing-card {
	background: white;
	border-radius: 16px;
	padding: 32px 24px;
	border: 2px solid #e2e8f0;
	transition: all 0.3s ease;
	position: relative;
}

.codirun-pricing-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.codirun-pricing-card.codirun-popular {
	border-color: #667eea;
	transform: scale(1.05);
}

.codirun-pricing-card.codirun-popular:hover {
	transform: scale(1.05) translateY(-4px);
}

.codirun-popular-badge {
	position: absolute;
	top: -12px;
	left: 50%;
	transform: translateX(-50%);
	background: linear-gradient(135deg, #667eea, #764ba2);
	color: white;
	padding: 6px 20px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.codirun-pricing-header-card h3 {
	font-size: 20px;
	font-weight: 600;
	color: #2d3748;
	margin: 0 0 16px 0;
}

.codirun-price {
	margin-bottom: 8px;
}

.codirun-currency {
	font-size: 20px;
	color: #718096;
	vertical-align: top;
}

.codirun-amount {
	font-size: 48px;
	font-weight: 700;
	color: #2d3748;
}

.codirun-period {
	font-size: 16px;
	color: #718096;
}

.codirun-save {
	background: #48bb78;
	color: white;
	padding: 4px 12px;
	border-radius: 12px;
	font-size: 12px;
	font-weight: 600;
	display: inline-block;
	margin-bottom: 24px;
}

.codirun-features-list {
	text-align: left;
	margin-top: 24px;
}

.codirun-feature-item {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
	font-size: 15px;
	color: #4a5568;
}

.codirun-check {
	width: 20px;
	height: 20px;
	background: #48bb78;
	color: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: bold;
	flex-shrink: 0;
}

/* === MEDIA QUERIES RESPONSIVAS === */

/* Tablet */
@media (max-width: 768px) {
	.codirun-premium-banner {
		padding: 40px 24px;
		margin-bottom: 30px;
	}

	.codirun-banner-text h1 {
		font-size: 32px;
	}

	.codirun-banner-subtitle {
		font-size: 18px;
	}

	.codirun-btn-premium {
		padding: 14px 28px;
		font-size: 16px;
	}

	/* Layout responsivo para steps */
	.codirun-steps-container {
		flex-direction: column;
		align-items: center;
		gap: 16px;
	}

	.codirun-step-card {
		max-width: none;
		min-width: auto;
	}

	/* Setas responsivas para mobile */
	.codirun-step-arrow {
		transform: rotate(90deg);
		margin: 8px 0;
		font-size: 20px;
	}

	/* Layout responsivo para exemplo antes/depois */
	.codirun-before-after {
		grid-template-columns: 1fr;
		grid-template-rows: auto auto auto;
		gap: 24px;
		text-align: center;
	}

	/* Reordenação dos elementos em mobile */
	.codirun-example-section:first-child {
		order: 1;
	}

	.codirun-arrow-transform {
		order: 2;
	}

	.codirun-example-section:last-child {
		order: 3;
	}

	/* Seta de transformação responsiva */
	.codirun-arrow-transform {
		min-height: 40px;
	}

	.codirun-arrow-transform svg {
		transform: rotate(90deg);
		width: 30px;
		height: 40px;
	}

	/* Grid responsivo para features */
	.codirun-features-grid {
		grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
		gap: 20px;
	}

	/* Melhorias gerais para responsividade */
	.codirun-auto-example {
		gap: 8px;
	}

	.codirun-keyword-example {
		align-items: center;
	}

	.codirun-url-example {
		gap: 4px;
	}
}

/* Grid responsivo para mobile pequeno */
@media (max-width: 600px) {
	.codirun-features-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	/* Container principal responsivo */
	.codirun-premium-banner-container {
		margin: 10px auto 0;
	}
}

/* Mobile pequeno */
@media (max-width: 480px) {
	.codirun-premium-banner-container {
		padding: 0 16px;
	}

	.codirun-premium-banner {
		padding: 32px 20px;
	}

	.codirun-banner-text h1 {
		font-size: 28px;
	}

	.codirun-banner-subtitle {
		font-size: 16px;
	}

	.codirun-system-preview,
	.codirun-visual-example {
		padding: 32px 20px;
	}

	.codirun-step-card {
		padding: 24px 16px;
	}

	.codirun-step-number {
		width: 50px;
		height: 50px;
		font-size: 20px;
	}

	.codirun-text-example {
		padding: 16px;
	}

	.codirun-text-example p {
		font-size: 14px;
	}

	.codirun-keyword-tag {
		font-size: 11px;
		padding: 4px 8px;
	}

	.codirun-feature-card {
		padding: 24px 16px;
	}

	.codirun-preview-header h2,
	.codirun-features-header h2,
	.codirun-example-header h2 {
		font-size: 24px;
	}

	.codirun-preview-header p {
		font-size: 16px;
	}
}