/**
 * MasarPlus - Institutional & Legal Pages Stylesheet
 * 
 * High-end SaaS Layout for About Us, Privacy Policy & Terms of Service
 * @version 2.0.0
 */

/* ==========================================================================
   1. HERO SECTION (SHARED FOR ABOUT / PRIVACY / TERMS)
   ========================================================================== */
.mp-legal-hero {
	background: linear-gradient(135deg, #09172e 0%, #032b30 50%, #061e27 100%);
	color: #ffffff;
	padding: 75px 0 85px 0;
	position: relative;
	overflow: hidden;
	text-align: center;
}

.mp-legal-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
	background-size: 24px 24px;
	pointer-events: none;
}

.mp-legal-hero__glow {
	position: absolute;
	top: -20%;
	right: 15%;
	width: 500px;
	height: 500px;
	background: radial-gradient(circle, rgba(0, 164, 183, 0.28) 0%, rgba(0, 0, 0, 0) 70%);
	pointer-events: none;
	border-radius: 50%;
}

.mp-legal-hero__badge {
	background: rgba(56, 189, 248, 0.12);
	border: 1px solid rgba(56, 189, 248, 0.3);
	color: #38bdf8;
	padding: 8px 22px;
	border-radius: 9999px;
	font-weight: 700;
	font-size: 0.875rem;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	backdrop-filter: blur(8px);
	margin-bottom: 20px;
}

.mp-legal-hero__title {
	font-size: clamp(2.2rem, 4.5vw, 3.25rem);
	font-weight: 900;
	line-height: 1.25;
	margin: 0 0 16px 0;
	color: #ffffff;
	letter-spacing: -0.02em;
}

.mp-legal-hero__subtitle {
	font-size: 1.15rem;
	color: #94a3b8;
	line-height: 1.8;
	max-width: 720px;
	margin: 0 auto 20px auto;
}

.mp-legal-hero__meta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 0.85rem;
	color: #cbd5e1;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.1);
	padding: 6px 18px;
	border-radius: 9999px;
}


/* ==========================================================================
   2. CONTENT CONTAINER & HIGHLIGHT CARDS
   ========================================================================== */
.mp-legal-page {
	background: var(--mp-bg-body, #f8fafc);
	min-height: 80vh;
	padding: 50px 0 90px 0;
	transition: background-color 0.3s ease;
}

.mp-legal-container {
	max-width: 960px;
	margin: 0 auto;
}

.mp-legal-highlights-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 18px;
	margin-bottom: 36px;
}

.mp-legal-highlight-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 18px;
	padding: 22px 18px;
	display: flex;
	align-items: center;
	gap: 14px;
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
	transition: all 0.25s ease;
}

.mp-legal-highlight-card:hover {
	transform: translateY(-2px);
	border-color: #0092a6;
	box-shadow: 0 10px 24px rgba(0, 146, 166, 0.1);
}

.mp-legal-highlight-icon {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: rgba(0, 164, 183, 0.1);
	color: #0092a6;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	font-size: 22px;
}

.mp-legal-highlight-title {
	font-size: 0.95rem;
	font-weight: 800;
	color: #0f172a;
	margin: 0 0 2px 0;
}

.mp-legal-highlight-desc {
	font-size: 0.785rem;
	color: #64748b;
	margin: 0;
}


/* ==========================================================================
   3. MAIN DOCUMENT CARD & SECTIONS
   ========================================================================== */
.mp-legal-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 28px;
	padding: 44px;
	box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.06);
	margin-bottom: 40px;
}

.mp-legal-section {
	border-bottom: 1px solid #f1f5f9;
	padding-bottom: 32px;
	margin-bottom: 32px;
}

.mp-legal-section:last-child {
	border-bottom: none;
	padding-bottom: 0;
	margin-bottom: 0;
}

.mp-legal-sec-header {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 16px;
}

.mp-legal-sec-badge {
	width: 38px;
	height: 38px;
	border-radius: 10px;
	background: #e0f2fe;
	color: #0284c7;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 0.95rem;
	flex-shrink: 0;
}

.mp-legal-sec-badge--icon {
	background: rgba(0, 164, 183, 0.12);
	color: #0092a6;
}

.mp-legal-sec-title {
	font-size: 1.25rem;
	font-weight: 800;
	color: #0f172a;
	margin: 0;
}

.mp-legal-sec-body {
	color: #475569;
	font-size: 1.05rem;
	line-height: 1.9;
	padding-right: 52px;
}

.mp-legal-sec-body p {
	margin-bottom: 1rem;
}

.mp-legal-sec-body p:last-child {
	margin-bottom: 0;
}

.mp-legal-sec-body ul {
	margin: 1rem 0;
	padding-right: 24px;
}

.mp-legal-sec-body li {
	margin-bottom: 0.6rem;
	line-height: 1.8;
}

