@import url("/assets/css/samay-font.css");

body {
	background: #f4f7fb;
	color: #172033;
	font-family: Arial, sans-serif;
	margin: 0;
}

a {
	text-decoration: none;
}

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

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

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

.modules-brand img {
	width: 176px;
}

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

.modules-nav a {
	color: #475569;
	font-weight: 800;
}

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

.modules-hero {
	background:
		linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(0, 112, 156, 0.9)),
		linear-gradient(45deg, #0f172a, #00709c);
	color: #fff;
	overflow: hidden;
	padding: 72px 0 54px;
	position: relative;
}

.modules-hero::after {
	background:
		linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px),
		linear-gradient(0deg, rgba(255,255,255,.08) 1px, transparent 1px);
	background-size: 44px 44px;
	content: "";
	inset: 0;
	opacity: .22;
	position: absolute;
}

.modules-hero-grid {
	align-items: center;
	display: grid;
	gap: 36px;
	grid-template-columns: 1.08fr .92fr;
	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: 950;
	margin-bottom: 16px;
	padding: 7px 11px;
	text-transform: uppercase;
}

.modules-hero 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: 760px;
}

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

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

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

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

.btn-outline {
	border: 1px solid #cbd5e1;
	color: #172033;
}

.module-screen {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 28px 58px rgba(0,0,0,.28);
	color: #172033;
	padding: 18px;
	transform: rotateY(-13deg) rotateX(7deg);
	transform-style: preserve-3d;
}

.screen-head {
	align-items: center;
	display: flex;
	justify-content: space-between;
	margin-bottom: 14px;
}

.screen-dots {
	display: flex;
	gap: 7px;
}

.screen-dots span {
	background: #d9e3ee;
	border-radius: 50%;
	height: 10px;
	width: 10px;
}

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

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

.screen-grid {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.screen-tile {
	background: #f8fbff;
	border: 1px solid #e5edf5;
	border-radius: 8px;
	padding: 14px;
}

.screen-tile strong {
	display: block;
	font-size: 22px;
}

.section {
	padding: 56px 0;
}

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

.section-heading h2 {
	color: #111827;
	font-size: 34px;
	font-weight: 950;
	letter-spacing: 0;
	margin: 0 0 10px;
}

.section-heading p,
.module-card p,
.detail-card p,
.flow-card p {
	color: #64748b;
	font-size: 16px;
	line-height: 1.65;
}

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

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

.module-card i,
.detail-card i {
	color: #0d6efd;
	font-size: 26px;
}

.module-card h3,
.detail-card h3,
.flow-card h3 {
	color: #172033;
	font-size: 20px;
	font-weight: 950;
	margin: 13px 0 8px;
}

.module-meta {
	display: grid;
	gap: 10px;
	margin-top: 16px;
}

.module-meta div {
	background: #f8fbff;
	border: 1px solid #e5edf5;
	border-radius: 8px;
	padding: 12px;
}

.module-meta strong {
	color: #111827;
	display: block;
	font-size: 13px;
	margin-bottom: 4px;
}

.plan-badge {
	background: #e9fbf6;
	border-radius: 999px;
	color: #08705c;
	display: inline-flex;
	font-size: 12px;
	font-weight: 950;
	margin-top: 12px;
	padding: 6px 10px;
}

.detail-band {
	background: #fff;
	border-bottom: 1px solid #e5eaf1;
	border-top: 1px solid #e5eaf1;
}

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

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

.flow-card {
	position: relative;
}

.flow-number {
	align-items: center;
	background: #0d6efd;
	border-radius: 8px;
	color: #fff;
	display: inline-flex;
	font-weight: 950;
	height: 34px;
	justify-content: center;
	width: 34px;
}

.final-cta {
	background: linear-gradient(135deg, #061527, #0f766e);
	border-radius: 8px;
	color: #fff;
	display: flex;
	gap: 18px;
	justify-content: space-between;
	padding: 28px;
}

.final-cta h2 {
	color: #fff;
	font-size: 30px;
	font-weight: 950;
	margin: 0 0 8px;
}

.final-cta p {
	color: rgba(255,255,255,.78);
	margin: 0;
}

@media (max-width: 950px) {
	.modules-hero-grid,
	.module-grid,
	.detail-grid,
	.flow-grid {
		grid-template-columns: 1fr 1fr;
	}

	.modules-hero-grid {
		grid-template-columns: 1fr;
	}

	.modules-hero h1 {
		font-size: 38px;
	}
}

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

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

	.module-grid,
	.detail-grid,
	.flow-grid,
	.screen-grid {
		grid-template-columns: 1fr;
	}

	.modules-hero {
		padding: 44px 0;
	}

	.modules-hero h1 {
		font-size: 32px;
	}

	.final-cta {
		flex-direction: column;
	}
}
