/* Reset and Base Styles */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Cal Sans', 'Noto Sans', Arial, sans-serif;
	line-height: 1.6;
	color: #333;
	background-color: #fff;
}

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

/* Typography */
h1 {
	font-size: 3rem;
	font-weight: 700;
	margin-bottom: 1rem;
	line-height: 1.2;
}

h2 {
	font-size: 2.5rem;
	font-weight: 600;
	margin-bottom: 1rem;
	line-height: 1.3;
}

h3 {
	font-size: 1.8rem;
	font-weight: 600;
	margin-bottom: 0.8rem;
	line-height: 1.4;
}

h4 {
	font-size: 1.3rem;
	font-weight: 600;
	margin-bottom: 0.5rem;
}

p {
	margin-bottom: 1rem;
	font-size: 1.1rem;
	color: #555;
}

/* Buttons */
.btn {
	display: inline-block;
	padding: 12px 30px;
	border: none;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 600;
	font-size: 1rem;
	cursor: pointer;
	transition: all 0.3s ease;
	text-align: center;
}

.btn-primary {
	background-color: #333;
	color: white;
}

.btn-primary:hover {
	background-color: #555;
	transform: translateY(-2px);
}

.btn-secondary {
	background-color: transparent;
	color: #333;
	border: 2px solid #333;
}

.btn-secondary:hover {
	background-color: #333;
	color: white;
}

/* Header and Navigation */
.navbar {
	background-color: #fff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 1000;
}

.nav-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem 20px;
	max-width: 1200px;
	margin: 0 auto;
}

.nav-logo {
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.2rem;
	font-weight: 700;
	color: #333;
	text-decoration: none;
}

.nav-logo img {
	height: 40px;
	width: auto;
}

.nav-menu {
	display: flex;
	gap: 2rem;
}

.nav-link {
	color: #333;
	text-decoration: none;
	font-weight: 500;
	transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
	color: #666;
}

.hamburger {
	display: none;
	flex-direction: column;
	cursor: pointer;
}

.hamburger span {
	width: 25px;
	height: 3px;
	background-color: #333;
	margin: 3px 0;
	transition: 0.3s;
}

/* Main Content */
main {
	margin-top: 80px;
}

/* Sections */
section {
	padding: 4rem 0;
	opacity: 0;
	transform: translateY(50px);
	transition: all 0.8s ease;
}

.section-animate.animated {
	opacity: 1;
	transform: translateY(0);
}

.section-header {
	text-align: center;
	margin-bottom: 3rem;
}

.section-header h2 {
	margin-bottom: 1rem;
}

.section-header p {
	font-size: 1.2rem;
	max-width: 600px;
	margin: 0 auto;
}

/* Hero Section */
.hero {
	padding: 6rem 0;
	background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.hero .container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: center;
}

.hero-content h1 {
	font-size: 3.5rem;
	color: #333;
	margin-bottom: 1.5rem;
}

.hero-content p {
	font-size: 1.3rem;
	margin-bottom: 2rem;
	color: #666;
}

.hero-image img {
	width: 100%;
	height: auto;
	border-radius: 12px;
}

/* Tools Hero */
.tools-hero {
	padding: 6rem 0 4rem;
	background: linear-gradient(135deg, #f1f3f5 0%, #dee2e6 100%);
	text-align: center;
}

.tools-hero h1 {
	margin-bottom: 1.5rem;
}

.tools-hero p {
	font-size: 1.3rem;
	max-width: 700px;
	margin: 0 auto;
}

/* Content Layouts */
.content-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: center;
}

.content-with-image {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 4rem;
	align-items: center;
}

.text-content {
	line-height: 1.7;
}

.text-content h3 {
	color: #333;
	margin-bottom: 1rem;
	margin-top: 2rem;
}

.text-content h3:first-child {
	margin-top: 0;
}

.text-content p {
	margin-bottom: 1.5rem;
}

.image-content img {
	width: 100%;
	height: auto;
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Applications Grid */
.apps-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 2rem;
	margin-top: 3rem;
}

.app-card {
	background: #fff;
	padding: 2rem;
	border-radius: 12px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
	text-align: center;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.app-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.app-card img {
	width: 100%;
	height: auto;
	margin-bottom: 1.5rem;
}

.app-card h3 {
	margin-bottom: 1rem;
	color: #333;
}

.app-card p {
	color: #666;
	line-height: 1.6;
}

/* Categories Grid */
.categories-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
	margin-top: 3rem;
}