.mp-legal-callout-box {
	background: #f0fdfa;
	border: 1px solid rgba(0, 146, 166, 0.2);
	border-right: 4px solid #0092a6;
	border-radius: 14px;
	padding: 18px 22px;
	margin: 18px 0;
	color: #0f766e;
	font-size: 0.95rem;
	line-height: 1.7;
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.mp-legal-callout-box .material-icons {
	color: #0092a6;
	font-size: 24px;
	flex-shrink: 0;
	margin-top: 2px;
}


/* ==========================================================================
   4. ABOUT US PAGE SPECIFIC STYLES
   ========================================================================== */
.mp-about-manifesto-card {
	background: linear-gradient(135deg, rgba(0, 146, 166, 0.08) 0%, rgba(248, 250, 252, 0.8) 100%);
	border: 1.5px solid rgba(0, 146, 166, 0.2);
	border-radius: 28px;
	padding: 44px;
	box-shadow: 0 15px 35px -5px rgba(0, 146, 166, 0.08);
	margin-bottom: 40px;
	position: relative;
	overflow: hidden;
}

.mp-about-manifesto-badge {
	background: #0092a6;
	color: #ffffff;
	font-size: 0.85rem;
	font-weight: 800;
	padding: 6px 18px;
	border-radius: 9999px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 22px;
}

.mp-about-manifesto-lead {
	font-size: 1.45rem;
	font-weight: 800;
	color: #0f172a;
	line-height: 1.75;
	margin-bottom: 24px;
}

.mp-about-manifesto-p {
	font-size: 1.15rem;
	color: #334155;
	line-height: 1.95;
	margin: 0;
}

.mp-about-pillars-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-bottom: 44px;
}

.mp-about-pillar-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 24px;
	padding: 32px 26px;
	display: flex;
	flex-direction: column;
	transition: all 0.3s ease;
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.03);
}

.mp-about-pillar-card:hover {
	transform: translateY(-5px);
	border-color: #0092a6;
	box-shadow: 0 18px 35px rgba(0, 146, 166, 0.12);
}

.mp-about-pillar-icon {
	width: 58px;
	height: 58px;
	border-radius: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 28px;
	margin-bottom: 22px;
}
.mp-about-pillar-icon--teal { background: #e0f2fe; color: #0284c7; }
.mp-about-pillar-icon--amber { background: #fef3c7; color: #d97706; }
.mp-about-pillar-icon--green { background: #dcfce7; color: #15803d; }

.mp-about-pillar-title {
	font-size: 1.25rem;
	font-weight: 800;
	color: #0f172a;
	margin: 0 0 12px 0;
	line-height: 1.35;
}

.mp-about-pillar-desc {
	font-size: 0.95rem;
	color: #64748b;
	line-height: 1.7;
	margin: 0;
}

.mp-about-stats-bar {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 24px;
	padding: 32px 40px;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	text-align: center;
	margin-bottom: 44px;
	box-shadow: 0 10px 25px rgba(15, 23, 42, 0.03);
}

.mp-about-stat-item:not(:last-child) {
	border-left: 1px solid #f1f5f9;
}

.mp-about-stat-num {
	font-size: 2.2rem;
	font-weight: 900;
	color: #0092a6;
	line-height: 1.1;
}

.mp-about-stat-lbl {
	font-size: 0.85rem;
	color: #64748b;
	font-weight: 600;
	margin-top: 6px;
}

.mp-about-cta-banner {
	background: linear-gradient(135deg, #09172e 0%, #032b30 50%, #061e27 100%);
	border-radius: 28px;
	padding: 50px 36px;
	text-align: center;
	color: #ffffff;
	position: relative;
	overflow: hidden;
	box-shadow: 0 20px 45px rgba(3, 43, 48, 0.35);
}

.mp-about-cta-title {
	font-size: 1.85rem;
	font-weight: 900;
	color: #ffffff;
	margin-bottom: 12px;
}

.mp-about-cta-desc {
	font-size: 1.05rem;
	color: #94a3b8;
	max-width: 620px;
	margin: 0 auto 28px auto;
	line-height: 1.7;
}

.mp-about-cta-actions {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	flex-wrap: wrap;
}


/* ==========================================================================
   5. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 991px) {
	.mp-about-pillars-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	.mp-about-stats-bar {
		grid-template-columns: repeat(2, 1fr);
		padding: 24px;
	}
	.mp-about-stat-item:nth-child(2) {
		border-left: none;
	}
	.mp-legal-card {
		padding: 30px 20px;
	}
	.mp-legal-sec-body {
		padding-right: 0;
	}
}

@media (max-width: 640px) {
	.mp-legal-hero {
		padding: 50px 0 60px 0;
	}
	.mp-legal-hero__title {
		font-size: 2rem;
	}
	.mp-about-manifesto-card {
		padding: 28px 20px;
	}
	.mp-about-manifesto-lead {
		font-size: 1.25rem;
	}
	.mp-about-stats-bar {
		grid-template-columns: 1fr;
	}
	.mp-about-stat-item {
		border-left: none !important;
	}
	.mp-about-cta-actions {
		flex-direction: column;
		width: 100%;
	}
	.mp-about-cta-actions .mp-btn {
		width: 100%;
		justify-content: center;
	}
}
