/* Reset and Base Styles */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

/* Prevent horizontal overflow on all elements */
* {
	max-width: 100%;
}

/* Ensure no element can cause horizontal scroll */
* {
	word-wrap: break-word;
	overflow-wrap: break-word;
}

/* Prevent specific elements from causing overflow */
img,
video,
iframe,
canvas,
svg {
	max-width: 100%;
	height: auto;
}

/* Ensure all containers respect viewport width */
.container,
.hero__container,
.features__container,
.benefits__container,
.pricing__container,
.download__container,
.footer__container {
	width: 100%;
	max-width: 100vw;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	overflow-x: hidden;
}

body {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	line-height: 1.6;
	color: #333;
	background-color: #ffffff;
	overflow-x: hidden;
	width: 100%;
	max-width: 100vw;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: 600;
	line-height: 1.2;
	margin-bottom: 1rem;
}

p {
	margin-bottom: 1rem;
}

/* Container */
.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1rem;
	width: 100%;
	box-sizing: border-box;
}

/* Navigation */
.nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	z-index: 1000;
	transition: all 0.3s ease;
}

.nav__container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 70px;
}

.nav__logo {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	text-decoration: none;
	color: #333;
}

.nav__logo-img {
	width: 32px;
	height: 32px;
}

.nav__logo-text {
	font-weight: 600;
	font-size: 1.1rem;
}

.nav__menu {
	display: flex;
	align-items: center;
	gap: 2rem;
}

.nav__link {
	text-decoration: none;
	color: #666;
	font-weight: 500;
	transition: color 0.3s ease;
}

.nav__link:hover {
	color: #39b5d5;
}

.nav__link--cta {
	background: #39b5d5;
	color: white;
	padding: 0.5rem 1rem;
	border-radius: 25px;
	transition: all 0.3s ease;
}

.nav__link--cta:hover {
	background: #2a9bb8;
	color: white;
}

.nav__toggle {
	display: none;
	flex-direction: column;
	gap: 4px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0.5rem;
}

.nav__toggle-line {
	width: 25px;
	height: 3px;
	background: #333;
	transition: all 0.3s ease;
}

/* Hero Section */
.hero {
	padding: 120px 0 80px;
	background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
	min-height: 100vh;
	display: flex;
	align-items: center;
}

.hero__container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1rem;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: center;
	width: 100%;
	box-sizing: border-box;
}

.hero__title {
	font-size: 3.5rem;
	font-weight: 700;
	line-height: 1.1;
	margin-bottom: 1.5rem;
	color: #1a202c;
}

.hero__title--highlight {
	color: #39b5d5;
	background: linear-gradient(135deg, #39b5d5, #3dc2ff);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.hero__description {
	font-size: 1.25rem;
	color: #64748b;
	margin-bottom: 2rem;
	line-height: 1.6;
}

.hero__buttons {
	display: flex;
	gap: 1rem;
	margin-bottom: 3rem;
	flex-wrap: wrap;
}

.hero__stats {
	display: flex;
	gap: 2rem;
	flex-wrap: wrap;
}

.hero__stat {
	text-align: center;
}

.hero__stat-number {
	display: block;
	font-size: 2rem;
	font-weight: 700;
	color: #39b5d5;
}

.hero__stat-label {
	font-size: 0.9rem;
	color: #64748b;
}

.hero__image {
	display: flex;
	justify-content: center;
	align-items: center;
}

.hero__img {
	max-width: 100%;
	height: auto;
	border-radius: 20px;
	box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 1.5rem;
	border-radius: 50px;
	text-decoration: none;
	font-weight: 600;
	transition: all 0.3s ease;
	border: none;
	cursor: pointer;
	font-size: 1rem;
}

.btn--primary {
	background: #39b5d5;
	color: white;
}

.btn--primary:hover {
	background: #2a9bb8;
	box-shadow: 0 10px 25px rgba(57, 181, 213, 0.3);
}

.btn--secondary {
	background: transparent;
	color: #39b5d5;
}

.btn--secondary:hover {
	background: #39b5d5;
	color: white;
}

.btn--large {
	padding: 1rem 2rem;
	font-size: 1.1rem;
}

.btn__icon {
	width: 20px;
	height: 20px;
}

/* Features Section */
.features {
	padding: 80px 0;
	background: white;
}

.features__container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1rem;
}

