/* Modern Homepage Styles for EasyLabs */

/* ========================================
   Hero Section
   ======================================== */

.hero-modern {
	position: relative;
	padding: 120px 0 80px;
	overflow: hidden;
	background: linear-gradient(135deg, #f8faff 0%, #ffffff 50%, #f8f9ff 100%);
}

.hero-gradient {
	position: absolute;
	top: 0;
	right: 0;
	width: 800px;
	height: 800px;
	background: radial-gradient(circle, rgba(79, 70, 229, 0.08) 0%, transparent 70%);
	pointer-events: none;
}

.hero-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 80px;
	align-items: center;
}

.hero-text {
	animation: fadeInUp 0.8s ease-out;
}

.badge-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(99, 102, 241, 0.1));
	border: 1px solid rgba(79, 70, 229, 0.2);
	border-radius: 50px;
	font-size: 0.875rem;
	font-weight: 600;
	color: #4f46e5;
	margin-bottom: 24px;
}

.badge-pill svg {
	stroke-width: 3;
}

.hero-title {
	font-size: 3.75rem;
	font-weight: 800;
	line-height: 1.1;
	color: #0f172a;
	margin-bottom: 24px;
	letter-spacing: -0.03em;
}

.gradient-text {
	background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.hero-description {
	font-size: 1.25rem;
	line-height: 1.7;
	color: #64748b;
	margin-bottom: 32px;
	max-width: 540px;
}

.hero-actions {
	display: flex;
	gap: 16px;
	margin-bottom: 40px;
	flex-wrap: wrap;
}

.btn-primary-large {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 16px 32px;
	background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
	color: white;
	font-weight: 600;
	font-size: 1.0625rem;
	border-radius: 12px;
	text-decoration: none;
	transition: all 0.3s ease;
	box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
}

.btn-primary-large:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(79, 70, 229, 0.4);
}

.btn-secondary-large {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 16px 32px;
	background: white;
	color: #4f46e5;
	font-weight: 600;
	font-size: 1.0625rem;
	border: 2px solid #e5e7eb;
	border-radius: 12px;
	text-decoration: none;
	transition: all 0.3s ease;
}

.btn-secondary-large:hover {
	border-color: #4f46e5;
	background: rgba(79, 70, 229, 0.05);
}

.hero-trust {
	display: flex;
	gap: 32px;
	flex-wrap: wrap;
}

.trust-item {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #64748b;
	font-size: 0.9375rem;
	font-weight: 500;
}

.trust-item svg {
	color: #10b981;
	flex-shrink: 0;
}

/* Hero Visual */
.hero-visual {
	position: relative;
	animation: fadeIn 1s ease-out 0.3s both;
}

.dashboard-preview {
	position: relative;
	background: white;
	border-radius: 20px;
	padding: 24px;
	box-shadow: 0 20px 60px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(15, 23, 42, 0.06);
	transition: transform 0.3s ease;
}

.dashboard-preview:hover {
	transform: translateY(-5px);
}

.preview-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 24px;
	padding-bottom: 16px;
	border-bottom: 1px solid #f1f5f9;
}

.preview-dots {
	display: flex;
	gap: 6px;
}

.preview-dots span {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #e2e8f0;
}

.preview-title {
	font-weight: 600;
	font-size: 0.875rem;
	color: #64748b;
}

.preview-body {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.preview-stats {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.stat-card {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px;
	background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
	border: 1px solid #f1f5f9;
	border-radius: 12px;
}

.stat-icon {
	width: 48px;
	height: 48px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.stat-icon.blue {
	background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(37, 99, 235, 0.1));
	color: #3b82f6;
}

.stat-icon.green {
	background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.1));
	color: #10b981;
}

.stat-value {
	font-size: 1.5rem;
	font-weight: 700;
	color: #0f172a;
	line-height: 1;
	margin-bottom: 4px;
}

.stat-label {
	font-size: 0.8125rem;
	color: #64748b;
	font-weight: 500;
}

