:root {
	--primary: #4c8056;
	--primary-dark: #3a6544;
	--primary-light: #5f9c6b;
	--secondary: #e74c3c;
	--dark: #212121;
	--light: #f5f5f5;
	--gray: #757575;
	--success: #4caf50;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Changa', sans-serif;
}

body {
	background-color: #f8f9fa;
	color: var(--dark);
	line-height: 1.6;
}

.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Header y Navegación */
header {
	background-color: white;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	position: fixed;
	width: 100%;
	top: 0;
	z-index: 1000;
}

nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 0;
}

.logo {
	font-size: 28px;
	font-weight: 700;
	color: var(--primary);
	text-decoration: none;
	display: flex;
	align-items: center;
}

.logo-img {
	width: 40px;
	height: 40px;
	margin-right: 10px;
	background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-weight: bold;
}

.logo span {
	color: var(--secondary);
}

.nav-links {
	display: flex;
	list-style: none;
}

.nav-links li {
	margin-left: 30px;
}

.nav-links a {
	text-decoration: none;
	color: var(--dark);
	font-weight: 500;
	transition: color 0.3s;
	font-size: 18px;
}

.nav-links a:hover {
	color: var(--primary);
}

.btn {
	display: inline-block;
	padding: 12px 24px;
	background-color: var(--primary);
	color: white;
	border-radius: 30px;
	text-decoration: none;
	font-weight: 600;
	transition: all 0.3s;
	border: none;
	cursor: pointer;
	font-size: 18px;
}

.btn:hover {
	background-color: var(--primary-dark);
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(76, 128, 86, 0.3);
}

.btn-outline {
	background-color: transparent;
	border: 2px solid var(--primary);
	color: var(--primary);
}

.btn-outline:hover {
	background-color: var(--primary);
	color: white;
}

.btn-secondary {
	background-color: var(--secondary);
}

.btn-secondary:hover {
	background-color: #c0392b;
	box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

/* Hero Section */
.hero {
	padding: 160px 0 100px 0;
	background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
	color: white;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.hero:before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff' fill-opacity='0.1' d='M0,128L48,117.3C96,107,192,85,288,112C384,139,480,213,576,224C672,235,768,181,864,181.3C960,181,1056,235,1152,234.7C1248,235,1344,181,1392,154.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
	background-size: cover;
	background-position: bottom;
}

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

.hero h1 {
	font-size: 3.5rem;
	margin-bottom: 20px;
	line-height: 1.2;
	font-weight: 700;
}

.hero p {
	font-size: 1.4rem;
	max-width: 700px;
	margin: 0 auto 40px;
	opacity: 0.9;
}

.hero-buttons {
	display: flex;
	justify-content: center;
	gap: 20px;
}

/* Features Section */
.section {
	padding: 80px 0;
}

.section-title {
	text-align: center;
	margin-bottom: 60px;
}

.section-title h2 {
	font-size: 2.8rem;
	color: var(--dark);
	margin-bottom: 20px;
	font-weight: 700;
}

.section-title p {
	color: var(--gray);
	max-width: 700px;
	margin: 0 auto;
	font-size: 1.2rem;
}

.features {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
}

.feature-card {
	background: white;
	border-radius: 15px;
	padding: 30px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
	transition: transform 0.3s;
	border-bottom: 4px solid var(--primary);
}

.feature-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
	width: 80px;
	height: 80px;
	background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
	border-radius: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 20px;
	color: white;
	font-size: 36px;
}

.feature-card h3 {
	margin-bottom: 15px;
	font-size: 1.8rem;
	color: var(--primary-dark);
}

.feature-card p {
	font-size: 1.1rem;
}

/* How it Works */
.how-it-works {
	background-color: #f1f8ff;
}

.steps {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	margin-top: 50px;
}

.step {
	flex: 1;
	min-width: 250px;
	text-align: center;
	padding: 20px;
	position: relative;
}

.step-number {
	width: 60px;
	height: 60px;
	background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
	color: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.8rem;
	font-weight: 700;
	margin: 0 auto 20px;
}

.step h3 {
	font-size: 1.5rem;
	margin-bottom: 15px;
	color: var(--primary-dark);
}

.step:not(:last-child):after {
	content: "";
	position: absolute;
	top: 45px;
	right: 0;
	width: 50%;
	height: 3px;
}

/* Leagues Section */
.leagues {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 25px;
}

