/* Home page — MCP Integrator-led layout */
.home {
	color: #46576a;
}

.home h1,
.home h2,
.home h3 {
	letter-spacing: -0.025em;
	text-transform: none;
}

.home h2 {
	color: #162d47;
	font-size: clamp(1.7rem, 3vw, 2.3rem);
	line-height: 1.25;
	font-weight: 700;
}

.home a:focus-visible {
	outline: 3px solid #4fc3f7;
	outline-offset: 3px;
}

.home-eyebrow {
	color: #00699e;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	margin-bottom: 0.6rem;
}

.home-section {
	padding: 5rem 0;
	scroll-margin-top: 100px;
}

.home-section-alt {
	background: #f4f8fb;
}

.home-section-head {
	max-width: 760px;
	margin: 0 auto 3rem;
	text-align: center;
}

.home-section-head .lead {
	color: #46576a;
}

.home-btn {
	font-weight: 600;
	padding: 0.9rem 1.5rem;
	border-radius: 8px;
	white-space: normal;
}

.home-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

/* ---------- Hero ---------- */
.home-hero {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(circle at 85% 20%, rgba(0, 136, 204, 0.35), transparent 45%),
		radial-gradient(circle at 10% 90%, rgba(31, 157, 97, 0.25), transparent 40%),
		linear-gradient(160deg, #0f2238 0%, #163d60 100%);
	color: #d6e3ee;
	padding: 150px 0 6rem;
}

.home-hero h1 {
	color: #fff;
	font-size: clamp(2.3rem, 4.6vw, 3.6rem);
	font-weight: 800;
	line-height: 1.12;
	margin-bottom: 1.25rem;
}

.home-hero h1 .home-accent {
	background: linear-gradient(90deg, #4fc3f7, #5ee0a0);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.home-hero .lead {
	color: #d6e3ee;
	font-size: 1.2rem;
	line-height: 1.7;
	margin-bottom: 2rem;
}

.home-hero .lead strong {
	color: #fff;
}

.home-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 999px;
	color: #fff;
	font-size: 0.85rem;
	font-weight: 600;
	padding: 0.35rem 0.9rem 0.35rem 0.4rem;
	margin-bottom: 1.5rem;
}

.home-badge span {
	background: #1f9d61;
	border-radius: 999px;
	font-size: 0.7rem;
	letter-spacing: 0.08em;
	padding: 0.15rem 0.6rem;
	text-transform: uppercase;
}

.home-hero .btn-outline-light {
	border-width: 2px;
}

.home-trust {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
	list-style: none;
	padding: 0;
	margin: 1.75rem 0 0;
	font-size: 0.9rem;
}

.home-trust li {
	color: #b9cddd;
}

.home-trust i {
	color: #5ee0a0;
	margin-right: 0.4rem;
}

/* Chat mock-up */
.home-chat {
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
	color: #46576a;
	overflow: hidden;
	margin: 0;
}

.home-chat-bar {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	background: #eef3f7;
	border-bottom: 1px solid #dde6ed;
	padding: 0.7rem 1rem;
	font-size: 0.8rem;
	font-weight: 600;
	color: #5a6b7d;
}

.home-chat-bar i {
	font-size: 0.55rem;
	color: #c9d5df;
}

.home-chat-bar strong {
	margin-left: 0.5rem;
}

.home-chat-body {
	padding: 1.4rem;
}

.home-msg-user {
	background: #163d60;
	border-radius: 14px 14px 2px 14px;
	color: #fff;
	margin-left: 15%;
	padding: 0.85rem 1rem;
	font-size: 0.98rem;
	line-height: 1.55;
}

.home-tools {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin: 1rem 0;
}

.home-tools span {
	background: #eef7fc;
	border: 1px solid #cfe6f3;
	border-radius: 6px;
	color: #00699e;
	font-family: Consolas, Menlo, monospace;
	font-size: 0.75rem;
	padding: 0.2rem 0.5rem;
}

.home-tools i {
	color: #1f9d61;
	margin-right: 0.25rem;
}

.home-msg-ai {
	background: #f6f9fb;
	border: 1px solid #e1e9ef;
	border-radius: 14px 14px 14px 2px;
	margin-right: 6%;
	padding: 1rem;
	font-size: 0.92rem;
	line-height: 1.6;
}

.home-msg-ai p {
	color: #35465b;
	margin-bottom: 0.6rem;
}

.home-msg-ai ul {
	padding-left: 1.1rem;
	margin-bottom: 0.6rem;
}

.home-chat-note {
	color: #7a8a9a;
	font-size: 0.75rem;
	margin: 0.9rem 0 0;
}

/* ---------- Platform strip ---------- */
.home-platforms {
	background: #fff;
	border-bottom: 1px solid #e1e9ef;
	padding: 2rem 0;
}

.home-platforms ul {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 1rem 3rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.home-platforms li {
	color: #35465b;
	font-size: 1.15rem;
	font-weight: 600;
}

.home-platforms li i {
	font-size: 1.6rem;
	margin-right: 0.5rem;
	vertical-align: middle;
}

.home-platforms .home-platforms-label {
	color: #7a8a9a;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

/* ---------- Feature cards ---------- */
.home-card {
	height: 100%;
	background: #fff;
	border: 1px solid #dde8f0;
	border-radius: 16px;
	padding: 2rem;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 40px rgba(22, 45, 71, 0.1);
}

.home-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 12px;
	background: linear-gradient(135deg, #0088cc, #1f9d61);
	color: #fff;
	font-size: 1.3rem;
	margin-bottom: 1.2rem;
}

.home-card h3 {
	color: #162d47;
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1.4;
	margin-bottom: 0.4rem;
}

.home-card .home-quote {
	color: #00699e;
	font-style: italic;
	margin-bottom: 0.75rem;
}

.home-card p:last-child {
	margin-bottom: 0;
}

/* ---------- Why / comparison ---------- */
.home-why-list {
	list-style: none;
	padding: 0;
	margin: 1.5rem 0 0;
}

.home-why-list li {
	display: flex;
	gap: 0.9rem;
	margin-bottom: 1.1rem;
}

.home-why-list i {
	flex: 0 0 auto;
	color: #1f9d61;
	font-size: 1.1rem;
	margin-top: 0.25rem;
}

.home-why-list strong {
	color: #162d47;
}

.home-flow {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.6rem;
	background: #fff;
	border: 1px solid #dde8f0;
	border-radius: 18px;
	box-shadow: 0 18px 40px rgba(22, 45, 71, 0.08);
	padding: 2rem;
	text-align: center;
}

.home-flow-node {
	border-radius: 12px;
	padding: 1rem;
	font-weight: 600;
	color: #35465b;
	background: #f4f8fb;
}

.home-flow-node small {
	display: block;
	font-weight: 400;
	color: #7a8a9a;
}

.home-flow-node.home-flow-core {
	background: linear-gradient(135deg, #163d60, #0088cc);
	color: #fff;
}

.home-flow-node.home-flow-core small {
	color: #cfe6f3;
}

.home-flow-arrow {
	color: #0088cc;
	font-size: 1.2rem;
}

.home-flow-vendors {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.6rem;
}

.home-flow-vendors .home-flow-node {
	font-size: 0.9rem;
}

.home-flow-vendors i {
	display: block;
	font-size: 1.4rem;
	margin-bottom: 0.3rem;
	color: #163d60;
}

/* ---------- Steps ---------- */
.home-steps {
	counter-reset: step;
	list-style: none;
	padding: 0;
	margin: 0;
}

.home-step {
	position: relative;
	height: 100%;
	padding: 2rem 1.75rem 1.75rem;
	background: #fff;
	border: 1px solid #dde8f0;
	border-radius: 16px;
}

.home-step::before {
	counter-increment: step;
	content: counter(step);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #163d60;
	color: #fff;
	font-weight: 700;
	margin-bottom: 1rem;
}

.home-step h3 {
	color: #162d47;
	font-size: 1.15rem;
	font-weight: 700;
}

/* ---------- Pricing band ---------- */
.home-pricing {
	background: linear-gradient(135deg, #163d60 0%, #0088cc 100%);
	border-radius: 22px;
	color: #d6e3ee;
	padding: 3rem;
}

.home-pricing h2 {
	color: #fff;
}

.home-pricing p {
	color: #d6e3ee;
}

.home-price {
	color: #fff;
	font-size: 3.2rem;
	font-weight: 800;
	line-height: 1;
}

.home-price small {
	font-size: 1rem;
	font-weight: 500;
	color: #cfe6f3;
}

.home-pricing-list {
	list-style: none;
	padding: 0;
	margin: 1.25rem 0 0;
}

.home-pricing-list li {
	margin-bottom: 0.45rem;
}

.home-pricing-list i {
	color: #5ee0a0;
	margin-right: 0.5rem;
}

.home-pricing .btn-light {
	color: #163d60;
}

/* ---------- Other products ---------- */
.home-product {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #fff;
	border: 1px solid #dde8f0;
	border-radius: 14px;
	padding: 1.6rem;
	color: inherit;
	text-decoration: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.home-product:hover,
.home-product:focus-visible {
	border-color: #0088cc;
	box-shadow: 0 14px 30px rgba(22, 45, 71, 0.1);
	transform: translateY(-3px);
	text-decoration: none;
	color: inherit;
}

.home-product-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 10px;
	color: #fff;
	font-size: 1.3rem;
	margin-bottom: 1rem;
}

.home-product h3 {
	color: #162d47;
	font-size: 1.08rem;
	font-weight: 700;
	margin-bottom: 0.5rem;
}

.home-product p {
	font-size: 0.93rem;
	line-height: 1.6;
	flex-grow: 1;
}

.home-product-link {
	color: #00699e;
	font-weight: 600;
	font-size: 0.9rem;
}

.home-product-tag {
	display: inline-block;
	align-self: flex-start;
	background: #eef7fc;
	color: #00699e;
	border-radius: 6px;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	padding: 0.15rem 0.5rem;
	margin-bottom: 0.6rem;
	text-transform: uppercase;
}

.bg-hubspot { background: #ff7a59; }
.bg-zoho { background: #e42527; }
.bg-zoho-books { background: #089949; }
.bg-shopify { background: #5e8e3e; }
.bg-stripe { background: #635bff; }
.bg-salesforce { background: #00a1e0; }
.bg-chargebee { background: #ff3300; }

/* ---------- Closing CTA ---------- */
.home-closing {
	text-align: center;
	max-width: 760px;
	margin: 0 auto;
}

.home-closing .home-actions {
	justify-content: center;
	margin: 1.75rem 0 1rem;
}

.home-security {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem 2rem;
	list-style: none;
	padding: 0;
	margin: 2rem 0 0;
	font-size: 0.9rem;
}

.home-security i {
	color: #0088cc;
	margin-right: 0.4rem;
}

@media (max-width: 991.98px) {
	.home-hero {
		padding: 130px 0 4rem;
	}

	.home-section {
		padding: 3.5rem 0;
	}

	.home-pricing {
		padding: 2rem;
	}
}

@media (max-width: 575.98px) {
	.home-msg-user {
		margin-left: 0;
	}

	.home-msg-ai {
		margin-right: 0;
	}

	.home-card,
	.home-flow,
	.home-pricing {
		padding: 1.5rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.home-card,
	.home-product {
		transition: none;
	}

	.home-card:hover,
	.home-product:hover {
		transform: none;
	}
}
