/* Frontend layout styles for pages generated by AI Page Builder. */
.apb-generated-layout .apb-page,
.apb-page {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', Arial, sans-serif;
	color: #0f172a;
	line-height: 1.6;
	background: #f8fafc;
}

.apb-page {
	padding: 0;
}

.apb-page section,
.apb-page footer {
	padding: 72px 20px;
}

.apb-page .apb-container {
	max-width: 1120px;
	margin: 0 auto;
}

.apb-hero {
	background: linear-gradient(120deg, #0f172a 0%, #1e293b 50%, #334155 100%);
	color: #ffffff;
	text-align: center;
}

.apb-hero h1 {
	font-size: clamp(2rem, 4vw, 3.25rem);
	line-height: 1.1;
	margin: 0 0 16px;
}

.apb-hero p {
	max-width: 760px;
	margin: 0 auto 28px;
	font-size: clamp(1rem, 2.1vw, 1.2rem);
	opacity: 0.95;
}

.apb-button {
	display: inline-block;
	padding: 12px 24px;
	border-radius: 999px;
	background: #2563eb;
	color: #ffffff;
	text-decoration: none;
	font-weight: 600;
	transition: background 0.2s ease;
}

.apb-button:hover,
.apb-button:focus {
	background: #1d4ed8;
	color: #ffffff;
}

.apb-features {
	background: #ffffff;
}

.apb-features h2 {
	text-align: center;
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	margin-bottom: 34px;
}

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

.apb-feature-grid article,
.apb-feature-grid .apb-feature-card {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	padding: 24px;
}

.apb-feature-grid h3 {
	margin-top: 0;
	margin-bottom: 8px;
	font-size: 1.2rem;
}

.apb-feature-grid p {
	margin: 0;
	color: #334155;
}

.apb-cta {
	background: #0f172a;
	color: #ffffff;
	text-align: center;
}

.apb-cta h2 {
	font-size: clamp(1.7rem, 3.1vw, 2.4rem);
	margin-top: 0;
	margin-bottom: 14px;
}

.apb-cta p {
	max-width: 760px;
	margin: 0 auto 24px;
	opacity: 0.92;
}

.apb-footer {
	background: #020617;
	color: #cbd5e1;
	text-align: center;
	padding-top: 34px;
	padding-bottom: 34px;
}

.apb-footer p {
	margin: 0;
	font-size: 0.95rem;
}

@media (min-width: 780px) {
	.apb-feature-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}
