/**
 * PollectGRI Institutional Brand Design System
 * Engineered by GRICOSIG SMC LTD
 */

:root {
	--pg-primary: #2563eb;
	--pg-primary-hover: #1d4ed8;
	--pg-navy: #0f172a;
	--pg-slate: #1e293b;
	--pg-slate-light: #334155;
	--pg-surface: #f8fafc;
	--pg-surface-card: #ffffff;
	--pg-border: #e2e8f0;
	--pg-border-dark: #334155;
	--pg-text-main: #0f172a;
	--pg-text-muted: #64748b;
	--pg-text-light: #f8fafc;
	--pg-text-slate: #94a3b8;
	--pg-cyan: #38bdf8;
	--pg-green: #10b981;
	--pg-radius: 8px;
	--pg-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Base resets & layout */
html, body.pg-standalone-app {
	margin: 0 !important;
	padding: 0 !important;
	width: 100%;
	min-height: 100%;
	background: #ffffff;
	font-family: var(--pg-font);
	-webkit-font-smoothing: antialiased;
}

.pg-landing-wrapper,
.pg-intake-wrapper {
	font-family: var(--pg-font);
	color: var(--pg-text-main);
	line-height: 1.5;
	background: #ffffff;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

/* Navigation */
.pg-nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem 2.5rem;
	background: #ffffff;
	border-bottom: 1px solid var(--pg-border);
	position: sticky;
	top: 0;
	z-index: 100;
}

.pg-nav-brand {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	text-decoration: none;
}

.pg-nav-logo {
	width: 38px;
	height: 38px;
	background: var(--pg-navy);
	color: #ffffff;
	border-radius: var(--pg-radius);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 1.15rem;
}

.pg-nav-titles {
	display: flex;
	flex-direction: column;
}

.pg-nav-title {
	font-size: 1.25rem;
	font-weight: 800;
	color: var(--pg-navy);
	letter-spacing: -0.02em;
	line-height: 1.2;
}

.pg-nav-subtitle {
	font-size: 0.72rem;
	color: var(--pg-text-muted);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.pg-nav-actions {
	display: flex;
	align-items: center;
	gap: 1.5rem;
}

.pg-nav-link {
	color: var(--pg-slate);
	font-size: 0.9rem;
	font-weight: 500;
	text-decoration: none;
	transition: color 0.15s ease;
}

.pg-nav-link:hover {
	color: var(--pg-primary);
	text-decoration: none;
}

/* Buttons */
.pg-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.6rem 1.25rem;
	font-size: 0.9rem;
	font-weight: 600;
	border-radius: var(--pg-radius);
	text-decoration: none;
	cursor: pointer;
	border: 1px solid transparent;
	transition: all 0.15s ease;
}

.pg-button:hover {
	text-decoration: none;
}

.pg-button-primary {
	background: var(--pg-primary);
	color: #ffffff !important;
}

.pg-button-primary:hover {
	background: var(--pg-primary-hover);
	box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.pg-button-secondary {
	background: var(--pg-surface);
	color: var(--pg-navy) !important;
	border-color: var(--pg-border);
}

.pg-button-secondary:hover {
	background: #e2e8f0;
}

.pg-button-lg {
	padding: 0.85rem 1.75rem;
	font-size: 1rem;
	border-radius: 8px;
}

/* Hero */
.pg-hero {
	padding: 5rem 2rem 3.5rem;
	text-align: center;
	background: radial-gradient(circle at 50% 20%, #eff6ff 0%, #ffffff 85%);
	border-bottom: 1px solid var(--pg-border);
}

.pg-hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: #dbeafe;
	color: #1e40af;
	padding: 0.35rem 0.95rem;
	border-radius: 20px;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	margin-bottom: 1.5rem;
}

.pg-badge-dot {
	width: 8px;
	height: 8px;
	background: var(--pg-primary);
	border-radius: 50%;
}

.pg-hero-title {
	font-size: 3.25rem;
	font-weight: 800;
	color: var(--pg-navy);
	line-height: 1.1;
	letter-spacing: -0.03em;
	margin: 0 auto 1.25rem;
	max-width: 850px;
}

.pg-hero-subtitle {
	font-size: 1.2rem;
	color: var(--pg-text-muted);
	max-width: 680px;
	margin: 0 auto 2.25rem;
	line-height: 1.6;
}

.pg-hero-actions {
	display: flex;
	justify-content: center;
	gap: 1rem;
	flex-wrap: wrap;
}

.pg-hero-trust {
	margin-top: 3.5rem;
	padding-top: 2rem;
	border-top: 1px solid var(--pg-border);
	display: flex;
	justify-content: center;
	gap: 2.5rem;
	flex-wrap: wrap;
}

.pg-trust-item {
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--pg-text-muted);
}

/* Sections */
.pg-section {
	padding: 4.5rem 2rem;
	max-width: 1140px;
	margin: 0 auto;
}

.pg-section-dark {
	max-width: 100%;
	background: var(--pg-navy);
	color: var(--pg-text-light);
}

.pg-section-header {
	text-align: center;
	margin-bottom: 3rem;
}

.pg-section-kicker {
	font-size: 0.75rem;
	font-weight: 700;
	color: var(--pg-primary);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.pg-kicker-cyan {
	color: var(--pg-cyan);
}

.pg-section-title {
	font-size: 2.2rem;
	font-weight: 800;
	color: var(--pg-navy);
	letter-spacing: -0.02em;
	margin-top: 0.5rem;
	line-height: 1.2;
}

.pg-title-light {
	color: #ffffff;
}

.pg-section-description {
	font-size: 1.05rem;
	color: var(--pg-text-muted);
	max-width: 650px;
	margin: 0.75rem auto 0;
	line-height: 1.6;
}

.pg-desc-light {
	color: var(--pg-text-slate);
}

/* 3 Core Pillars */
.pg-grid-three {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
}

.pg-pillar-card {
	background: var(--pg-surface);
	border: 1px solid var(--pg-border);
	border-radius: var(--pg-radius);
	padding: 2rem;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.pg-pillar-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

.pg-pillar-number {
	width: 44px;
	height: 44px;
	background: #dbeafe;
	color: var(--pg-primary);
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 1.15rem;
	margin-bottom: 1.25rem;
}

.pg-pillar-title {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--pg-navy);
	margin-bottom: 0.75rem;
	line-height: 1.3;
}

.pg-pillar-body {
	font-size: 0.92rem;
	color: var(--pg-text-muted);
	line-height: 1.6;
	margin: 0;
}

/* Pipeline Grid */
.pg-pipeline-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 1rem;
	max-width: 1140px;
	margin: 0 auto 3.5rem;
}

.pg-stage-card {
	background: var(--pg-slate);
	border: 1px solid var(--pg-border-dark);
	border-radius: var(--pg-radius);
	padding: 1.5rem 1.25rem;
	border-top: 3px solid var(--pg-primary);
}

.pg-stage-index {
	font-size: 0.75rem;
	font-weight: 800;
	color: var(--pg-cyan);
	letter-spacing: 0.05em;
	margin-bottom: 0.5rem;
}

.pg-stage-name {
	font-size: 1.05rem;
	font-weight: 700;
	color: #ffffff;
	margin: 0 0 0.5rem;
}

.pg-stage-desc {
	font-size: 0.82rem;
	color: var(--pg-text-slate);
	line-height: 1.5;
	margin: 0;
}

/* CTA Banner */
.pg-cta-banner {
	max-width: 1140px;
	margin: 0 auto;
	background: var(--pg-slate);
	border: 1px solid var(--pg-border-dark);
	border-radius: 12px;
	padding: 2.5rem 3rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 2rem;
}

.pg-cta-text h3 {
	font-size: 1.5rem;
	font-weight: 700;
	color: #ffffff;
	margin: 0 0 0.5rem;
}

.pg-cta-text p {
	font-size: 0.95rem;
	color: var(--pg-text-slate);
	margin: 0;
}

/* Footer */
.pg-footer {
	background: #ffffff;
	border-top: 1px solid var(--pg-border);
	padding: 2.5rem 2rem;
}

.pg-footer-content {
	max-width: 1140px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 0.88rem;
	color: var(--pg-text-muted);
}

/* Responsive adjustments */
@media (max-width: 900px) {
	.pg-grid-three {
		grid-template-columns: 1fr;
	}
	.pg-pipeline-grid {
		grid-template-columns: 1fr;
	}
	.pg-cta-banner {
		flex-direction: column;
		text-align: center;
		padding: 2rem;
	}
	.pg-hero-title {
		font-size: 2.5rem;
	}
	.pg-nav {
		padding: 1rem 1.5rem;
	}
}

@media (max-width: 600px) {
	.pg-nav-actions .pg-nav-link {
		display: none;
	}
	.pg-hero {
		padding: 3.5rem 1rem 2.5rem;
	}
	.pg-hero-title {
		font-size: 2rem;
	}
	.pg-footer-content {
		flex-direction: column;
		gap: 0.75rem;
		text-align: center;
	}
}

/* Intake Form Styling */
.pg-intake-container {
	max-width: 800px;
	margin: 2.5rem auto 4rem;
	padding: 0 1.5rem;
}

.pg-form-card {
	background: var(--pg-surface-card);
	border: 1px solid var(--pg-border);
	border-radius: 12px;
	box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
	padding: 2.5rem;
}

.pg-step-header {
	margin-bottom: 2rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid var(--pg-border);
}

.pg-step-header h1 {
	font-size: 2rem;
	font-weight: 800;
	color: var(--pg-navy);
	margin: 0 0 0.5rem;
	letter-spacing: -0.02em;
}

.pg-step-header p {
	font-size: 0.95rem;
	color: var(--pg-text-muted);
	margin: 0;
	line-height: 1.5;
}

.pg-form-section {
	margin-bottom: 2rem;
	padding-bottom: 1.75rem;
	border-bottom: 1px solid var(--pg-border);
}

.pg-form-section:last-of-type {
	border-bottom: none;
	margin-bottom: 1.5rem;
}

.pg-form-section-title {
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--pg-navy);
	margin: 0 0 1.25rem;
	display: flex;
	align-items: center;
	gap: 0.6rem;
}