.features__header {
	text-align: center;
	margin-bottom: 4rem;
}

.features__title {
	font-size: 2.5rem;
	color: #1a202c;
	margin-bottom: 1rem;
}

.features__subtitle {
	font-size: 1.25rem;
	color: #64748b;
	max-width: 600px;
	margin: 0 auto;
}

.features__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
	width: 100%;
	overflow: hidden;
}

.feature-card {
	background: white;
	padding: 2rem;
	border-radius: 16px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	border: 1px solid #e2e8f0;
}

.feature-card:hover {
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.feature-card__icon {
	width: 60px;
	height: 60px;
	background: linear-gradient(135deg, #39b5d5, #3dc2ff);
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.5rem;
}

.feature-card__icon-img {
	width: 30px;
	height: 30px;
	filter: brightness(0) invert(1);
}

.feature-card__title {
	font-size: 1.25rem;
	color: #1a202c;
	margin-bottom: 1rem;
}

.feature-card__description {
	color: #64748b;
	line-height: 1.6;
}

/* Benefits Section */
.benefits {
	padding: 80px 0;
	background: #f8fafc;
}

.benefits__container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1rem;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: center;
}

.benefits__title {
	font-size: 2.5rem;
	color: #1a202c;
	margin-bottom: 1.5rem;
}

.benefits__description {
	font-size: 1.25rem;
	color: #64748b;
	margin-bottom: 2rem;
	line-height: 1.6;
}

.benefits__list {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.benefit-item {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
}

.benefit-item__icon {
	width: 24px;
	height: 24px;
	background: #39b5d5;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	margin-top: 0.25rem;
}

.benefit-item__icon-img {
	width: 12px;
	height: 12px;
	filter: brightness(0) invert(1);
}

.benefit-item__title {
	font-size: 1.1rem;
	color: #1a202c;
	margin-bottom: 0.5rem;
}

.benefit-item__description {
	color: #64748b;
	font-size: 0.95rem;
}

.benefits__image {
	display: flex;
	justify-content: center;
	align-items: center;
}

.benefits__img {
	max-width: 100%;
	height: auto;
	border-radius: 20px;
	box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

/* Pricing Section */
.pricing {
	padding: 80px 0;
	background: white;
}

.pricing__container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1rem;
}

.pricing__header {
	text-align: center;
	margin-bottom: 4rem;
}

.pricing__title {
	font-size: 2.5rem;
	color: #1a202c;
	margin-bottom: 1rem;
}

.pricing__subtitle {
	font-size: 1.25rem;
	color: #64748b;
	max-width: 600px;
	margin: 0 auto;
}

.pricing__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.5rem;
	max-width: 1200px;
	margin: 0 auto;
	width: 100%;
}

.pricing-card {
	background: white;
	border: 2px solid #e2e8f0;
	border-radius: 20px;
	padding: 2rem;
	text-align: center;
	position: relative;
}

.pricing-card--featured {
	border-color: #39b5d5;
}

.pricing-card__badge {
	position: absolute;
	top: -18px;
	left: 50%;
	background: #39b5d5;
	color: white;
	padding: 0.5rem 1rem;
	border-radius: 20px;
	font-size: 0.9rem;
	font-weight: 600;
	transform: translateX(-50%);
}

.pricing-card__title {
	font-size: 1.5rem;
	color: #1a202c;
	margin-bottom: 1rem;
}

.pricing-card__price {
	display: flex;
	align-items: baseline;
	justify-content: center;
	gap: 0.25rem;
	margin-bottom: 1rem;
}

.pricing-card__currency {
	font-size: 1.5rem;
	color: #64748b;
}

.pricing-card__amount {
	font-size: 3rem;
	font-weight: 700;
	color: #1a202c;
}

.pricing-card__period {
	font-size: 1rem;
	color: #64748b;
}

.pricing-card__savings {
	background: #f0f9ff;
	color: #39b5d5;
	padding: 0.25rem 0.75rem;
	border-radius: 12px;
	font-size: 0.9rem;
	font-weight: 600;
	display: inline-block;
	margin-bottom: 1.5rem;
}

.pricing-card__features {
	margin-bottom: 2rem;
}

.pricing-card__feature {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 1rem;
	text-align: left;
}

.pricing-card__feature-icon {
	width: 20px;
	height: 20px;
	filter: brightness(0) saturate(100%) invert(67%) sepia(69%) saturate(750%) hue-rotate(170deg) brightness(95%) contrast(88%);
}

.pricing-card__button {
	display: block;
	width: 100%;
	background: #39b5d5;
	color: white;
	padding: 1rem;
	border-radius: 12px;
	text-decoration: none;
	font-weight: 600;
}

.pricing-card__button:hover {
	background: #2a9bb8;
}

/* Download Section */
.download {
	padding: 80px 0;
	background: linear-gradient(135deg, #39b5d5 0%, #3dc2ff 100%);
	color: white;
	text-align: center;
}

.download__container {
	max-width: 800px;
	margin: 0 auto;
	padding: 0 1rem;
}

.download__title {
	font-size: 2.5rem;
	margin-bottom: 1.5rem;
}

.download__description {
	font-size: 1.25rem;
	margin-bottom: 2rem;
	opacity: 0.9;
}

.download__buttons {
	display: flex;
	gap: 1rem;
	justify-content: center;
	margin-bottom: 2rem;
	flex-wrap: wrap;
}

.download__button {
	background: white;
	color: #39b5d5;
}

.download__button:hover {
	background: #f8fafc;
	transform: translateY(-2px);
}

.download__button--disabled {
	opacity: 0.6;
	cursor: not-allowed;
	pointer-events: none;
}

.download__button--disabled:hover {
	transform: none;
	background: white;
}

.download__features {
	display: flex;
	gap: 2rem;
	justify-content: center;
	flex-wrap: wrap;
}

.download__feature {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.95rem;
}

.download__feature-icon {
	width: 16px;
	height: 16px;
	filter: brightness(0) invert(1);
}

/* Footer */
.footer {
	background: #1a202c;
	color: white;
	padding: 3rem 0 1rem;
}

.footer__container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1rem;
}

.footer__content {
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 3rem;
	margin-bottom: 2rem;
}

.footer__logo {
	width: 40px;
	height: 40px;
	margin-bottom: 1rem;
}

.footer__description {
	color: #a0aec0;
	line-height: 1.6;
}

.footer__links {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
}

.footer__column-title {
	font-size: 1.1rem;
	margin-bottom: 1rem;
	color: white;
}

.footer__link {
	display: block;
	color: #a0aec0;
	text-decoration: none;
	margin-bottom: 0.5rem;
	transition: color 0.3s ease;
}

.footer__link:hover {
	color: #39b5d5;
}

.footer__bottom {
	border-top: 1px solid #2d3748;
	padding-top: 1rem;
	text-align: center;
}

.footer__copyright {
	color: #a0aec0;
	font-size: 0.9rem;
}

/* Universal responsive grid fix */
.grid {
	display: grid;
	width: 100%;
	max-width: 100%;
	overflow: hidden;
}

/* Responsive Design */
@media (max-width: 768px) {
	.nav__menu {
		position: fixed;
		top: 70px;
		left: -100%;
		width: 100%;
		height: calc(100vh - 70px);
		background: white;
		flex-direction: column;
		justify-content: flex-start;
		align-items: center;
		padding: 2rem;
		transition: left 0.3s ease;
		box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
	}

	.nav__menu.active {
		left: 0;
	}

	.nav__toggle {
		display: flex;
	}

	.nav__toggle.active .nav__toggle-line:nth-child(1) {
		transform: rotate(45deg) translate(5px, 5px);
	}

	.nav__toggle.active .nav__toggle-line:nth-child(2) {
		opacity: 0;
	}

	.nav__toggle.active .nav__toggle-line:nth-child(3) {
		transform: rotate(-45deg) translate(7px, -6px);
	}

	.hero__container {
		grid-template-columns: 1fr;
		text-align: center;
		gap: 2rem;
	}

	.hero__title {
		font-size: 2.5rem;
	}

	.hero__buttons {
		justify-content: center;
	}

	.hero__stats {
		justify-content: center;
	}

	.benefits__container {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.benefits__title {
		font-size: 2rem;
	}

	.pricing__grid {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.features__grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.download__buttons {
		flex-direction: column;
		align-items: center;
	}

	.download__button {
		width: 100%;
		max-width: 300px;
	}

	.footer__content {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.footer__links {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}
}

@media (max-width: 480px) {
	.hero__title {
		font-size: 2rem;
	}

	.hero__description {
		font-size: 1.1rem;
	}

	.features__title,
	.benefits__title,
	.pricing__title,
	.download__title {
		font-size: 1.75rem;
	}

	.pricing-card__amount {
		font-size: 2.5rem;
	}

	.download__features {
		flex-direction: column;
		align-items: center;
	}
}

/* Specific breakpoint for 412px screens */
@media (max-width: 450px) {
	.pricing__grid {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.features__grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.hero__title {
		font-size: 1.6rem;
		line-height: 1.2;
		word-wrap: break-word;
		overflow-wrap: break-word;
	}

	.hero__description {
		font-size: 0.95rem;
		line-height: 1.4;
	}

	.hero__buttons {
		flex-direction: column;
		align-items: center;
		gap: 0.75rem;
		width: 100%;
	}

	.hero__buttons .btn {
		width: 100%;
		max-width: 280px;
		justify-content: center;
	}

	.hero__stats {
		flex-direction: column;
		gap: 1rem;
		align-items: center;
	}

	.nav__container {
		padding: 0 0.75rem;
	}

	.nav__logo-text {
		font-size: 0.9rem;
	}

	.features__title,
	.benefits__title,
	.pricing__title,
	.download__title {
		font-size: 1.4rem;
		line-height: 1.2;
	}

	.pricing-card {
		padding: 1.25rem;
	}

	.pricing-card__amount {
		font-size: 2rem;
	}

	.feature-card {
		padding: 1.25rem;
	}

	.benefit-item {
		flex-direction: column;
		text-align: center;
		gap: 0.75rem;
	}

	.benefit-item__icon {
		align-self: center;
	}

	/* Ensure all containers don't overflow */
	.hero__container,
	.features__container,
	.benefits__container,
	.pricing__container,
	.download__container,
	.footer__container {
		padding-left: 0.75rem;
		padding-right: 0.75rem;
		width: 100%;
		box-sizing: border-box;
	}
}

/* Extra small screens - prevent any overflow */
@media (max-width: 420px) {
	.hero__title {
		font-size: 1.4rem;
	}

	.hero__description {
		font-size: 0.9rem;
	}

	.features__title,
	.benefits__title,
	.pricing__title,
	.download__title {
		font-size: 1.2rem;
	}

	.hero__container,
	.features__container,
	.benefits__container,
	.pricing__container,
	.download__container,
	.footer__container {
		padding-left: 0.5rem;
		padding-right: 0.5rem;
	}

	.nav__container {
		padding: 0 0.5rem;
	}

	.pricing-card,
	.feature-card {
		padding: 1rem;
	}

	.hero__buttons .btn {
		max-width: 250px;
		font-size: 0.9rem;
		padding: 0.75rem 1rem;
	}
}

/* Animations */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.feature-card,
.benefit-item,
.pricing-card {
	animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling for anchor links */
html {
	scroll-behavior: smooth;
}

/* Focus styles for accessibility */
.btn:focus,
.nav__link:focus {
	outline: 2px solid #39b5d5;
	outline-offset: 2px;
}

/* Loading states */
.btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
	.hero__title--highlight {
		color: #000;
		background: none;
		-webkit-text-fill-color: initial;
	}
}