.category-card {
	background: #fff;
	padding: 2rem;
	border-radius: 12px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.category-card img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	border-radius: 8px;
	margin-bottom: 1.5rem;
}

.category-card h3 {
	margin-bottom: 1rem;
	color: #333;
}

.category-card p {
	color: #666;
	margin-bottom: 1.5rem;
}

.category-card ul {
	list-style: none;
	padding: 0;
}

.category-card li {
	padding: 0.5rem 0;
	color: #555;
	border-bottom: 1px solid #eee;
}

.category-card li:last-child {
	border-bottom: none;
}

/* Choice Content */
.choice-content {
	max-width: 800px;
	margin: 0 auto;
}

.choice-text {
	line-height: 1.7;
}

.choice-text h3 {
	color: #333;
	margin-bottom: 1rem;
	margin-top: 2rem;
}

.choice-text h3:first-child {
	margin-top: 0;
}

.choice-text p {
	margin-bottom: 1.5rem;
	color: #555;
}

/* FAQ Section */
.faq-list {
	max-width: 800px;
	margin: 0 auto;
}

.faq-item {
	border-bottom: 1px solid #eee;
	margin-bottom: 1rem;
}

.faq-question {
	width: 100%;
	padding: 1.5rem 0;
	background: none;
	border: none;
	text-align: left;
	font-size: 1.2rem;
	font-weight: 600;
	color: #333;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	transition: color 0.3s ease;
}

.faq-question:hover {
	color: #666;
}

.faq-icon {
	font-size: 1.5rem;
	transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
	transform: rotate(45deg);
}

.faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
	max-height: 200px;
	padding-bottom: 1.5rem;
}

.faq-answer p {
	color: #666;
	line-height: 1.6;
}

/* Contact Section */
.contact {
	background-color: #f8f9fa;
}

.contact-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	margin-top: 3rem;
}

.contact-info h3 {
	margin-bottom: 2rem;
	color: #333;
}

.contact-item {
	margin-bottom: 2rem;
}

.contact-item strong {
	color: #333;
	display: block;
	margin-bottom: 0.5rem;
}

.contact-item p {
	color: #666;
	margin: 0;
}

/* Contact Form */
.contact-form {
	background: white;
	padding: 2rem;
	border-radius: 12px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.form-group {
	margin-bottom: 1.5rem;
}

.form-group label {
	display: block;
	margin-bottom: 0.5rem;
	font-weight: 600;
	color: #333;
}

.form-group input,
.form-group textarea {
	width: 100%;
	padding: 12px;
	border: 2px solid #e9ecef;
	border-radius: 8px;
	font-size: 1rem;
	transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
	outline: none;
	border-color: #333;
}

.form-group textarea {
	resize: vertical;
}

/* Checkbox styling */
.checkbox-label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	cursor: pointer;
	font-size: 0.95rem;
	line-height: 1.4;
	margin-bottom: 0;
}

.checkbox-label input[type='checkbox'] {
	width: auto;
	margin: 0;
	margin-top: 2px;
}

.checkbox-label:hover {
	color: #333;
}

/* Footer */
footer {
	background-color: #333;
	color: white;
	padding: 3rem 0 1rem;
}

.footer-content {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: 3rem;
	margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
	margin-bottom: 1rem;
	color: white;
}

.footer-section p {
	color: #ccc;
}

.footer-section ul {
	list-style: none;
}

.footer-section ul li {
	margin-bottom: 0.5rem;
}

.footer-section ul li a {
	color: #ccc;
	text-decoration: none;
	transition: color 0.3s ease;
}

.footer-section ul li a:hover {
	color: white;
}

.footer-bottom {
	border-top: 1px solid #555;
	padding-top: 1rem;
	text-align: center;
}

.footer-bottom p {
	color: #ccc;
	margin: 0;
}

/* Legal Pages */
.legal-page {
	max-width: 800px;
	margin: 2rem auto;
	padding: 100px 20px;
}

.legal-page h1 {
	font-size: 1.5rem;
	margin-bottom: 1rem;
	color: #333;
}

.last-updated {
	color: #666;
	font-style: italic;
	margin-bottom: 2rem;
	border-bottom: 1px solid #eee;
	padding-bottom: 1rem;
}