.preview-chart {
	padding: 20px;
	background: linear-gradient(135deg, #fafbff 0%, #ffffff 100%);
	border: 1px solid #f1f5f9;
	border-radius: 12px;
	height: 140px;
}

.chart-bars {
	display: flex;
	align-items: flex-end;
	justify-content: space-around;
	height: 100%;
	gap: 8px;
}

.bar {
	flex: 1;
	background: linear-gradient(180deg, #4f46e5 0%, #6366f1 100%);
	border-radius: 6px 6px 0 0;
	transition: all 0.3s ease;
	animation: growBar 0.8s ease-out;
}

.bar:hover {
	background: linear-gradient(180deg, #4338ca 0%, #4f46e5 100%);
}

@keyframes growBar {
	from {
		height: 0%;
	}
}

/* Floating Cards */
.floating-card {
	position: absolute;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px;
	background: white;
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
	transition: transform 0.3s ease;
	z-index: 10;
}

.floating-card.card-1 {
	top: 20%;
	right: -10%;
	animation: float 3s ease-in-out infinite;
}

.floating-card.card-2 {
	bottom: 15%;
	left: -10%;
	animation: float 3s ease-in-out infinite 1.5s;
}

.card-icon {
	width: 36px;
	height: 36px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.25rem;
	flex-shrink: 0;
}

.card-icon.success {
	background: linear-gradient(135deg, #dcfce7, #bbf7d0);
	color: #16a34a;
}

.card-icon.warning {
	background: linear-gradient(135deg, #fef3c7, #fde68a);
	color: #d97706;
}

.card-title {
	font-weight: 600;
	font-size: 0.875rem;
	color: #0f172a;
	margin-bottom: 2px;
}

.card-subtitle {
	font-size: 0.75rem;
	color: #94a3b8;
}

@keyframes float {
	0%, 100% {
		transform: translateY(0px);
	}
	50% {
		transform: translateY(-20px);
	}
}

/* ========================================
   Stats Section
   ======================================== */

.stats-modern {
	padding: 60px 0;
	background: white;
	border-top: 1px solid #f1f5f9;
	border-bottom: 1px solid #f1f5f9;
}

.stats-grid-modern {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	align-items: center;
	gap: 0;
}

.stat-item-modern {
	text-align: center;
	padding: 0 20px;
}

.stat-number-modern {
	font-size: 2.5rem;
	font-weight: 800;
	background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	margin-bottom: 8px;
	line-height: 1;
}

.stat-label-modern {
	font-size: 0.9375rem;
	color: #64748b;
	font-weight: 500;
}

.stat-divider {
	width: 1px;
	height: 60px;
	background: linear-gradient(180deg, transparent 0%, #e2e8f0 50%, transparent 100%);
}

/* ========================================
   Features Section
   ======================================== */

.features-modern {
	padding: 100px 0;
	background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
}

.section-header-modern {
	text-align: center;
	max-width: 700px;
	margin: 0 auto 64px;
}

.section-badge {
	display: inline-block;
	padding: 6px 16px;
	background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(99, 102, 241, 0.1));
	border: 1px solid rgba(79, 70, 229, 0.2);
	border-radius: 50px;
	font-size: 0.8125rem;
	font-weight: 700;
	color: #4f46e5;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 16px;
}

.section-title-modern {
	font-size: 2.75rem;
	font-weight: 800;
	color: #0f172a;
	margin-bottom: 16px;
	line-height: 1.2;
	letter-spacing: -0.02em;
}

.section-description-modern {
	font-size: 1.1875rem;
	color: #64748b;
	line-height: 1.6;
}

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

.feature-card-modern {
	padding: 32px;
	background: white;
	border: 1px solid #f1f5f9;
	border-radius: 20px;
	transition: all 0.4s ease;
	opacity: 0;
	transform: translateY(20px);
}

.feature-card-modern.animate-in {
	opacity: 1;
	transform: translateY(0);
}

.feature-card-modern:hover {
	transform: translateY(-8px);
	box-shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
	border-color: rgba(79, 70, 229, 0.2);
}

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

.feature-card-modern:hover .feature-icon-modern {
	transform: scale(1.1) rotate(5deg);
}

.feature-icon-modern.blue {
	background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(37, 99, 235, 0.15));
	color: #3b82f6;
}

.feature-icon-modern.purple {
	background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(109, 40, 217, 0.15));
	color: #7c3aed;
}

.feature-icon-modern.green {
	background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.15));
	color: #10b981;
}

.feature-icon-modern.orange {
	background: linear-gradient(135deg, rgba(249, 115, 22, 0.1), rgba(234, 88, 12, 0.15));
	color: #f97316;
}

.feature-icon-modern.red {
	background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(220, 38, 38, 0.15));
	color: #ef4444;
}

.feature-icon-modern.indigo {
	background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(79, 70, 229, 0.15));
	color: #6366f1;
}

.feature-title-modern {
	font-size: 1.375rem;
	font-weight: 700;
	color: #0f172a;
	margin-bottom: 12px;
}

.feature-description-modern {
	font-size: 1rem;
	color: #64748b;
	line-height: 1.6;
	margin-bottom: 16px;
}

.feature-list-modern {
	list-style: none;
	padding: 0;
	margin: 0;
}

.feature-list-modern li {
	font-size: 0.9375rem;
	color: #475569;
	padding: 8px 0;
	padding-left: 24px;
	position: relative;
}

.feature-list-modern li:before {
	content: "✓";
	position: absolute;
	left: 0;
	color: #10b981;
	font-weight: 700;
}

/* ========================================
   How It Works Section
   ======================================== */

.how-it-works {
	padding: 100px 0;
	background: white;
}

