/* ===================
   General Layout
   =================== */
body {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	margin: 0;
	padding: 0;
	background: linear-gradient(135deg, #ffffff, #d5f3f4);
	background-blend-mode: lighten;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: cover;
	color: #333333;
}

	body::before {
		content: '';
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background-image: url('noise.webp');
		opacity: 0.05;
		pointer-events: none;
		z-index: 0;
	}


/* ===================
   Global Header & Navigation
   =================== */
header {
	background-color: #ffffffcc;
	backdrop-filter: blur(6px);
	border-bottom: 1px solid #ddd;
	min-height: 64px; /* or 70px for more padding */
	
}

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

.logo {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 1.4rem;
	font-weight: bold;
	color: #1976d2;
	
}

	.logo img {
		height: 28px;
		margin-left: 8px;
		vertical-align: middle;
	}

.nav-links {
	list-style: none;
	display: flex;
	gap: 1.5rem;
	padding-left: 0;
	margin: 0;
}

	.nav-links a {
		text-decoration: none;
		color: #333;
		font-weight: 500;
	}

		.nav-links a:hover {
			color: #1976d2;
		}

.burger {
	display: none;
}

.tooltip-wrapper {
	position: relative;
	display: inline-block;
}

.tooltip-text {
	visibility: hidden;
	width: 220px;
	background-color: #333;
	color: #fff;
	text-align: center;
	border-radius: 6px;
	padding: 6px 10px;
	position: absolute;
	z-index: 1;
	bottom: 125%; /* Position above the button */
	left: 50%;
	transform: translateX(-50%);
	opacity: 0;
	transition: opacity 0.3s;
}

.tooltip-wrapper:hover .tooltip-text {
	visibility: visible;
	opacity: 1;
}

.hint-text {
	display: none;
}


/* make burger visible and style nav on mobile */
@media (max-width: 768px) {
	.burger {
		position: fixed;
		top: 20px;
		right: 20px;
		width: 40px;
		height: 30px;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		align-items: center;
		padding: 5px;
		background-color: rgba(255, 255, 255, 0.8); /* match header */
		backdrop-filter: blur(6px); /* match header */
		border: none; /* remove outline */
		box-shadow: none; /* avoid raised appearance */
		border-radius: 6px; /* optional: soften edges */
		z-index: 9999;
		cursor: pointer;
	}

		.burger span {
			display: block;
			width: 28px;
			height: 3px;
			background-color: #333; /* or use #1976d2 to match your logo text */
			border-radius: 2px;
		}

	.nav-links {
		display: none;
		flex-direction: column;
		align-items: center;
		width: 100%;
		text-align: center;
		background-color: #ffffffcc;
		padding: 1rem 0;
		position: absolute;
		top: 64px;
		left: 0;
		border-bottom: 1px solid #ccc;
		z-index: 1000;
	}

		.nav-links.show {
			display: flex;
		}
	.navbar {
		flex-direction: column;
		align-items: center;
		gap: 0.5rem;
		text-align: center;
	}

	.nav-links {
		flex-direction: column;
		gap: 0.75rem;
	}

	.cta-wrapper {
		margin-top: 1rem;
		justify-content: center;
	}

	.cta {
		width: 80%;
		max-width: 280px;
	}

	.hint-text {
		display: block;
		font-size: 0.9rem;
		color: #3c6e71;
		margin-top: 5px;
	}
	
}

/* ===================
   Main Page Layout
   =================== */
.container {
	display: flex;
	flex-direction: row;
	min-height: 100vh;
	max-width: 1200px;
	margin: auto;
}

.text-content {
	flex: 3;
	padding: 3rem 2rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

	.text-content h1 {
		font-size: 2.3rem;
		margin-bottom: 1rem;
	}

	.text-content p {
		font-size: 1.1rem;
		line-height: 1.7; /* was 1.6 — increased for better vertical spacing */
		max-width: 600px; /* NEW: prevents paragraphs from stretching too wide */
		margin-bottom: 1.5rem; /* OPTIONAL: adds more space between paragraphs */
	}

.cta-wrapper {
	display: flex;
	justify-content: center;
	align-items: center; /* NEW: vertical centering */
	margin-top: 0.5rem;

}

.cta {
	background-color: #1976d2;
	color: white;
	padding: 0.4rem 0.8rem; /* was 0.5rem 1rem — slightly reduced */
	border-radius: 4px;
	text-decoration: none;
	font-weight: bold;
	font-size: 0.95rem;
	display: inline-block;
	text-align: center;
	transition: background-color 0.2s ease; /* Optional: smooth hover */
}


	.cta:hover {
		background-color: #125ca1;
	}

.image-content {
	flex: 2;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 2rem;
}

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

	.image-content figcaption {
		text-align: center;
		font-size: 1rem;
		color: #333;
		font-style: italic;
		margin-top: 0.75rem;
		background-color: rgba(255, 255, 255, 0.6);
		padding: 0.5rem 1rem;
		border-radius: 8px;
		max-width: 90%;
	}

/* Responsive styles for screens 768px and below */


@media (max-width: 768px) {
	.container {
		flex-direction: column;
		padding: 1rem;
	}

	.text-content,
	.image-content {
		width: 100%;
		padding: 1rem 1rem;
		text-align: center;
	}

		.text-content h1 {
			font-size: 1.8rem;
		}

		.text-content p {
			font-size: 1rem;
			line-height: 1.6;
			margin-bottom: 1rem;
			max-width: 100%;
		}

		.image-content img {
			width: 90%;
			max-width: 100%;
			margin: 1rem auto 0 auto;
		}

		.image-content figcaption {
			font-size: 0.95rem;
			padding: 0.4rem 0.8rem;
			margin-top: 0.5rem;
		}

	
}


/* ===================
   Roslein Page
   =================== */
body.roslein-page .logo {
	font-size: 2rem; /* was 1.4rem */
}

body.roslein-page .nav-links a {
	font-size: 1.5rem; /* increase nav link size */
}
body.roslein-page {
	font-size: 18px;
	color: #222;
	background: conic-gradient(from 120deg, #ffe6d8, #ffffff, #ffe6d8);
	color: #333;
}
.container-roslein-main {
	max-width: auto;
	margin: 0 auto;
	padding: 0 1rem;
}


.roslein-intro {
	text-align: center;
	margin-bottom: 2rem;
	margin-top: 1rem;
}

	.roslein-intro h1 {
		font-size: 2.5rem; /* was 2rem – bigger for visibility */
		font-weight: 700; /* NEW: makes header bolder */
		margin-bottom: 1rem; /* increased spacing below */
		color: #1a237e; /* NEW: darker tone for contrast */
		letter-spacing: 0.5px; /* subtle spacing for elegance */
	}


	.roslein-intro p {
		font-size: 1.6rem;
		margin-bottom: 1rem;
	}


.gradient-text {
	font-size: 1.05rem;
	font-weight: 500;
	font-style: italic;
	text-align: center;
	margin-bottom: 0.8rem;
	color: #0078d7; /* fallback for non-supporting browsers */
	background: linear-gradient(to right, #0078d7, #00bcd4);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}
.cta-subtext {
	font-size: 1.05rem;
	font-weight: 700;
	font-style: italic;
	text-align: center;
	margin-bottom: 0rem;
	/* Gradient text styling */
	background: linear-gradient(to right, #009bb3, #0078d7);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text; /* non-webkit fallback */
	color: transparent;
}

.cta-wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 0.0rem; /* adds consistent vertical spacing between elements */
	margin-top: 0.5rem;
}

.cta {
	background: linear-gradient(to right, #00bcd4, #0078d7);
	color: white;
	border: none;
	padding: 14px 30px;
	border-radius: 30px;
	font-size: 1.1rem;
	font-weight: 600;
	box-shadow: 0 4px 12px rgba(0, 120, 215, 0.3);
	transition: all 0.3s ease;
}

	.cta:hover {
		transform: scale(1.05);
		box-shadow: 0 6px 16px rgba(0, 120, 215, 0.4);
	}
.cta-section {
	text-align: center;
	margin: 3rem auto;
	padding: 1rem;
	max-width: 600px;
}

	.cta-section h3 {
		font-size: 1.5rem;
		margin-bottom: 1rem;
		color: #222;
	}

.roslein-body {
	display: flex;
	flex-direction: row;
	align-items: center;
	padding: 0.3rem;
	justify-content: space-between;
	flex-wrap: nowrap;
	gap: 1.5rem;
}


.roslein-left {
	width: 60%;
	padding: 0 1rem;
	box-sizing: border-box;
}

.roslein-right {
	width: 40%;
	flex-direction: column;
	align-items: center;
	padding: 0.5rem;
}



.roslein-image {
	margin-top: 2rem;
	width: 100%;
	max-width: 700px; /* NEW: controls image size */
	height: auto;
	object-fit: cover;
	border-radius: 18px; /* OPTIONAL: soften image edges */
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* OPTIONAL: polish */
}

.roslein-list {
	list-style: none; /* Removes default bullets */
	padding-left: 0;
	margin: 0 0 1.5rem 0;
}

	.roslein-list li {
		margin-bottom: 1rem; /* Ensures consistent spacing */
		line-height: 1.6;
		font-size: 1.1rem;
	}
.how-it-works {
	background-color: #f7fbfc;
	padding: 0.5rem;
	margin-top: 1rem;
	border-radius: 10px;
	box-shadow: 0 0 8px rgba(0,0,0,0.05);
}

	.how-it-works h2 {
		font-size: 2.2rem;
		color: #225577;
		margin-bottom: 0.5rem;
		text-align: center;
	}

.how-it-works-content p {
	font-size: 1.1rem;
	line-height: 1.6;
	margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
	.roslein-body {
		flex-direction: column;
	}
	.roslein-image {
		max-height: 400px;
		max-width: 600px;
	}
	.roslein-left, .roslein-right {
		width: 100%;
	}
	input, button {
		margin-top: 0.6rem;
	}
}

/* ===================
   Demo Page
   =================== */

body.demo-page {
	font-family: sans-serif;
	background-image: url('demoback.webp');
	background-size: cover;
	background-position: center;
}

.demo-main {
	padding: 2rem;
	max-width: 720px;
	margin: auto;
}


form {
	display: flex;
	flex-direction: column;
	align-items: center;
}

input {
	font-size: 1.2rem;
	padding: 0.8rem 1rem;
	margin-top: 1rem;
	width: 70%;
	max-width: 400px;
	box-sizing: border-box;
	background: #f8f8f8;
	color: #333;
	border: 1px solid #ccc;
	border-radius: 12px;
}

/* Buttons styled smaller than input */
button {
	font-size: 1.1rem;
	padding: 0.7rem 1.4rem;
	margin-top: 1rem;
	width: 60%;
	max-width: 280px;
	box-sizing: border-box;
	border: none;
	border-radius: 999px;
	background: linear-gradient(to right, #009bb3, #0078d7);
	color: white;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 4px 10px rgba(0, 120, 215, 0.2);
}

	button:hover {
		transform: scale(1.03);
		box-shadow: 0 6px 14px rgba(0, 120, 215, 0.3);
	}

	button:disabled {
		background: #ccc !important;
		color: #777 !important;
		cursor: not-allowed !important;
		box-shadow: none !important;
		transform: none !important;
	}

input {
	background: #f8f8f8;
	color: #333;
	border: 1px solid #ccc;
	border-radius: 12px; /* softer input shape */
	padding: 0.8rem 1rem;
}


.demo-status {
	margin-top: 1.5rem;
	font-weight: bold;
}

.demo-banner {
	background-color: #ffeeba;
	border-left: 5px solid #f0ad4e;
	padding: 0.75rem;
	margin-bottom: 1.5rem;
	border-radius: 6px;
}

	.demo-banner.call-tip {
		background-color: #e0f7fa;
		border-left-color: #00acc1;
	}

.demo-sample-box {
	background-color: #f0f8ff;
	padding: 1rem;
	border-radius: 8px;
	font-family: monospace;
	white-space: pre-line;
}
#whatNextBtn {
	margin-top: 1rem;
}

h2, h3 {
	margin-top: 2rem;
}

/* about and contact */
/* ============================
   Contact Page
   ============================ */
body.contact-page {
	font-family: sans-serif;
	background: linear-gradient(135deg, #fefefe, #e7f3f2);
	background-blend-mode: lighten;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: cover;
	color: #333333;
}

.contact-main {
	padding: 2rem;
	max-width: 1200px;
	margin: auto;
}


.contact-wrapper {
	max-width: 700px;
	margin: auto;
	background: #ffffffee;
	padding: 2rem;
	border-radius: 12px;
	box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
}

	.contact-wrapper h1 {
		text-align: center;
		margin-bottom: 1.5rem;
	}

.contact-form {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

	.contact-form input,
	.contact-form textarea {
		padding: 0.8rem;
		font-size: 1rem;
		width: 100%;
		border: 1px solid #ccc;
		border-radius: 8px;
	}

	.contact-form textarea {
		resize: vertical;
		min-height: 120px;
	}

	.contact-form button {
		background-color: #0077cc;
		color: white;
		padding: 0.8rem;
		border: none;
		border-radius: 8px;
		cursor: pointer;
	}

		.contact-form button:hover {
			background-color: #005fa3;
		}

.contact-info {
	margin-top: 2rem;
	text-align: center;
	font-size: 0.95rem;
	color: #333;
}

/* ============================
   About Page
   ============================ */
body.about-page {
	font-family: sans-serif;
	background: linear-gradient(135deg, #ffffff, #ede6f8);
	background-blend-mode: lighten;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: cover;
	color: #333333;
	padding: 0; /* Moved padding to inner container */
}

/* Flex layout container */
.about-section {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 2rem;
	padding: 2rem;
	max-width: 1200px;
	margin: auto;
	flex-wrap: wrap; /* allows responsive wrap */
	background: #ffffffee;
	border-radius: 12px;
	box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
}

/* Text block */
.about-text {
	flex: 1 1 400px;
	min-width: 280px;
}

	.about-text h1 {
		text-align: center;
		margin-bottom: 1.5rem;
	}

	.about-text p {
		line-height: 1.6;
		margin-bottom: 1rem;
	}

/* Image block */
.about-image {
	flex: 1 1 400px;
	min-width: 280px;
	text-align: center;
}

	.about-image img {
		max-width: 100%;
		height: auto;
		border-radius: 36px;
		box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	}

/* Stack vertically on smaller screens */
@media (max-width: 768px) {
	.about-section {
		flex-direction: column;
		padding: 1.5rem;
	}
	.about-image img {
		max-width: 80%;
	}
}

/* Q&A page */

body.qanda-page {
	background-color: #eef4f8;
	font-family: sans-serif;
	
}

.qanda-main {
	max-width: 800px;
	margin: auto;
	padding: 2rem;
	background: linear-gradient(135deg,#ffffff,#f9f9f9);
	border-radius: 12px;
	box-shadow: 0 0 12px rgba(0, 0, 0, 0.05);
	margin-top: 0; /* In case margin got pushed by internal elements */
	padding-top: 2rem;
}


.qanda-wrapper h1 {
	font-size: 2rem;
	margin-bottom: 1.5rem;
	text-align: center;
}

.qanda-list {
	list-style: decimal;
	padding-left: 1.5rem;
}

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

	.qa-item h2 {
		font-size: 1.2rem;
		font-weight: bold;
		cursor: pointer;
		color: #004d66;
	}


	.qa-item p {
		font-size: 1.1rem;
		line-height: 1.6;
		color: #2c3e50; /* or #333 for a safer choice */
		font-weight: 600;
		display: none;
		transition: all 0.3s ease;
	}

		.qa-item p.visible {
			display: block;
		}
	.qa-item h2 {
		cursor: pointer;
	}


