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

:root {
	--kyndl-blue: #2b87da;
	--kyndl-dark-blue: #004b96;
	--text-color: #333;
	--text-light: #fff;
	--background-light: #f8f9fa;
	--font-family:
		-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
		Arial, sans-serif;
}

body {
	font-family: var(--font-family);
	line-height: 1.6;
	color: var(--text-color);
	background: linear-gradient(
		135deg,
		var(--kyndl-blue) 0%,
		var(--kyndl-dark-blue) 100%
	);
	height: 100vh;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

@keyframes float {
	0%,
	100% {
		transform: translateY(0px) rotate(0deg);
	}
	50% {
		transform: translateY(-20px) rotate(5deg);
	}
}

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

/* Header and Navigation */
header {
	background-color: transparent;
	position: relative;
	z-index: 1000;
	flex-shrink: 0;
}

nav {
	padding: 1.5rem 2rem;
}

.logo {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	width: fit-content;
}

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

.logo-text {
	font-size: 2rem;
	font-weight: bold;
	color: var(--text-light);
	letter-spacing: 1px;
}

/* Background Shapes */
.background-shapes {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 0;
}

.shape {
	position: absolute;
	background-image: url("../assets/images/logos/logo-transparent.png");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	animation: float 6s ease-in-out infinite;
}

.shape-1 {
	width: 350px;
	height: 350px;
	top: 5%;
	left: -80px;
	opacity: 0.08;
	animation-delay: 0s;
	animation-duration: 10s;
}

.shape-2 {
	width: 220px;
	height: 220px;
	top: 55%;
	right: -40px;
	opacity: 0.08;
	animation-delay: 1.5s;
	animation-duration: 8s;
}

.shape-3 {
	width: 160px;
	height: 160px;
	bottom: 20%;
	left: 15%;
	opacity: 0.08;
	animation-delay: 2.5s;
	animation-duration: 11s;
}

.shape-4 {
	width: 280px;
	height: 280px;
	top: 30%;
	right: 10%;
	opacity: 0.05;
	animation-delay: 0.8s;
	animation-duration: 9s;
}

.shape-5 {
	width: 140px;
	height: 140px;
	bottom: 40%;
	left: -30px;
	opacity: 0.06;
	animation-delay: 3s;
	animation-duration: 12s;
}

.shape-6 {
	width: 200px;
	height: 200px;
	top: 70%;
	left: 50%;
	opacity: 0.08;
	animation-delay: 1s;
	animation-duration: 7s;
}

.shape-7 {
	width: 320px;
	height: 320px;
	bottom: 10%;
	right: 5%;
	opacity: 0.07;
	animation-delay: 2s;
	animation-duration: 13s;
}

.shape-8 {
	width: 180px;
	height: 180px;
	top: 15%;
	left: 40%;
	opacity: 0.05;
	animation-delay: 3.5s;
	animation-duration: 9.5s;
}

/* Main Landing Content */
main.landing {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	position: relative;
	z-index: 1;
	overflow: hidden;
}

.hero-content {
	text-align: center;
	max-width: 700px;
	color: var(--text-light);
	animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
	font-size: 5rem;
	font-weight: 800;
	line-height: 1.1;
	margin-bottom: 1.5rem;
	letter-spacing: -2px;
}

.tagline {
	font-size: 1.35rem;
	margin-bottom: 3rem;
	opacity: 0.95;
	font-weight: 400;
}

/* Download Buttons */
.download-buttons {
	display: flex;
	gap: 1.5rem;
	justify-content: center;
	flex-wrap: wrap;
}

.store-button {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.75rem 1.5rem;
	background-color: rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(10px);
	border: 2px solid rgba(255, 255, 255, 0.3);
	border-radius: 12px;
	color: var(--text-light);
	text-decoration: none;
	transition: all 0.3s ease;
	min-width: 180px;
}

.store-button:hover {
	background-color: rgba(255, 255, 255, 0.25);
	border-color: rgba(255, 255, 255, 0.5);
	transform: translateY(-2px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.store-button:active {
	transform: translateY(0);
}

.store-button svg {
	width: 32px;
	height: 32px;
	flex-shrink: 0;
}

.button-text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	text-align: left;
}

.button-text .small {
	font-size: 0.7rem;
	text-transform: uppercase;
	opacity: 0.9;
	font-weight: 500;
}

.button-text .large {
	font-size: 1.15rem;
	font-weight: 600;
	line-height: 1.2;
}

/* Footer */
footer {
	background-color: transparent;
	text-align: center;
	padding: 1rem;
	color: var(--text-light);
	opacity: 0.8;
	flex-shrink: 0;
}

footer p {
	margin: 0.25rem 0;
	font-size: 0.85rem;
}

.company-name {
	font-size: 0.8rem;
	opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
	nav {
		padding: 0.75rem;
	}

	.logo-img {
		height: 40px;
	}

	.logo-text {
		font-size: 1.3rem;
	}

	main.landing {
		padding: 1rem;
	}

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

	.tagline {
		font-size: 1rem;
		margin-bottom: 1.5rem;
	}

	.download-buttons {
		flex-direction: column;
		align-items: center;
		gap: 1rem;
	}

	.store-button {
		width: 100%;
		max-width: 280px;
	}

	/* Hide extra shapes on mobile, keep only 3 */
	.shape-4,
	.shape-5,
	.shape-6,
	.shape-7,
	.shape-8 {
		display: none;
	}

	/* Reposition remaining shapes evenly */
	.shape-1 {
		width: 200px;
		height: 200px;
		top: 10%;
		left: 5%;
	}

	.shape-2 {
		width: 180px;
		height: 180px;
		top: 50%;
		right: 5%;
	}

	.shape-3 {
		width: 160px;
		height: 160px;
		bottom: 5%;
		left: 5%;
	}
}

@media (max-width: 480px) {
	.hero-content h1 {
		font-size: 2.5rem;
	}

	.tagline {
		font-size: 1rem;
	}
}

/* Contact Page Styles */
main.contact-page {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 2rem 1rem;
	position: relative;
	z-index: 1;
	overflow-y: auto;
}

.contact-container {
	max-width: 1200px;
	width: 100%;
	animation: fadeInUp 1s ease-out;
}

.page-title {
	font-size: 4rem;
	font-weight: 800;
	color: var(--text-light);
	text-align: center;
	margin-bottom: 3rem;
	letter-spacing: -2px;
}

.contact-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 2rem;
	margin-bottom: 3rem;
}

.contact-card {
	background-color: rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(10px);
	border: 2px solid rgba(255, 255, 255, 0.3);
	border-radius: 16px;
	padding: 2rem;
	transition: all 0.3s ease;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.contact-card:hover {
	background-color: rgba(255, 255, 255, 0.25);
	border-color: rgba(255, 255, 255, 0.5);
	transform: translateY(-4px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact-card h2 {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--text-light);
	margin: 0;
}

.contact-card p {
	font-size: 1rem;
	color: var(--text-light);
	opacity: 0.9;
	line-height: 1.6;
	margin: 0;
	flex-grow: 1;
}

.contact-link {
	color: var(--text-light);
	text-decoration: none;
	font-weight: 600;
	font-size: 1rem;
	transition: all 0.2s ease;
	display: inline-block;
}

.contact-link:hover {
	opacity: 0.8;
	transform: translateX(4px);
}

.social-links {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
}

.social-link {
	color: var(--text-light);
	text-decoration: none;
	font-weight: 600;
	padding: 0.5rem 1rem;
	background-color: rgba(255, 255, 255, 0.1);
	border-radius: 8px;
	transition: all 0.2s ease;
}

.social-link:hover {
	background-color: rgba(255, 255, 255, 0.2);
	transform: translateY(-2px);
}

.company-info {
	background-color: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(10px);
	border: 2px solid rgba(255, 255, 255, 0.2);
	border-radius: 16px;
	padding: 2rem;
	margin-top: 2rem;
	margin-bottom: 2rem;
}

.company-info h3 {
	font-size: 1.75rem;
	font-weight: 700;
	color: var(--text-light);
	margin-bottom: 1.5rem;
}

.info-content {
	color: var(--text-light);
	line-height: 1.8;
}

.info-content p {
	margin-bottom: 1rem;
	opacity: 0.9;
}

.info-content strong {
	font-weight: 600;
}

.info-content a {
	color: var(--text-light);
	text-decoration: underline;
	opacity: 0.9;
	transition: opacity 0.2s ease;
}

.info-content a:hover {
	opacity: 1;
}

.info-note {
	font-size: 0.95rem;
	padding: 1rem;
	background-color: rgba(255, 255, 255, 0.1);
	border-radius: 8px;
	margin: 1.5rem 0;
}

.info-links {
	font-size: 0.9rem;
	opacity: 0.8;
}

/* contact Page Responsive Design */
@media (max-width: 768px) {
	main.contact-page {
		padding: 1.5rem 1rem;
	}

	.page-title {
		font-size: 2.5rem;
		margin-bottom: 2rem;
	}

	.contact-grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.contact-card {
		padding: 1.5rem;
	}

	.contact-card h2 {
		font-size: 1.25rem;
	}

	.company-info {
		padding: 1.5rem;
	}

	.company-info h3 {
		font-size: 1.5rem;
	}
}

@media (max-width: 480px) {
	.page-title {
		font-size: 2rem;
	}

	.contact-card {
		padding: 1.25rem;
	}
}