.steps-grid {
	display: grid;
	grid-template-columns: 1fr auto 1fr auto 1fr;
	gap: 0;
	align-items: center;
	max-width: 1200px;
	margin: 0 auto;
}

.step-card {
	padding: 32px;
	background: linear-gradient(135deg, #f8faff 0%, #ffffff 100%);
	border: 2px solid #f1f5f9;
	border-radius: 20px;
	text-align: center;
	transition: all 0.4s ease;
	opacity: 0;
	transform: translateY(20px);
	position: relative;
}

.step-card.animate-in {
	opacity: 1;
	transform: translateY(0);
}

.step-card:hover {
	border-color: rgba(79, 70, 229, 0.3);
	transform: translateY(-8px);
}

.step-number {
	position: absolute;
	top: 16px;
	right: 16px;
	font-size: 2.5rem;
	font-weight: 800;
	color: rgba(79, 70, 229, 0.1);
	line-height: 1;
}

.step-icon {
	width: 80px;
	height: 80px;
	margin: 0 auto 20px;
	background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(99, 102, 241, 0.1));
	border-radius: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #4f46e5;
}

.step-card h3 {
	font-size: 1.25rem;
	font-weight: 700;
	color: #0f172a;
	margin-bottom: 12px;
}

.step-card p {
	font-size: 0.9375rem;
	color: #64748b;
	line-height: 1.6;
	margin: 0;
}

.step-arrow {
	font-size: 2rem;
	color: #cbd5e1;
	padding: 0 32px;
	font-weight: 300;
}

/* ========================================
   Pricing Section
   ======================================== */

.pricing-modern {
	padding: 100px 0;
	background: linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
}

.pricing-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
	gap: 32px;
	max-width: 900px;
	margin: 0 auto 40px;
}

.pricing-card-modern {
	position: relative;
	background: white;
	border: 2px solid #f1f5f9;
	border-radius: 24px;
	overflow: hidden;
	transition: all 0.4s ease;
	opacity: 0;
	transform: translateY(20px);
}

.pricing-card-modern.animate-in {
	opacity: 1;
	transform: translateY(0);
}

.pricing-card-modern:hover {
	transform: translateY(-8px);
	box-shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
}