.legal-page section {
	margin-bottom: 2rem;
	padding: 0;
	opacity: 1;
	transform: none;
}

.legal-page h2 {
	font-size: 1.5rem;
	margin-bottom: 1rem;
	color: #333;
	border-left: 4px solid #333;
	padding-left: 1rem;
}

.legal-page h3 {
	font-size: 1.4rem;
	margin-bottom: 0.8rem;
	margin-top: 1.5rem;
	color: #444;
}

.legal-page ul {
	margin-left: 2rem;
	margin-bottom: 1rem;
}

.legal-page li {
	margin-bottom: 0.5rem;
	color: #555;
}

.legal-page a {
	color: #333;
	text-decoration: underline;
}

.legal-page a:hover {
	color: #666;
}

/* Cookie Modal */
.modal {
	display: none;
	position: fixed;
	z-index: 2000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
}

.modal.show {
	display: flex;
	align-items: center;
	justify-content: center;
}

.modal-content {
	background-color: white;
	padding: 2rem;
	border-radius: 12px;
	max-width: 500px;
	margin: 20px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-content h3 {
	margin-bottom: 1rem;
	color: #333;
}

.modal-content p {
	margin-bottom: 1.5rem;
	color: #555;
}

.modal-buttons {
	display: flex;
	gap: 1rem;
	justify-content: flex-end;
}

/* Submission Modal */
.submission-modal {
	text-align: center;
	max-width: 400px;
}

.loading-spinner {
	width: 40px;
	height: 40px;
	border: 4px solid #f3f3f3;
	border-top: 4px solid #333;
	border-radius: 50%;
	animation: spin 1s linear infinite;
	margin: 0 auto 1rem;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

.submission-modal h3 {
	margin-bottom: 0.5rem;
	color: #333;
}

.submission-modal p {
	margin-bottom: 0;
	color: #666;
}

/* Form Success Message */
.form-success {
	background-color: #d4edda;
	color: #155724;
	padding: 1rem;
	border-radius: 8px;
	margin-bottom: 1rem;
	border: 1px solid #c3e6cb;
}

/* Responsive Design */
@media (max-width: 768px) {
	.hamburger {
		display: flex;
	}

	.nav-menu {
		position: fixed;
		left: -100%;
		top: 70px;
		flex-direction: column;
		background-color: #fff;
		width: 100%;
		text-align: center;
		transition: 0.3s;
		box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
		padding: 2rem 0;
		z-index: 999;
	}

	.nav-menu.active {
		left: 0;
	}

	.nav-menu .nav-link {
		padding: 1rem 0;
		display: block;
		font-size: 1.2rem;
		border-bottom: 1px solid #eee;
		width: 100%;
	}

	.nav-menu .nav-link:last-child {
		border-bottom: none;
	}

	.hamburger.active span:nth-child(1) {
		transform: rotate(-45deg) translate(-5px, 6px);
	}

	.hamburger.active span:nth-child(2) {
		opacity: 0;
	}

	.hamburger.active span:nth-child(3) {
		transform: rotate(45deg) translate(-5px, -6px);
	}

	.nav-container {
		padding: 1rem 15px;
	}

	h1 {
		font-size: 2.5rem;
	}

	h2 {
		font-size: 2rem;
	}

	h3 {
		font-size: 1.5rem;
	}

	.hero .container,
	.content-grid,
	.content-with-image,
	.contact-content,
	.footer-content {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.hero {
		padding: 4rem 0;
		text-align: center;
	}

	.hero-content h1 {
		font-size: 2.5rem;
	}

	.apps-grid,
	.categories-grid {
		grid-template-columns: 1fr;
	}

	.section-header h2 {
		font-size: 2rem;
	}

	.modal-buttons {
		flex-direction: column;
	}

	.btn {
		width: 100%;
		text-align: center;
	}

	.content-with-image {
		grid-template-columns: 1fr;
	}

	.choice-content,
	.faq-list {
		margin: 0;
	}
}

@media (max-width: 480px) {
	.container {
		padding: 0 15px;
	}

	h1 {
		font-size: 2rem;
	}

	h2 {
		font-size: 1.8rem;
	}

	.hero-content h1 {
		font-size: 2rem;
	}

	.nav-container {
		padding: 1rem 15px;
	}

	.modal-content {
		margin: 10px;
		padding: 1.5rem;
	}

	section {
		padding: 2rem 0;
	}
}