.league-card {
	background: white;
	border-radius: 15px;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
	text-align: center;
	transition: transform 0.3s;
	border-bottom: 4px solid var(--primary);
}

.league-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.league-img {
	height: 130px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(to bottom, #f5f5f5, #e0e0e0);
}

.league-img img {
	max-width: 90px;
	max-height: 90px;
}

.league-info {
	padding: 20px;
}

.league-info h3 {
	font-size: 1.4rem;
	color: var(--primary-dark);
	margin-bottom: 5px;
}

/* Testimonials */
.testimonials {
	background: linear-gradient(to bottom, #f1f8ff, #e1f5fe);
}

.testimonial-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
}

.testimonial-card {
	background: white;
	border-radius: 15px;
	padding: 30px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
	border-left: 5px solid var(--primary);
}

.testimonial-text {
	font-style: italic;
	margin-bottom: 20px;
	position: relative;
	font-size: 1.1rem;
}

.testimonial-text:before {
	content: "";
	font-size: 5rem;
	color: rgba(76, 128, 86, 0.1);
	position: absolute;
	top: -30px;
	left: -15px;
	font-family: sans-serif;
}

.testimonial-author {
	display: flex;
	align-items: center;
}

.author-img {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	overflow: hidden;
	margin-right: 15px;
	background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-weight: bold;
	font-size: 1.5rem;
}

/* CTA Section */
.cta {
	background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
	color: white;
	text-align: center;
	padding: 100px 0;
	position: relative;
	overflow: hidden;
}

.cta:before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff' fill-opacity='0.1' d='M0,128L48,117.3C96,107,192,85,288,112C384,139,480,213,576,224C672,235,768,181,864,181.3C960,181,1056,235,1152,234.7C1248,235,1344,181,1392,154.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
	background-size: cover;
	background-position: bottom;
}

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

.cta h2 {
	font-size: 3rem;
	margin-bottom: 20px;
	font-weight: 700;
}

.cta p {
	max-width: 700px;
	margin: 0 auto 40px;
	opacity: 0.9;
	font-size: 1.3rem;
}

/* Footer */
footer {
	background: linear-gradient(135deg, #2c3e50 0%, #1a2530 100%);
	color: white;
	padding: 60px 0 30px;
}

.footer-content {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 40px;
	margin-bottom: 40px;
}

.footer-column h3 {
	font-size: 1.4rem;
	margin-bottom: 20px;
	color: #fff;
	font-weight: 600;
}

.footer-links {
	list-style: none;
}

.footer-links li {
	margin-bottom: 12px;
}

.footer-links a {
	color: #bdbdbd;
	text-decoration: none;
	transition: color 0.3s;
	font-size: 1.1rem;
}

.footer-links a:hover {
	color: var(--primary-light);
}

.social-links {
	display: flex;
	gap: 15px;
}

.social-links a {
	width: 45px;
	height: 45px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	text-decoration: none;
	transition: all 0.3s;
	font-size: 1.2rem;
}

.social-links a:hover {
	transform: translateY(-3px);
	box-shadow: 0 5px 15px rgba(76, 128, 86, 0.4);
}

.footer-bottom {
	text-align: center;
	padding-top: 30px;
	border-top: 1px solid #424242;
	color: #bdbdbd;
	font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
	.hero h1 {
		font-size: 2.5rem;
	}

	.hero p {
		font-size: 1.2rem;
	}

	.hero-buttons {
		flex-direction: column;
		align-items: center;
	}

	.nav-links {
		display: none;
	}

	.step:not(:last-child):after {
		display: none;
	}

	.section-title h2 {
		font-size: 2.2rem;
	}

	.feature-card h3 {
		font-size: 1.5rem;
	}
}

/* Mobile menu */
.mobile-menu-btn {
	display: none;
	background: none;
	border: none;
	font-size: 24px;
	cursor: pointer;
	color: var(--primary);
}

@media (max-width: 768px) {
	.mobile-menu-btn {
		display: block;
	}

	.nav-links {
		position: fixed;
		top: 80px;
		left: 0;
		width: 100%;
		background: white;
		flex-direction: column;
		padding: 20px;
		box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
		transform: translateY(-100%);
		opacity: 0;
		pointer-events: none;
		transition: all 0.3s;
	}

	.nav-links.active {
		transform: translateY(0);
		opacity: 1;
		pointer-events: all;
	}

	.nav-links li {
		margin: 15px 0;
	}
}