@import url("/assets/css/samay-font.css");
body {
	background: #f4f7fb;
	color: #172033;
	font-family: Arial, sans-serif;
	margin: 0;
}

a {
	text-decoration: none;
}

.page-container {
	margin: 0 auto;
	max-width: 1180px;
	padding-left: 18px;
	padding-right: 18px;
}

.page-header {
	background: rgba(255, 255, 255, 0.95);
	border-bottom: 1px solid #e5eaf1;
	position: sticky;
	top: 0;
	z-index: 10;
	backdrop-filter: blur(12px);
}

.page-nav {
	align-items: center;
	display: flex;
	gap: 16px;
	justify-content: space-between;
	margin: 0 auto;
	max-width: 1180px;
	padding: 14px 18px;
}

.brand img {
	width: 176px;
}

.page-nav nav {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	justify-content: flex-end;
}

.page-nav a {
	color: #475569;
	font-weight: 700;
}

.login-link {
	background: #0d6efd;
	border-radius: 8px;
	color: #fff !important;
	padding: 8px 14px;
}

.hero-section {
	background:
		linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(22, 100, 93, 0.92)),
		linear-gradient(45deg, #0f172a, #16645d);
	color: #fff;
	overflow: hidden;
	padding: 68px 0;
	position: relative;
}

