/* CSS */
:root {
	--bg-main: #050819;
	--card-bg: #060b20;
	--text-main: #ffffff;
	--text-muted: #9ca3af;
	--pill-blue: #2563eb;
	--pill-indigo: #4f46e5;
	--pill-teal: #22d3ee;
	--inner-card-bg: #020617;
	--text-main: #ffffff;
	--text-muted: #9ca3af;
	--accent: #2563eb;
}


/* Section wrapper */
.analytics-section {
	padding: 40px 20px;
}

/* Main card */
.analytics-card {
	max-width: 640px;
	background: var(--card-bg);
	border-radius: 20px;
	padding: 28px 26px;
	box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6);
	border: 1px solid rgba(148, 163, 184, 0.2);
}

/* Heading + subtitle */
.analytics-title {
	margin: 0 0 8px;
	font-size: 22px;
	font-weight: 600;
}

.analytics-subtitle {
	margin: 0 0 24px;
	font-size: 14px;
	color: var(--text-muted);
	max-width: 420px;
}

/* Fake dashboard layout */
.analytics-layout {
	display: grid;
	grid-template-columns: 2fr 1.5fr;
	gap: 18px;
}

/* Columns */
.analytics-column {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

/* Generic row block */
.row {
	border-radius: 10px;
	background: linear-gradient(135deg,
			rgba(148, 163, 184, 0.16),
			rgba(15, 23, 42, 0.8));
}

/* Different sizes to mimic UI pieces */
.row-large {
	height: 100%;
}

.row-medium {
	height: 40px;
}

.row-small {
	height: 24px;
}

.inside-medium {
	height: 10px;
	background: linear-gradient(90deg, rgba(148, 163, 184, 0.16), rgba(15, 23, 42, 0.8));
	align-items: center;
	display: flex;
	justify-content: center;
	margin: 10px;
	border-radius: 4px;
}

/* Colored pills row */
.pill-row {
	display: flex;
	align-items: end;
	gap: 8px;
	background: transparent;
	justify-content: end;
}

.pill-square {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin: 10px;
	background: transparent;
	justify-content: center;
	align-items: center;
}

.pill {
	display: inline-block;
	width: 20px;
	height: 20px;
	border-radius: 4px;
}

.square-blue {
	background: var(--pill-blue);
	width: 100%;
}

.square-indigo {
	background: var(--pill-indigo);
	width: 100%;
}

.square-teal {
	background: var(--pill-teal);
	width: 100%;
}

.pill-blue {
	background: var(--pill-blue);
}

.pill-indigo {
	background: var(--pill-indigo);
}

.pill-teal {
	background: var(--pill-teal);
}



.lead-section {
	padding: 40px 20px;
}

.lead-card {
	max-width: 640px;
	width: 100%;
	background: var(--card-bg);
	border-radius: 20px;
	padding: 28px 26px 32px;
	box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6);
	border: 1px solid rgba(148, 163, 184, 0.2);
	height: 100%;
}

.lead-title {
	margin: 0 0 8px;
	font-size: 22px;
	font-weight: 600;
}

.lead-subtitle {
	margin: 0 0 24px;
	font-size: 14px;
	color: var(--text-muted);
}

/* Inner email/message card */
.message-card {
	margin-top: 8px;
	background: var(--inner-card-bg);
	border-radius: 16px;
	padding: 18px 20px 20px;
	border: 1px solid rgba(148, 163, 184, 0.3);
}

/* Header */
.message-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
	font-size: 14px;
}

.message-header-right {
	display: flex;
	gap: 14px;
	font-size: 12px;
	color: var(--text-muted);
}

.header-link {
	cursor: default;
}

/* Fields */
.field {
	display: grid;
	grid-template-columns: 64px 1fr;
	gap: 12px;
	align-items: center;
	padding: 8px 0;
	border-top: 1px solid rgba(31, 41, 55, 0.9);
	font-size: 13px;
}

.field:first-of-type {
	border-top: none;
}

.field label {
	color: var(--text-muted);
}

/* Values */
.field-value {
	color: var(--text-main);
}

/* Chips (recipient pill) */
.chips {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.chip {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	border-radius: 999px;
	background: rgba(37, 99, 235, 0.22);
	color: #e5edff;
	font-size: 12px;
}




.sol-oss {
	padding: 80px 0;
}

.oss-content {
	display: grid;
	/* grid-template-columns: 1fr 1fr; */
	gap: 60px;
	align-items: start;
	margin-bottom: 60px;
}

.oss-text h2 {
	font-size: 2.5rem;
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 20px;
	color: white;
}

.oss-text p {
	color: #e0e0e0;
	font-size: 1.1rem;
	line-height: 1.6;
	margin-bottom: 30px;
}

.product-cards {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 40px;
	margin-top: 80px;
	max-width: 100% !important;
}

.product-card {
	background: rgba(20, 20, 40, 0.6);
	border-radius: 16px;
	overflow: hidden;
	border: 2px solid rgba(97, 88, 237, 0.3);
	transition: all 0.3s ease;
	max-width: 100%;
}

.product-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 20px 50px rgba(97, 88, 237, 0.3);
	border-color: rgba(97, 88, 237, 0.6);
}

.product-card img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 14px;
	max-width: 100% !important;
}

.code-snippets {
	position: relative;
	min-height: 200px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.code-box {
	position: relative;
	width: 100%;
	height: 100px;
}

/* Code Images */
.code-img {
	position: absolute;
	width: 85%;
	max-width: 600px;
	border-radius: 12px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
	border: 2px solid rgba(97, 88, 237, 0.5);
}

/* Top code snippet */
.code-img-top {
	top: -100%;
	right: 177px;
	z-index: 0;
	width: 70%;
}

/* Bottom code snippet */
.code-img-bottom {
	bottom: -100px;
	left: 177px;
	z-index: 1;
	width: 70%;
}

@media (max-width: 1024px) {
	.code-box {
		width: 50%;
	}

	.code-img-top {
		top: -95%;
		right: 80px;
		z-index: 0;
		width: 125%;
	}

	.code-img-bottom {
		bottom: -85px;
		left: 80px;
		width: 125%;
	}

	.product-cards {
		grid-template-columns: 1fr 1fr;
		gap: 30px;
	}
}

@media (max-width: 768px) {
	.code-snippets {
		margin-top: 30px;
	}

	.code-box {
		width: 50%;
	}

	.code-img-top {
		top: -100%;
		right: 230px;
		z-index: 0;
		width: 90%;
	}

	.code-img-bottom {
		bottom: -100px;
		left: 232px;
		width: 90%;
	}

	.product-cards {
		grid-template-columns: 1fr;
		gap: 24px;
		margin-top: 50px;
	}
}

@media (max-width: 576px) {
	.code-snippets {
		margin-top: 30px;
	}

	.code-box {
		width: 50%;
	}

	.code-img {
		width: 95%;
	}

	.product-cards {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 425px) {
	.code-box {
		width: 50%;
	}

	.code-img-top {
		width: 150%;
		right: 30px;
		top: -75px;
	}

	.code-img-bottom {
		width: 150%;
		left: 30px;
	}

	.product-cards {
		margin-top: 40px;
		gap: 20px;
	}
}


/* Responsive */
@media (max-width: 640px) {
	.lead-card {
		padding: 22px 18px 26px;
	}

	.field {
		grid-template-columns: 56px 1fr;
	}
}

/* Small screens */
@media (max-width: 640px) {
	.analytics-card {
		padding: 22px 18px;
	}

	.analytics-layout {
		grid-template-columns: 1fr;
	}
}