.pricing-card-modern.featured {
	border-color: #4f46e5;
	background: linear-gradient(135deg, #faf5ff 0%, #ffffff 100%);
}

.pricing-badge {
	position: absolute;
	top: 20px;
	right: 20px;
	padding: 6px 16px;
	border-radius: 50px;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.pricing-badge.trial {
	background: linear-gradient(135deg, #dbeafe, #bfdbfe);
	color: #1e40af;
}

.pricing-badge.popular {
	background: linear-gradient(135deg, #4f46e5, #7c3aed);
	color: white;
}

.pricing-content {
	padding: 40px;
}

.pricing-price {
	display: flex;
	align-items: baseline;
	gap: 4px;
	margin-bottom: 16px;
}

.price-currency {
	font-size: 1.5rem;
	font-weight: 700;
	color: #64748b;
}

.price-amount {
	font-size: 3.5rem;
	font-weight: 800;
	color: #0f172a;
	line-height: 1;
}

.price-period {
	font-size: 1.125rem;
	color: #94a3b8;
	font-weight: 500;
}

.pricing-subtitle {
	font-size: 1rem;
	color: #64748b;
	margin-bottom: 32px;
	line-height: 1.5;
}

.pricing-features {
	list-style: none;
	padding: 0;
	margin: 0 0 32px;
}

.pricing-features li {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 0;
	color: #475569;
	font-size: 0.9375rem;
	border-bottom: 1px solid #f1f5f9;
}

.pricing-features li:last-child {
	border-bottom: none;
}

.pricing-features svg {
	color: #10b981;
	flex-shrink: 0;
}

.pricing-button {
	display: block;
	width: 100%;
	padding: 16px;
	text-align: center;
	border-radius: 12px;
	font-weight: 600;
	font-size: 1rem;
	text-decoration: none;
	transition: all 0.3s ease;
}

.pricing-button.primary {
	background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
	color: white;
	box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
}

.pricing-button.primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(79, 70, 229, 0.4);
}

.pricing-button.secondary {
	background: white;
	color: #4f46e5;
	border: 2px solid #e5e7eb;
}

.pricing-button.secondary:hover {
	border-color: #4f46e5;
	background: rgba(79, 70, 229, 0.05);
}

.pricing-footer {
	text-align: center;
	padding-top: 20px;
}

.pricing-footer p {
	color: #64748b;
	font-size: 0.9375rem;
}

.pricing-footer a {
	color: #4f46e5;
	font-weight: 600;
	text-decoration: none;
	border-bottom: 2px solid transparent;
	transition: border-color 0.3s ease;
}

.pricing-footer a:hover {
	border-bottom-color: #4f46e5;
}

/* ========================================
   Testimonials Section
   ======================================== */

.testimonials-modern {
	padding: 100px 0;
	background: white;
}

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

.testimonial-card {
	padding: 32px;
	background: linear-gradient(135deg, #f8faff 0%, #ffffff 100%);
	border: 1px solid #f1f5f9;
	border-radius: 20px;
	transition: all 0.4s ease;
	opacity: 0;
	transform: translateY(20px);
}

.testimonial-card.animate-in {
	opacity: 1;
	transform: translateY(0);
}

.testimonial-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
	border-color: rgba(79, 70, 229, 0.2);
}

.testimonial-rating {
	display: flex;
	gap: 4px;
	margin-bottom: 20px;
	color: #fbbf24;
}

.testimonial-text {
	font-size: 1.0625rem;
	line-height: 1.7;
	color: #475569;
	margin-bottom: 24px;
	font-style: italic;
}

.testimonial-author {
	display: flex;
	align-items: center;
	gap: 16px;
	padding-top: 24px;
	border-top: 1px solid #f1f5f9;
}

.author-avatar {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	overflow: hidden;
	flex-shrink: 0;
	background: linear-gradient(135deg, #4f46e5, #7c3aed);
}

.author-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.author-name {
	font-weight: 700;
	color: #0f172a;
	font-size: 0.9375rem;
	margin-bottom: 4px;
}

.author-role {
	font-size: 0.875rem;
	color: #64748b;
}

/* ========================================
   CTA Section
   ======================================== */

.cta-modern {
	padding: 80px 0;
	background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
	position: relative;
	overflow: hidden;
}

.cta-modern::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><circle cx="30" cy="30" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>');
	opacity: 0.4;
}

.cta-content {
	position: relative;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 40px;
}

.cta-text h2 {
	font-size: 2.5rem;
	font-weight: 800;
	color: white;
	margin-bottom: 12px;
	line-height: 1.2;
}

.cta-text p {
	font-size: 1.125rem;
	color: rgba(255, 255, 255, 0.9);
	max-width: 600px;
	line-height: 1.6;
	margin: 0;
}

.cta-actions {
	display: flex;
	gap: 16px;
	flex-shrink: 0;
}

.btn-cta-primary {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 16px 32px;
	background: white;
	color: #4f46e5;
	font-weight: 600;
	font-size: 1.0625rem;
	border-radius: 12px;
	text-decoration: none;
	transition: all 0.3s ease;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.btn-cta-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-cta-secondary {
	padding: 16px 32px;
	background: transparent;
	color: white;
	font-weight: 600;
	font-size: 1.0625rem;
	border: 2px solid rgba(255, 255, 255, 0.3);
	border-radius: 12px;
	text-decoration: none;
	transition: all 0.3s ease;
}

.btn-cta-secondary:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: white;
}

/* ========================================
   Animations
   ======================================== */

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

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

@media (max-width: 1200px) {
	.hero-content {
		gap: 60px;
	}

	.hero-title {
		font-size: 3.25rem;
	}

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

@media (max-width: 992px) {
	.hero-content {
		grid-template-columns: 1fr;
		gap: 60px;
	}

	.hero-visual {
		order: -1;
	}

	.hero-title {
		font-size: 2.75rem;
	}

	.stats-grid-modern {
		grid-template-columns: repeat(2, 1fr);
		gap: 32px;
	}

	.stat-divider {
		display: none;
	}

	.steps-grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.step-arrow {
		transform: rotate(90deg);
		padding: 0;
	}

	.testimonials-grid {
		grid-template-columns: 1fr;
	}

	.cta-content {
		flex-direction: column;
		text-align: center;
	}
}

@media (max-width: 768px) {
	.hero-modern {
		padding: 80px 0 60px;
	}

	.hero-title {
		font-size: 2.25rem;
	}

	.hero-description {
		font-size: 1.0625rem;
	}

	.hero-actions {
		flex-direction: column;
	}

	.btn-primary-large,
	.btn-secondary-large {
		width: 100%;
		justify-content: center;
	}

	.section-title-modern {
		font-size: 2rem;
	}

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

	.floating-card.card-1,
	.floating-card.card-2 {
		display: none;
	}

	.cta-text h2 {
		font-size: 2rem;
	}

	.cta-actions {
		flex-direction: column;
		width: 100%;
	}

	.btn-cta-primary,
	.btn-cta-secondary {
		width: 100%;
		justify-content: center;
	}
}

@media (max-width: 576px) {
	.hero-title {
		font-size: 1.875rem;
	}

	.section-title-modern {
		font-size: 1.75rem;
	}

	.hero-trust {
		flex-direction: column;
		gap: 16px;
	}

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

	.stats-grid-modern {
		grid-template-columns: 1fr;
		gap: 24px;
	}
}
