/* Global Styles */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	overflow-y: scroll;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	background: linear-gradient(135deg, #163350 0%, #2d5575 20%, #2a5a7a 45%, #42a29e 75%, #5fcec7 100%);
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.page-wrapper {
	display: flex;
	flex-direction: column;
	flex: 1;
	align-items: center;
	justify-content: center;
	padding: 20px;
	padding-top: 100px;
	padding-bottom: 80px;
	gap: 80px;
}

/* Waitlist Section */
.waitlist-section {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 30px;
	width: 100%;
	max-width: 1400px;
	margin-top: 120px;
	margin-bottom: 40px;
}

.hero-container {
	flex: 1 1 400px;
	min-width: 300px;
	max-width: 500px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 50px;
}

.hero-container h1 {
	margin-bottom: 20px;
}

.hero-container p {
	margin-bottom: 0;
}

.preview-container {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 1 auto;
	min-width: 300px;
}

.app-preview {
	height: 480px;
	width: auto;
	border-radius: 20px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	object-fit: contain;
}

/* Container */
.container {
	background: white;
	border-radius: 20px;
	padding: 50px;
	max-width: 500px;
	width: 100%;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.waitlist-section .container {
	flex: 1 1 400px;
	min-width: 300px;
}

.container.wide {
	max-width: 800px;
}

/* Typography */
h1 {
	font-size: 2.5rem;
	margin-bottom: 10px;
	color: #333;
	text-align: center;
}

.container.wide h1 {
	text-align: left;
}

h2 {
	font-size: 1.3rem;
	color: #333;
	margin-top: 30px;
	margin-bottom: 15px;
}

.subtitle {
	color: #666;
	text-align: center;
	margin-bottom: 40px;
	font-size: 1.1rem;
}

.hero-container .subtitle {
	text-align: left;
	font-size: 1rem;
}

.last-updated {
	color: #666;
	margin-bottom: 40px;
	font-size: 0.9rem;
}

.intro {
	color: #444;
	line-height: 1.6;
	margin-bottom: 30px;
}

p, ul {
	color: #555;
	line-height: 1.8;
	margin-bottom: 15px;
}

ul {
	margin-left: 20px;
}

li {
	margin-bottom: 10px;
}

/* Navbar */
.navbar {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	z-index: 1000;
}

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

.navbar-brand {
	font-size: 1.5rem;
	font-weight: 700;
	color: #667eea;
	text-decoration: none;
	transition: color 0.3s;
	display: flex;
	align-items: center;
	line-height: 1;
}

.navbar-brand:hover {
	color: #764ba2;
}

.navbar-menu {
	display: flex;
	gap: 2rem;
	list-style: none;
	align-items: center;
	margin: 0;
}

.navbar-menu li {
	display: flex;
	align-items: center;
	margin: 0;
}

.navbar-menu a {
	color: #333;
	text-decoration: none;
	font-weight: 500;
	transition: color 0.3s;
	display: flex;
	align-items: center;
	line-height: 1;
}

.navbar-menu a:hover {
	color: #667eea;
}

.menu-toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0.5rem;
	z-index: 1001;
}

.menu-toggle span {
	display: block;
	width: 25px;
	height: 3px;
	background: #333;
	margin: 5px 0;
	transition: 0.3s;
	border-radius: 3px;
}

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

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

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

/* Links */
.back-link {
	display: inline-block;
	color: #667eea;
	text-decoration: none;
	margin-bottom: 30px;
	font-weight: 500;
	transition: color 0.3s;
}

.back-link:hover {
	color: #764ba2;
}

.footer-links {
	margin-top: 30px;
	text-align: center;
}

.container.wide .footer-links {
	margin-top: 40px;
	padding-top: 30px;
	border-top: 1px solid #e0e0e0;
}

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

.footer-links a:hover {
	color: #764ba2;
}

/* Form Styles */
form {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

input[type="email"],
input[type="text"],
select,
textarea {
	padding: 15px;
	font-size: 1rem;
	border: 2px solid #e0e0e0;
	border-radius: 10px;
	transition: border-color 0.3s;
	font-family: inherit;
}

input[type="email"]:focus,
input[type="text"]:focus,
select:focus,
textarea:focus {
	outline: none;
	border-color: #667eea;
}

select {
	cursor: pointer;
	background-color: white;
	appearance: none;
	background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
	background-repeat: no-repeat;
	background-position: right 10px center;
	background-size: 20px;
	padding-right: 40px;
}

/* GDPR Warning */
.gdpr-warning {
	padding: 12px 15px;
	background: #fef3cd;
	color: #856404;
	border: 1px solid #ffeaa7;
	border-radius: 10px;
	font-size: 0.95rem;
	font-weight: 500;
}

textarea {
	resize: vertical;
	min-height: 100px;
}

/* Contact Form */
.contact-title {
	font-size: 2rem;
	margin-bottom: 10px;
	color: #333;
	text-align: center;
}

.contact-subtitle {
	color: #666;
	text-align: center;
	margin-bottom: 30px;
	font-size: 1rem;
}

.contact-form {
	margin-top: 20px;
}

.form-group {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.form-group label {
	color: #333;
	font-weight: 500;
	font-size: 0.9rem;
}

button {
	padding: 15px;
	font-size: 1.1rem;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	border: none;
	border-radius: 10px;
	cursor: pointer;
	font-weight: 600;
	transition: transform 0.2s, box-shadow 0.2s;
}

button:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

button:active {
	transform: translateY(0);
}

button:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none;
}

/* Messages */
.message {
	padding: 15px;
	border-radius: 10px;
	text-align: center;
	font-weight: 500;
	display: none;
}

.message.success {
	background: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
}

.message.error {
	background: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
}

.message.show {
	display: block;
	animation: slideIn 0.3s ease;
}

@keyframes slideIn {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Contact Info Box */
.contact-info {
	background: #f8f9fa;
	padding: 20px;
	border-radius: 10px;
	margin-top: 30px;
}

.contact-info-box {
	text-align: center;
	padding: 30px;
	background: #f8f9fa;
	border-radius: 10px;
	margin-top: 20px;
}

.contact-info-box p {
	margin-bottom: 15px;
	color: #555;
	font-size: 1rem;
}

.contact-email-link {
	display: inline-block;
	font-size: 1.2rem;
	font-weight: 600;
	color: #667eea;
	text-decoration: none;
	transition: color 0.3s;
}

.contact-email-link:hover {
	color: #764ba2;
	text-decoration: underline;
}

/* Footer */
.site-footer {
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	padding: 2rem 0;
	margin-top: auto;
}

.footer-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 2rem;
	text-align: center;
}

.footer-nav {
	display: flex;
	justify-content: center;
	gap: 2rem;
	margin-bottom: 1rem;
	flex-wrap: wrap;
}

.footer-nav a {
	color: #333;
	text-decoration: none;
	font-size: 0.9rem;
	transition: color 0.3s;
}

.footer-nav a:hover {
	color: #667eea;
}

.footer-copyright {
	color: #666;
	font-size: 0.85rem;
}

/* Features Section */
.features {
	max-width: 1200px;
	width: 100%;
	padding: 80px 20px;
	background: white;
	border-radius: 20px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	margin: 40px auto;
	display: flex;
	justify-content: center;
}

.features .container {
	max-width: 1200px;
	background: none;
	box-shadow: none;
	padding: 0;
	width: 100%;
}

.features h2 {
	font-size: 2rem;
	text-align: center;
	margin-bottom: 60px;
	color: #333;
	margin-top: 0;
}

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

.feature-card {
	padding: 30px;
	background: #f8f9fa;
	border-radius: 15px;
	text-align: center;
	transition: transform 0.3s, box-shadow 0.3s;
	border: 1px solid #e0e0e0;
}

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

.feature-icon {
	font-size: 3rem;
	margin-bottom: 15px;
	display: block;
}

.feature-card h3 {
	font-size: 1.3rem;
	color: #333;
	margin-bottom: 12px;
	margin-top: 0;
}

.feature-card p {
	color: #666;
	font-size: 0.95rem;
	line-height: 1.6;
	margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
	.menu-toggle {
		display: block;
	}

	.navbar-menu {
		position: fixed;
		top: 0;
		right: -100%;
		width: 70%;
		max-width: 300px;
		height: 100vh;
		background: white;
		flex-direction: column;
		padding: 5rem 2rem 2rem;
		box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
		transition: right 0.3s ease;
		gap: 0;
		align-items: flex-start;
	}

	.navbar-menu li {
		width: 100%;
	}

	.navbar-menu a {
		padding: 1rem 0;
		font-size: 1.5rem;
		width: 100%;
	}

	.navbar-menu.active {
		right: 0;
	}

	.page-wrapper {
		padding-top: 80px;
	}

	.waitlist-section {
		flex-direction: column;
		gap: 20px;
		max-width: 100%;
	}

	.hero-container {
		max-width: 100%;
	}

	.container h1 {
		text-align: center;
	}

	.container .subtitle {
		text-align: center;
	}

	.preview-container {
		width: 100%;
	}

	.app-preview {
		height: 600px;
		width: auto;
		max-width: 100%;
	}

	.container {
		padding: 30px 25px;
	}

	.container.wide {
		padding: 30px 25px;
	}

	h1 {
		font-size: 2rem;
	}

	h2 {
		font-size: 1.2rem;
	}

	.footer-nav {
		flex-direction: column;
		gap: 1rem;
	}

	.features {
		padding: 50px 20px;
	}

	.features h2 {
		font-size: 1.8rem;
		margin-bottom: 40px;
	}

	.features-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.feature-card {
		padding: 25px;
	}

	.feature-icon {
		font-size: 2.5rem;
	}
}

@media (max-width: 768px) {
	.navbar-container {
		padding: 1rem 1.5rem;
	}

	.footer-container {
		padding: 0 1.5rem;
	}

	.container {
		padding: 30px;
	}

	h1 {
		font-size: 2rem;
	}

	.waitlist-section {
		flex-direction: column;
		gap: 20px;
	}

	.preview-container {
		width: 100%;
	}
}
