@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap");

/* --- Variables --- */
:root {
	--primary-color: #6a11cb; /* Deep Purple */
	--secondary-color: #2575fc; /* Bright Blue */
	--accent-color: #ff5f6d; /* Coral Pink */
	--light-accent-color: #ffc371; /* Light Orange */
	--text-color: #333;
	--light-text-color: #f8f9fa;
	--bg-light: #ffffff;
	--bg-alt: #f4f7fc; /* Lighter blueish gray */
	--border-color: #e0e0e0;
	--shadow-color: rgba(0, 0, 0, 0.1);
	--gradient-primary: linear-gradient(
		135deg,
		var(--primary-color),
		var(--secondary-color)
	);
	--gradient-accent: linear-gradient(
		135deg,
		var(--accent-color),
		var(--light-accent-color)
	);
}

/* --- General Styles --- */
body {
	font-family: "Poppins", sans-serif;
	margin: 0;
	padding: 0;
	line-height: 1.7;
	color: var(--text-color);
	background-color: var(--bg-light);
	overflow-x: hidden; /* Prevent horizontal scroll */
	font-weight: 400; /* Slightly increase base font weight */
}

.container {
	width: 90%;
	max-width: 1200px; /* Wider container */
	margin: 0 auto;
	padding: 40px 20px; /* More padding */
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: #1a1a1a;
	font-weight: 600;
	margin-top: 0;
}

h1 {
	font-size: 3.5em;
	line-height: 1.2;
}
h2 {
	font-size: 2.8em;
	margin-bottom: 30px;
}
h3 {
	font-size: 1.8em;
	margin-bottom: 15px;
}

p {
	margin-bottom: 1.5em;
	color: #555; /* Slightly lighter text */
}

a {
	color: var(--secondary-color);
	text-decoration: none;
	transition: color 0.3s ease;
}