.hero-section::after {
	background:
		linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
		linear-gradient(0deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
	background-size: 42px 42px;
	content: "";
	inset: 0;
	opacity: 0.24;
	position: absolute;
}

.hero-grid {
	align-items: center;
	display: grid;
	gap: 34px;
	grid-template-columns: 1.3fr 0.9fr;
	position: relative;
	z-index: 1;
}

.eyebrow {
	background: #e9fbf6;
	border: 1px solid #bdeee0;
	border-radius: 999px;
	color: #08705c;
	display: inline-flex;
	font-size: 12px;
	font-weight: 900;
	margin-bottom: 16px;
	padding: 7px 11px;
	text-transform: uppercase;
}

.hero-section h1 {
	color: #fff;
	font-size: 48px;
	font-weight: 950;
	letter-spacing: 0;
	line-height: 1.05;
	margin: 0 0 16px;
}

.hero-copy {
	color: #d6e1ea;
	font-size: 18px;
	line-height: 1.65;
	margin: 0;
	max-width: 720px;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 26px;
}

.btn-main,
.btn-light {
	border-radius: 8px;
	display: inline-flex;
	font-weight: 800;
	padding: 12px 18px;
}

.btn-main {
	background: #0d6efd;
	color: #fff;
}

.btn-light {
	background: #fff;
	color: #172033;
}

.attendance-preview {
	min-height: 320px;
	perspective: 1100px;
	position: relative;
}

.preview-card {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 28px 54px rgba(0, 0, 0, 0.28);
	color: #172033;
	inset: 16px 16px 24px 0;
	padding: 18px;
	position: absolute;
	transform: rotateY(-18deg) rotateX(8deg) rotateZ(-2deg);
	transform-style: preserve-3d;
}

.preview-card::before {
	background: #d6e2ed;
	border-radius: 8px;
	content: "";
	inset: 14px -16px -16px 16px;
	position: absolute;
	transform: translateZ(-34px);
	z-index: -1;
}

.preview-head {
	display: flex;
	gap: 8px;
	margin-bottom: 18px;
}

.preview-head span {
	background: #d9e3ee;
	border-radius: 999px;
	height: 10px;
	width: 10px;
}

.preview-row {
	align-items: center;
	background: #f8fbff;
	border: 1px solid #e5edf5;
	border-radius: 8px;
	display: flex;
	justify-content: space-between;
	margin-bottom: 11px;
	padding: 13px;
}

.preview-row span,
.preview-chip {
	background: #e9fbf6;
	border-radius: 999px;
	color: #08705c;
	font-size: 12px;
	font-weight: 900;
	padding: 5px 10px;
}

.preview-chart {
	align-items: end;
	background: #f8fbff;
	border: 1px solid #e5edf5;
	border-radius: 8px;
	display: flex;
	gap: 10px;
	height: 88px;
	margin-top: 16px;
	padding: 12px;
}

.preview-chart span {
	background: linear-gradient(180deg, #2f80ed, #08705c);
	border-radius: 6px 6px 2px 2px;
	flex: 1;
}

.preview-chart span:nth-child(1) { height: 42%; }
.preview-chart span:nth-child(2) { height: 76%; }
.preview-chart span:nth-child(3) { height: 58%; }
.preview-chart span:nth-child(4) { height: 88%; }

.preview-chip {
	background: #1f2937;
	color: #fff;
	left: 6px;
	position: absolute;
	top: 0;
	transform: rotateZ(-8deg) translateZ(80px);
}

.content-section {
	padding-bottom: 54px;
	padding-top: 54px;
}

.section-heading {
	margin: 0 auto 30px;
	max-width: 780px;
	text-align: center;
}

.section-heading h2,
.use-grid h2,
.comparison-card h2,
.faq-section h2 {
	color: #111827;
	font-size: 32px;
	font-weight: 950;
	letter-spacing: 0;
}

.section-heading p,
.use-grid p,
.comparison-card p,
.faq-grid p {
	color: #64748b;
	font-size: 16px;
	line-height: 1.65;
}

.feature-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	box-shadow: 0 14px 30px rgba(15, 23, 42, 0.07);
	padding: 22px;
}

.feature-card i {
	color: #0d6efd;
	font-size: 24px;
}

.feature-card h3,
.faq-grid h3 {
	color: #172033;
	font-size: 18px;
	font-weight: 900;
	margin: 12px 0 8px;
}

.use-section {
	background: #fff;
	border-bottom: 1px solid #e5eaf1;
	border-top: 1px solid #e5eaf1;
	padding: 46px 0;
}

.use-grid {
	align-items: start;
	display: grid;
	gap: 30px;
	grid-template-columns: 0.9fr 1.1fr;
}

.use-list {
	display: grid;
	gap: 12px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.use-list li {
	align-items: center;
	background: #f8fbff;
	border: 1px solid #e5edf5;
	border-radius: 8px;
	display: flex;
	gap: 10px;
	padding: 14px;
}

.use-list i {
	color: #198754;
}

.comparison-card {
	align-items: center;
	background: #fff;
	border: 1px solid #dce8f7;
	border-radius: 8px;
	box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
	display: flex;
	gap: 20px;
	justify-content: space-between;
	padding: 26px;
}

.faq-section {
	padding-bottom: 56px;
}

.faq-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: 22px;
}

.faq-grid div {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 20px;
}

.page-footer {
	background: #0f172a;
	color: #cbd5e1;
	padding: 42px 0;
}

.footer-grid {
	display: grid;
	gap: 28px;
	grid-template-columns: 1fr 0.8fr 0.8fr;
}

.page-footer strong,
.page-footer h4 {
	color: #fff;
}

.page-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.page-footer li {
	margin-bottom: 8px;
}

.page-footer a {
	color: #cbd5e1;
}

@media (max-width: 900px) {
	.hero-grid,
	.use-grid,
	.footer-grid {
		grid-template-columns: 1fr;
	}

	.feature-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hero-section h1 {
		font-size: 36px;
	}
}

@media (max-width: 640px) {
	.page-nav {
		align-items: flex-start;
		flex-direction: column;
	}

	.page-nav nav {
		justify-content: flex-start;
	}

	.hero-section {
		padding: 42px 0;
	}

	.attendance-preview {
		min-height: 280px;
	}

	.feature-grid,
	.faq-grid {
		grid-template-columns: 1fr;
	}

	.comparison-card {
		align-items: flex-start;
		flex-direction: column;
	}
}
