/* Base */
:root {
	--bg: #ffffff;
	--text: #0f172a;
	--muted: #56607a;
	--brand: #16a34a;
	--brand-600: #15803d;
	--line: #e5e7eb;
	--card: #f8fafc;
	--soft: #f3f4f6;
	--hero-bg: #f4faf6; /* pale mint like the UI */
}
* {
	box-sizing: border-box;
}
html,
body {
	margin: 0;
	padding: 0;
}
body {
	font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, 'PingFang SC',
		'Microsoft YaHei', sans-serif;
	color: var(--text);
	background: var(--bg);
	line-height: 1.65;
}
a {
	color: inherit;
	text-decoration: none;
}
img {
	max-width: 100%;
	display: block;
}

.container {
	width: 100%;
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Header */
.site-header {
	position: sticky;
	top: 0;
	background: #fff;
	border-bottom: 1px solid var(--line);
	z-index: 20;
}
.nav {
	display: flex;
	align-items: center;
	justify-content: flex-start; /* tabs/menu stay on the left */
	gap: 24px;
	height: 64px;
}
.brand {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
}
.brand-logo {
	height: 22px;
	display: block;
}
.brand-name {
	letter-spacing: 0.2px;
}
.menu {
	display: flex;
	gap: 28px;
	margin-left: 8px;
}
.menu a {
	color: #475569;
}
.menu a.active {
	color: var(--brand);
	font-weight: 600;
}
.menu a:hover {
	color: var(--text);
}

/* Hero */

.hero {
	display: grid;
	grid-template-columns: 1.15fr 1fr;
	gap: 40px;
	align-items: center;
	padding: 56px 20px;
	background: var(--hero-bg);
	border-radius: 20px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}
.hero-text h1 {
	margin: 0 0 12px;
	font-size: 42px;
	line-height: 1.2;
}
.hero-text p {
	color: var(--muted);
	margin: 0 0 24px;
}
.btn {
	display: inline-block;
	padding: 10px 18px;
	border-radius: 8px;
	border: 1px solid var(--line);
	transition: 0.2s ease;
}
.btn.primary {
	background: var(--brand);
	border-color: var(--brand);
	color: #fff;
}
.btn.primary:hover {
	background: var(--brand-600);
}
.hero-art {
	display: flex;
}
.hero-img {
	width: 100%;
	border-radius: 12px;
	object-fit: cover;
}

/* Sections */
.section {
	padding: 64px 0;
}
.section-gray {
	padding: 64px 0;
	background: var(--soft);
}
.section-title {
	text-align: center;
	margin-bottom: 28px;
}
.section-title h2 {
	margin: 0 0 6px;
	font-size: 26px;
}
.section-title p {
	margin: 0;
	color: var(--muted);
}

/* Cards */
.cards {
	display: grid;
	gap: 18px;
}
.cards.four {
	grid-template-columns: repeat(4, 1fr);
}
.cards.three {
	grid-template-columns: repeat(3, 1fr);
}
.cards.two {
	grid-template-columns: repeat(2, 1fr);
}

.card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 14px;
	padding: 22px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	align-items: center;
	text-align: center;
}
.card h3 {
	margin: 0;
	font-size: 16px;
}
.card p {
	margin: 0;
	color: var(--muted);
}
.icon {
	width: 80px;
	height: 80px;
	border-radius: 20px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #10b981;
	background: transparent; /* use raw PNG/SVG without a plate */
}
.icon img {
	width: 60px;
	height: 60px;
	object-fit: contain;
	display: block;
}
.icon.lightning {
	color: #10b981;
}
.icon.clock {
	color: #22c55e;
}
.icon.bell {
	color: #22c55e;
}

/* Feature blocks */
.feature-card {
	display: grid;
	grid-template-columns: 320px 1fr;
	gap: 18px;
	align-items: center;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 14px;
	padding: 18px;
}
.feature-media .feat-img {
	width: 100%;
	aspect-ratio: 4/3;
	border-radius: 10px;
	object-fit: cover;
}
.feature-body h3 {
	margin: 0 0 6px;
	font-size: 18px;
}
.feature-body p {
	margin: 0;
	color: var(--muted);
}

/* Reviews */

.review {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 14px;
	padding: 18px;
	display: flex;
	gap: 14px;
	align-items: flex-start; /* avatar pinned to top-left */
}
.avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: linear-gradient(135deg, #ddd, #bbb);
	flex: 0 0 44px; /* fixed square in flex row */
	aspect-ratio: 1/1;
	overflow: hidden;
}
.avatar img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	border-radius: 50%;
}
.avatar.alt {
	background: linear-gradient(135deg, #c7d2fe, #a5b4fc);
}
.review-body h4 {
	margin: 0 0 2px;
	font-size: 15px;
}
.stars {
	color: #f59e0b;
	letter-spacing: 2px;
}
.review-body p {
	margin: 6px 0 0;
	color: var(--muted);
}

/* Footer */
.site-footer {
	background: #0b1220;
	color: #cbd5e1;
	padding: 36px 0 24px;
	margin-top: 40px;
}
.footer-grid {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr 0.8fr;
	gap: 24px;
	align-items: flex-start;
}
.footer-brand .brand {
	color: #fff;
	display: flex;
	align-items: center;
	gap: 8px;
}
.footer-brand .slogan {
	margin: 8px 0 0;
	color: #9aa4b2;
}
.footer-col h5 {
	margin: 0 0 10px;
	font-size: 14px;
	color: #e5e7eb;
}
.footer-col ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 6px;
}
.footer-col a {
	color: #cbd5e1;
}
.footer-col a:hover {
	color: #ffffff;
}
.copyright {
	border-top: 1px solid rgba(148, 163, 184, 0.18);
	margin-top: 16px;
	padding-top: 16px;
	color: #94a3b8;
	text-align: center;
	font-size: 13px;
}

.copyright .icp {
	margin-left: 10px;
	display: flex;
	justify-content: center;
}
.copyright .icp .icp-icon {
	width: 16px;
	height: 16px;
	margin-right: 8px;
	vertical-align: -3px;
}
.copyright .icp a {
	color: #94a3b8;
}
.copyright .icp a:hover {
	color: #ffffff;
}

/* Responsive */
@media (max-width: 1024px) {
	.cards.four {
		grid-template-columns: repeat(2, 1fr);
	}
	.cards.three {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 768px) {
	.hero {
		grid-template-columns: 1fr;
		gap: 24px;
		padding: 32px 20px;
	}
	.hero-text {
		text-align: center;
	}
	.hero-text h1 {
		font-size: 34px;
	}
	.cards.two {
		grid-template-columns: 1fr;
	}
	.feature-card {
		grid-template-columns: 1fr;
	}
	.footer-grid {
		grid-template-columns: 1fr;
	}
}