a:hover {
	color: var(--primary-color);
	text-decoration: none; /* Remove underline on hover */
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

/* --- Hero Banner --- */
.hero-banner {
	background: var(--gradient-primary);
	color: var(--light-text-color);
	padding: 100px 0 80px; /* Original enhanced padding */
	text-align: center;
	position: relative;
	overflow: hidden; /* For potential pseudo-elements */
}

/* Optional: Add subtle background shapes */
.hero-banner::before {
	content: "";
	position: absolute;
	top: -50px;
	left: -50px;
	width: 200px;
	height: 200px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 50%;
	opacity: 0.5;
}
.hero-banner::after {
	content: "";
	position: absolute;
	bottom: -80px;
	right: -80px;
	width: 300px;
	height: 300px;
	background: rgba(255, 255, 255, 0.08);
	border-radius: 45%;
	transform: rotate(30deg);
	opacity: 0.7;
}

.hero-banner .container {
	position: relative; /* Ensure content is above pseudo-elements */
	z-index: 1;
}

.hero-banner h1 {
	font-size: 4em; /* Larger */
	font-weight: 700;
	margin-bottom: 20px;
	color: var(--light-text-color);
	text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.hero-banner p {
	font-size: 1.4em; /* Larger */
	margin-bottom: 40px; /* More space */
	opacity: 0.9;
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
	color: var(--light-text-color); /* Explicitly set color to white */
}

.cta-button {
	display: inline-block;
	background: var(--gradient-accent);
	color: white;
	padding: 18px 40px; /* Larger button */
	border-radius: 50px; /* Pill shape */
	font-size: 1.2em;
	font-weight: 600;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	border: none;
	cursor: pointer;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
	transform: translateY(-3px); /* Lift effect */
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
	color: white;
	text-decoration: none;
}

/* --- Content Sections --- */
.content-section {
	padding: 80px 0; /* More vertical padding */
	text-align: center;
	border-bottom: 1px solid var(--border-color); /* Subtle separator */
}
.content-section:last-of-type {
	border-bottom: none;
}

.content-section h2 {
	margin-bottom: 50px; /* More space below heading */
	position: relative;
	display: inline-block; /* Allows pseudo-element positioning */
}

/* Underline effect for headings */
.content-section h2::after {
	content: "";
	position: absolute;
	bottom: -15px; /* Space below text */
	left: 50%;
	transform: translateX(-50%);
	width: 80px; /* Width of underline */
	height: 4px; /* Thickness */
	background: var(--gradient-accent);
	border-radius: 2px;
}

.content-section.alt-bg {
	background-color: var(--bg-alt);
}

/* --- Feature Grid --- */
.feature-grid {
	display: grid;
	grid-template-columns: repeat(
		auto-fit,
		minmax(300px, 1fr)
	); /* Larger min size */
	gap: 40px; /* More gap */
	margin-top: 60px;
	text-align: left;
}

.feature-item {
	background-color: var(--bg-light);
	padding: 35px 30px; /* More padding */
	border-radius: 10px; /* More rounded */
	box-shadow: 0 5px 20px var(--shadow-color);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	border: 1px solid var(--border-color);
}

.feature-item:hover {
	transform: translateY(-8px); /* Lift more on hover */
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.feature-item h3 {
	margin-top: 20px;
	margin-bottom: 10px;
	color: var(--primary-color);
}

/* --- Image Placeholders (General) --- */
.feature-image-placeholder,
.how-it-works-image-placeholder,
.top-apps-image-placeholder,
.testimonials-image-placeholder,
.download-image-placeholder {
	background-color: #e9ecef;
	color: #6c757d;
	height: 220px; /* Taller */
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 30px; /* More space */
	border-radius: 8px;
	font-style: italic;
	font-size: 1.1em;
	border: 1px dashed #ccc; /* Dashed border */
	object-fit: cover; /* Make images/video cover the area */
	width: 100%; /* Ensure they take full width of container */
	max-width: 100%; /* Prevent exceeding container */
}

/* --- Testimonials --- */
#testimonials blockquote {
	font-size: 1.4em; /* Larger quote */
	font-style: italic;
	margin: 40px auto;
	max-width: 800px;
	color: #444;
	position: relative;
	padding: 20px;
}
#testimonials blockquote::before {
	/* Quote marks */
	content: "“";
	font-size: 4em;
	color: var(--secondary-color);
	opacity: 0.2;
	position: absolute;
	top: -10px;
	left: -20px;
}

/* --- CTA Section --- */
.cta-section {
	background: var(--gradient-accent);
	color: white;
	padding: 80px 0;
}

.cta-section h2 {
	color: white;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}
.cta-section h2::after {
	background: white; /* White underline */
}

.cta-section p {
	color: rgba(255, 255, 255, 0.9);
	font-size: 1.2em;
	margin-bottom: 30px;
}

.cta-section .cta-button {
	background: white;
	color: var(--accent-color);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-section .cta-button:hover {
	background: #eee; /* Slightly darker white */
	color: var(--accent-color);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

/* --- FAQ Section --- */
#faq .container {
	max-width: 900px; /* Wider FAQ */
	text-align: left;
}

.faq-item {
	margin-bottom: 20px; /* More space */
	border: none; /* Remove border */
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 3px 10px var(--shadow-color);
	background-color: var(--bg-light);
}

.faq-question {
	background-color: transparent; /* Use item background */
	border: none;
	padding: 20px 30px; /* More padding */
	width: 100%;
	text-align: left;
	font-size: 1.2em; /* Larger */
	font-weight: 600; /* Bolder */
	cursor: pointer;
	position: relative;
	transition: background-color 0.3s ease;
	color: var(--primary-color);
}

.faq-question:hover {
	background-color: rgba(106, 17, 203, 0.05); /* Subtle hover */
}

.faq-question::after {
}

.faq-question.active::after {
	transform: translateY(-50%) rotate(90deg); /* Rotate chevron down */
}

.faq-answer {
	padding: 0 30px; /* Match question padding */
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.4s ease-out, padding 0.4s ease-out; /* Smoother transition */
	background-color: var(--bg-light);
	border-top: 1px solid var(--border-color); /* Separator line */
}

.faq-answer p {
	margin: 20px 0; /* Padding inside answer */
	color: #444;
	font-size: 1.05em;
}

.faq-answer.active {
	padding-top: 20px;
	padding-bottom: 20px;
	max-height: 300px; /* Increase max height */
}

/* --- Footer --- */
footer {
	background-color: #2c3e50; /* Darker blue-gray */
	color: var(--light-text-color);
	padding: 40px 0; /* More padding */
	text-align: center;
	margin-top: 0; /* Remove margin if sections have bottom border */
	border-top: 5px solid var(--primary-color); /* Accent top border */
}

footer .container {
	padding: 10px 0;
}

footer p {
	margin-bottom: 15px;
	color: rgba(255, 255, 255, 0.7); /* Lighter text */
	font-size: 0.95em;
}

footer nav a {
	color: rgba(255, 255, 255, 0.8);
	margin: 0 15px; /* More spacing */
	font-weight: 400;
	transition: color 0.3s ease;
}

footer nav a:hover {
	color: #fff;
	text-decoration: none;
}

/* --- Simple Fade-in Animation --- */
.content-section,
.feature-item,
.faq-item {
	opacity: 0;
	transform: translateY(20px);
	animation: fadeInUp 0.6s ease-out forwards;
}

/* Stagger animations */
.feature-item:nth-child(1) {
	animation-delay: 0.1s;
}
.feature-item:nth-child(2) {
	animation-delay: 0.2s;
}
.feature-item:nth-child(3) {
	animation-delay: 0.3s;
}
/* Add more if needed */

.faq-item:nth-child(1) {
	animation-delay: 0.1s;
}
.faq-item:nth-child(2) {
	animation-delay: 0.2s;
}
.faq-item:nth-child(3) {
	animation-delay: 0.3s;
}
/* Add more if needed */

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

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
	h1 {
		font-size: 2.8em;
	}
	h2 {
		font-size: 2.2em;
	}
	.hero-banner {
		padding: 80px 0 60px;
	}
	.hero-banner h1 {
		font-size: 3em;
	}
	.hero-banner p {
		font-size: 1.2em;
	}
	.cta-button {
		padding: 15px 30px;
		font-size: 1.1em;
	}
	.content-section {
		padding: 60px 0;
	}
	.feature-grid {
		grid-template-columns: 1fr; /* Stack features */
	}
	.faq-question {
		font-size: 1.1em;
		padding: 18px 25px;
	}
	.faq-question::after {
		right: 25px;
	}
	.faq-answer {
		padding: 0 25px;
	}
	.faq-answer.active {
		padding-top: 15px;
		padding-bottom: 15px;
	}
	footer nav a {
		margin: 0 10px;
	}
}

@media (max-width: 480px) {
	h1 {
		font-size: 2.2em;
	}
	h2 {
		font-size: 1.8em;
	}
	.hero-banner {
		padding: 60px 0 40px;
	}
	.hero-banner h1 {
		font-size: 2.5em;
	}
	.hero-banner p {
		font-size: 1.1em;
	}
	.cta-button {
		padding: 12px 25px;
		font-size: 1em;
	}
	.container {
		padding: 30px 15px;
	}
	.content-section h2::after {
		width: 60px;
		height: 3px;
		bottom: -10px;
	}
}