.pg-section-number {
	width: 24px;
	height: 24px;
	background: #dbeafe;
	color: var(--pg-primary);
	border-radius: 50%;
	font-size: 0.75rem;
	font-weight: 800;
	display: flex;
	align-items: center;
	justify-content: center;
}

.pg-form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.25rem;
}

.pg-form-group {
	margin-bottom: 1.25rem;
	display: flex;
	flex-direction: column;
}

.pg-form-group-full {
	grid-column: span 2;
}

.pg-form-label {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--pg-slate-light);
	margin-bottom: 0.4rem;
}

.pg-form-label .required {
	color: #ef4444;
}

.pg-form-input,
.pg-form-textarea,
.pg-form-select {
	font-family: inherit;
	font-size: 0.95rem;
	padding: 0.65rem 0.85rem;
	border: 1px solid var(--pg-border);
	border-radius: 6px;
	background: var(--pg-surface);
	color: var(--pg-text-main);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.pg-form-input:focus,
.pg-form-textarea:focus,
.pg-form-select:focus {
	outline: none;
	border-color: var(--pg-primary);
	background: #ffffff;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.pg-form-textarea {
	resize: vertical;
	min-height: 80px;
}

.pg-file-dropzone {
	border: 2px dashed var(--pg-border);
	border-radius: 8px;
	padding: 1.5rem;
	background: var(--pg-surface);
	text-align: center;
	transition: all 0.15s ease;
	cursor: pointer;
}

.pg-file-dropzone:hover {
	border-color: var(--pg-primary);
	background: #f0f7ff;
}

.pg-checkbox-card {
	background: #f8fafc;
	border: 1px solid var(--pg-border);
	border-radius: 8px;
	padding: 1.25rem;
}

.pg-checkbox-label {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	font-size: 0.88rem;
	color: var(--pg-slate);
	cursor: pointer;
	margin: 0;
	line-height: 1.5;
}

.pg-checkbox-label input[type="checkbox"] {
	margin-top: 0.2rem;
	width: 18px;
	height: 18px;
	cursor: pointer;
}

.pg-form-actions {
	margin-top: 2rem;
	display: flex;
	justify-content: flex-end;
}

@media (max-width: 640px) {
	.pg-form-card {
		padding: 1.5rem;
	}
	.pg-form-grid {
		grid-template-columns: 1fr;
	}
	.pg-form-group-full {
		grid-column: span 1;
	}
	.pg-form-actions button {
		width: 100%;
	}
}
