:root {
	--primary: #419366;
	--primary-dark: #357c55;
	--primary-light: #4faa7a;
	--white: #ffffff;
	--light-gray: #f9f9f9;
	--gray: #e2e2e2;
	--dark-gray: #333333;
}

body {
	font-family: "Helvetica Neue", Arial, sans-serif;
	color: var(--dark-gray);
	line-height: 1.6;
}

.playfair {
	font-family: 'Playfair Display', serif;
}

.btn-primary {
	background-color: var(--primary);
	color: white;
	padding: 14px 32px;
	border-radius: 8px;
	font-weight: 600;
	transition: all 0.3s ease;
	border: 2px solid var(--primary);
	text-transform: uppercase;
	letter-spacing: 1px;
}

.btn-primary:hover {
	background-color: var(--primary-dark);
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(65, 147, 102, 0.3);
}

.btn-white {
	background-color: white;
	color: var(--primary);
	padding: 14px 32px;
	border-radius: 8px;
	font-weight: 600;
	transition: all 0.3s ease;
	border: 2px solid white;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.btn-white:hover {
	background-color: rgba(255, 255, 255, 0.9);
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.btn-outline {
	background-color: transparent;
	color: var(--primary);
	border: 2px solid var(--primary);
	padding: 14px 32px;
	border-radius: 8px;
	font-weight: 600;
	transition: all 0.3s ease;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.btn-outline:hover {
	background-color: var(--primary);
	color: white;
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(65, 147, 102, 0.3);
}

.section {
	padding: 100px 0;
}

.card {
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 15px 30px rgba(0,0,0,0.1);
	transition: all 0.3s ease;
}

.card:hover {
	transform: translateY(-10px);
	box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.divider {
	height: 4px;
	width: 60px;
	background-color: var(--primary);
	margin: 24px 0;
}

.feature-item {
	padding: 20px;
	border-radius: 12px;
	transition: all 0.3s ease;
}

.feature-item:hover {
	background-color: var(--light-gray);
	transform: translateY(-5px);
}

.price-card {
	border: 2px solid var(--gray);
	border-radius: 16px;
	padding: 40px;
	transition: all 0.3s ease;
}

.price-card:hover {
	border-color: var(--primary);
	transform: translateY(-10px);
	box-shadow: 0 20px 40px rgba(65, 147, 102, 0.2);
}

.price-card.featured {
	background-color: var(--primary);
	color: white;
	box-shadow: 0 20px 40px rgba(65, 147, 102, 0.4);
}

.price-card.featured .btn-white {
	background-color: white;
	color: var(--primary);
	border: 2px solid white;
	font-weight: 600;
	transition: all 0.3s ease;
}

.price-card.featured .btn-white:hover {
	background-color: var(--light-gray);
	color: var(--primary-dark);
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.case-study {
	border-radius: 16px;
	overflow: hidden;
	background-color: var(--light-gray);
	margin-bottom: 60px;
}

.case-study-img {
	width: 100%;
	height: auto; /* Changed from fixed height to auto */
	min-height: 400px; /* Added min-height instead */
	background-color: var(--gray);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px; /* Added padding to ensure content doesn't touch edges */
	overflow: visible; /* Changed from hidden to visible */
}

.testimonial {
	padding: 30px;
	border-radius: 12px;
	background-color: white;
	box-shadow: 0 10px 30px rgba(0,0,0,0.1);
	position: relative;
}

.testimonial:before {
	content: """;
	position: absolute;
	top: 10px;
	left: 15px;
	font-size: 80px;
	color: rgba(65, 147, 102, 0.2);
	font-family: 'Playfair Display', serif;
}

.header {
	background-color: var(--primary);
	background-image: linear-gradient(135deg, var(--primary), var(--primary-light));
	clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
	padding-bottom: 150px;
	padding-top: 100px;
}

.problem-section {
	background-color: var(--light-gray);
	clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%);
	padding: 150px 0;
}

.solution-section {
	background-color: white;
	clip-path: polygon(0 0, 100% 5%, 100% 100%, 0 95%);
	padding: 150px 0;
}

.pricing-section {
	background-color: var(--light-gray);
	padding: 100px 0;
}

.cases-section {
	background-color: white;
	padding: 100px 0;
}

.about-section {
	background-color: var(--primary);
	color: white;
	clip-path: polygon(0 5%, 100% 0, 100% 100%, 0 100%);
	padding: 150px 0 100px;
}

.cta-section {
	background-color: var(--light-gray);
	padding: 100px 0;
}

.animated-bg {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	overflow: hidden;
	z-index: 0;
}

.blob {
	position: absolute;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.05);
}

.blob-1 {
	width: 500px;
	height: 500px;
	top: -250px;
	right: -100px;
}

.blob-2 {
	width: 300px;
	height: 300px;
	bottom: -150px;
	left: 50px;
}

.telegram-icon {
	color: var(--primary);
	margin-right: 10px;
	font-size: 1.5em;
}

.check-icon {
	color: var(--primary);
	margin-right: 10px;
}

.feature-icon {
	font-size: 2em;
	color: var(--primary);
	margin-bottom: 15px;
}

.navbar {
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 1000;
	transition: background-color 0.3s ease;
}

.navbar.scrolled {
	background-color: white;
	box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.nav-link {
	color: white;
	font-weight: 500;
	padding: 0 15px;
	transition: all 0.3s ease;
}

.nav-link:hover {
	color: rgba(255,255,255,0.8);
}

.navbar.scrolled .nav-link {
	color: var(--dark-gray);
}

.navbar.scrolled .nav-link:hover {
	color: var(--primary);
}

.logo {
	font-family: 'Playfair Display', serif;
	font-weight: 700;
	font-size: 1.8rem;
	color: white;
	letter-spacing: 1px;
}

.navbar.scrolled .logo {
	color: var(--primary);
}

footer {
	background-color: var(--dark-gray);
	color: white;
	padding: 60px 0 30px;
}

.footer-link {
	color: rgba(255,255,255,0.7);
	transition: all 0.3s ease;
}

.footer-link:hover {
	color: white;
	text-decoration: underline;
}

.social-icon {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background-color: rgba(255,255,255,0.1);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
}

.social-icon:hover {
	background-color: var(--primary);
	transform: translateY(-3px);
}

.chart-container {
	background-color: white;
	border-radius: 12px;
	padding: 20px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.1);
	margin-bottom: 20px;
	width: 100%; /* Ensure chart container fills available width */
}

.chart-bars {
	height: 120px;
	display: flex;
	align-items: end;
	justify-content: space-between;
	padding: 0 10px;
	border-radius: 8px;
	background-color: var(--light-gray);
}

.chart-bar {
	width: 18%;
	border-radius: 4px 4px 0 0;
	transition: all 0.3s ease;
}

.chart-labels {
	display: flex;
	justify-content: space-between;
	margin-top: 8px;
	font-size: 0.75rem;
	color: #666;
	padding: 0 10px;
}

.telegram-btn {
	background-color: var(--primary);
	color: white;
	border: 2px solid var(--primary);
	margin-top: 2rem;
	display: inline-flex;
	align-items: center;
	padding: 14px 32px;
	border-radius: 8px;
	font-weight: 600;
	transition: all 0.3s ease;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.telegram-btn:hover {
	background-color: var(--primary-dark);
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(65, 147, 102, 0.3);
}

.case-stats-container {
	width: 100%;
	background-color: white;
	border-radius: 12px;
	padding: 24px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.case-stats-img {
	width: 100%;
	height: auto;
	max-width: 500px;
	margin: 0 auto;
	border-radius: 8px;
	overflow: hidden;
}

.about-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.case-image {
	width: 100%;
	max-width: 100%;
	height: auto;
	border-radius: 8px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Badge for popular plan */
.popular-badge {
	position: absolute;
	top: -12px;
	right: 40px;
	background-color: #FF6B35;
	color: white;
	padding: 5px 15px;
	border-radius: 20px;
	font-weight: bold;
	font-size: 0.8rem;
	text-transform: uppercase;
	box-shadow: 0 4px 10px rgba(255, 107, 53, 0.3);
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
	.header {
		padding-top: 80px;
		padding-bottom: 80px;
		clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
	}
	
	.header h1 {
		font-size: 2.5rem !important;
		line-height: 1.2 !important;
		margin-bottom: 1.5rem !important;
	}
	
	.header p {
		font-size: 1rem !important;
		margin-bottom: 2rem !important;
	}
	
	.btn-primary, .btn-outline, .btn-white, .telegram-btn {
		padding: 12px 24px;
		font-size: 0.9rem;
		width: 100%;
		text-align: center;
		display: block;
	}
	
	.section {
		padding: 60px 0;
	}
	
	.problem-section {
		padding: 80px 0;
		clip-path: polygon(0 3%, 100% 0, 100% 97%, 0 100%);
	}
	
	.solution-section {
		padding: 80px 0;
		clip-path: polygon(0 0, 100% 3%, 100% 100%, 0 97%);
	}
	
	.about-section {
		padding: 80px 0 60px;
		clip-path: polygon(0 3%, 100% 0, 100% 100%, 0 100%);
	}
	
	.navbar {
		padding: 1rem 1.5rem;
	}
	
	.logo {
		font-size: 1.5rem;
	}
	
	.nav-link {
		display: none;
	}
	
	.container {
		padding-left: 1rem;
		padding-right: 1rem;
	}
	
	.price-card {
		padding: 30px 20px;
		margin-bottom: 30px;
	}
	
	.price-card h3 {
		font-size: 1.5rem;
	}
	
	.price-card .text-4xl {
		font-size: 2rem;
	}
	
	.feature-item {
		padding: 20px 15px;
		margin-bottom: 30px;
	}
	
	.feature-item h3 {
		font-size: 1.5rem;
	}
	
	.feature-icon {
		font-size: 1.5em;
	}
	
	.case-study {
		margin-bottom: 40px;
	}
	
	.case-study-img {
		height: auto;
		min-height: 250px;
		padding: 1rem;
		overflow: hidden;
	}
	
	.case-study h3 {
		font-size: 1.8rem;
	}
	
	.case-study .text-3xl {
		font-size: 1.5rem !important;
	}
	
	.testimonial {
		padding: 20px;
		margin-top: 30px;
	}
	
	.testimonial:before {
		font-size: 60px;
		top: 5px;
		left: 10px;
	}
	
	.card {
		margin: 0 10px;
	}
	
	.divider {
		width: 40px;
		height: 3px;
		margin: 16px 0;
	}
	
	.blob-1 {
		width: 300px;
		height: 300px;
		top: -150px;
		right: -50px;
	}
	
	.blob-2 {
		width: 200px;
		height: 200px;
		bottom: -100px;
		left: -50px;
	}
	
	/* Fixed Chart Containers for Mobile */
	.chart-container {
		padding: 15px;
		margin-bottom: 15px;
		max-width: 100%;
		overflow: hidden;
	}
	
	.chart-bars {
		height: 80px;
		padding: 0 5px;
	}
	
	.chart-bar {
		width: 16%;
		min-width: 10px;
	}
	
	.chart-labels {
		font-size: 0.6rem;
		padding: 0 5px;
		overflow: hidden;
	}
	
	.chart-labels span {
		flex: 1;
		text-align: center;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}
	
	/* Fixed Case Study Metrics for Mobile */
	.case-study .grid.grid-cols-2,
	.case-study .grid.grid-cols-3 {
		grid-template-columns: repeat(1, 1fr) !important;
		gap: 1rem !important;
	}
	
	.case-study .grid.grid-cols-2 > div,
	.case-study .grid.grid-cols-3 > div {
		text-align: center;
		padding: 1rem;
		background-color: white;
		border-radius: 8px;
		margin-bottom: 0.5rem;
	}
	
	.case-study-img {
		height: auto;
		min-height: 200px;
	}
	
	.case-study-img .max-w-md {
		max-width: 100% !important;
		width: 100% !important;
	}
	
	.case-study-img > div {
		padding: 0.5rem !important;
		max-width: 100% !important;
		overflow: hidden;
	}
	
	/* Fixed Chart Display in Case Study Images */
	.case-study-img .chart-container {
		margin-bottom: 1rem;
		padding: 1rem;
	}
	
	.case-study-img .flex.items-center.justify-between {
		flex-direction: column;
		gap: 1rem;
	}
	
	.case-study-img .text-center {
		margin-bottom: 0.5rem;
	}
	
	.case-study-img .text-2xl {
		font-size: 1.5rem !important;
	}
	
	/* Ensure all case study content fits in mobile */
	.case-study .p-8,
	.case-study .lg\\:p-12 {
		padding: 1.5rem !important;
	}
	
	.case-study .mb-8 {
		margin-bottom: 1.5rem !important;
	}
	
	.case-study .mb-6 {
		margin-bottom: 1rem !important;
	}
	
	.text-4xl {
		font-size: 2rem !important;
	}
	
	.text-5xl {
		font-size: 2.5rem !important;
	}
	
	.text-6xl {
		font-size: 2.5rem !important;
	}
	
	.text-3xl {
		font-size: 1.5rem !important;
	}
	
	.text-2xl {
		font-size: 1.25rem !important;
	}
	
	.text-xl {
		font-size: 1rem !important;
	}
	
	.text-lg {
		font-size: 0.9rem !important;
	}
	
	.grid-cols-1 {
		grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
	}
	
	.md\\:grid-cols-2 {
		grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
	}
	
	.md\\:grid-cols-3 {
		grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
	}
	
	.lg\\:grid-cols-3 {
		grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
	}
	
	.grid-cols-2 {
		grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
	}
	
	.grid-cols-3 {
		grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
	}
	
	.gap-16 {
		gap: 2rem !important;
	}
	
	.gap-10 {
		gap: 1.5rem !important;
	}
	
	.gap-6 {
		gap: 1rem !important;
	}
	
	.mb-20 {
		margin-bottom: 3rem !important;
	}
	
	.mb-16 {
		margin-bottom: 2.5rem !important;
	}
	
	.mb-12 {
		margin-bottom: 2rem !important;
	}
	
	.mb-10 {
		margin-bottom: 1.5rem !important;
	}
	
	.mb-8 {
		margin-bottom: 1.5rem !important;
	}
	
	.mb-6 {
		margin-bottom: 1rem !important;
	}
	
	.p-16 {
		padding: 2rem !important;
	}
	
	.p-10 {
		padding: 1.5rem !important;
	}
	
	.p-8 {
		padding: 1.5rem !important;
	}
	
	.lg\\:p-16 {
		padding: 1.5rem !important;
	}
	
	footer {
		padding: 40px 0 20px;
	}
	
	.md\\:col-span-2 {
		grid-column: span 1 / span 1 !important;
	}
	
	.md\\:col-span-4 {
		grid-column: span 1 / span 1 !important;
	}
	
	.lg\\:col-span-5 {
		grid-column: span 1 / span 1 !important;
	}
	
	.lg\\:col-span-7 {
		grid-column: span 1 / span 1 !important;
	}
	
	.lg\\:col-span-12 {
		grid-column: span 1 / span 1 !important;
	}
	
	.order-1 {
		order: 1 !important;
	}
	
	.order-2 {
		order: 2 !important;
	}
	
	.lg\\:order-1 {
		order: 1 !important;
	}
	
	.lg\\:order-2 {
		order: 2 !important;
	}
	
	.case-stats-container {
		padding: 15px;
	}
	
	.case-image {
		max-width: 100%;
	}

	/* Mobile positioning for popular badge */
	.popular-badge {
		right: 20px;
	}
}

@media (max-width: 480px) {
	.header h1 {
		font-size: 2rem !important;
	}
	
	.text-4xl {
		font-size: 1.8rem !important;
	}
	
	.text-5xl {
		font-size: 2rem !important;
	}
	
	.text-3xl {
		font-size: 1.3rem !important;
	}
	
	.price-card {
		padding: 20px 15px;
	}
	
	.feature-item {
		padding: 15px 10px;
	}
	
	.testimonial {
		padding: 15px;
	}
	
	.btn-primary, .btn-outline, .btn-white, .telegram-btn {
		padding: 10px 20px;
		font-size: 0.8rem;
	}
	
	/* Extra small mobile fixes for case studies */
	.case-study .text-3xl {
		font-size: 1.2rem !important;
	}
	
	.case-study .text-2xl {
		font-size: 1.1rem !important;
	}
	
	.chart-labels {
		font-size: 0.5rem;
	}
	
	.case-study-img {
		height: auto;
		min-height: 150px;
	}
	
	.testimonial {
		padding: 12px;
	}
	
	.testimonial:before {
		font-size: 40px;
	}
}

/* Added specific PC fixes for case-study-img */
@media (min-width: 1024px) {
	.case-study-img {
		height: auto;
		min-height: 450px; /* Taller on PC */
		padding: 2rem; /* More padding on PC */
	}
	
	.chart-container {
		max-width: 90%; /* Prevent charts from stretching too wide */
		margin: 0 auto 20px;
	}
	
	/* Fix chart labels on desktop to ensure they don't overflow */
	.chart-labels span {
		font-size: 0.85rem;
		padding: 0 2px;
		text-align: center;
	}
	
	.telegram-btn {
		margin-top: 4rem; /* More space above telegram button on desktop */
		display: inline-flex;
	}
}