/* ==========================================================================
   MaxCloud Mart - Legal Pages Custom Styles
   ========================================================================== */

:root {
	--legal-navy: #0d142d;
	--legal-blue: #62D4FF;
	--legal-purple: #6557FF;
	--legal-pink: #FF5CA8;
	--legal-bg: #f4f7fe;
	--legal-text-dark: #0a1128;
	--legal-text-muted: #6b7280;
}

.legal-page-container {
	background-color: var(--legal-bg);
	font-family: 'Inter', system-ui, -apple-system, sans-serif;
	overflow-x: hidden;
}

.legal-hero {
	background-color: var(--legal-navy);
	padding: 120px 0 160px;
	position: relative;
	overflow: hidden;
	color: white;
	text-align: center;
}

.legal-container {
	max-width: 900px; /* Narrower for better reading */
	margin: 0 auto;
	padding: 0 20px;
	width: 100%;
}

.legal-pill {
	display: inline-block;
	border: 1px solid rgba(255, 255, 255, 0.2);
	background: rgba(255, 255, 255, 0.05);
	backdrop-filter: blur(4px);
	padding: 6px 16px;
	border-radius: 50px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 2px;
	text-transform: uppercase;
	margin-bottom: 24px;
}

.legal-hero-title {
	font-size: 3rem;
	font-weight: 900;
	line-height: 1.1;
	margin-bottom: 16px;
	letter-spacing: -1px;
	color: white;
}

@media (min-width: 768px) {
	.legal-hero-title { font-size: 4rem; }
}

.legal-hero-desc {
	font-size: 1.125rem;
	color: rgba(255, 255, 255, 0.7);
	max-width: 600px;
	margin: 0 auto;
	line-height: 1.6;
}

/* Gradients */
.text-gradient-legal {
	background: linear-gradient(to right, var(--legal-pink), var(--legal-purple), var(--legal-blue));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	color: transparent;
}

/* Content Area */
.legal-content-section {
	position: relative;
	z-index: 20;
	margin-top: -80px;
	margin-bottom: 100px;
}

.legal-content-card {
	background: white;
	border-radius: 32px;
	box-shadow: 0 20px 60px rgba(10, 17, 40, 0.08);
	padding: 40px 30px;
	border: 1px solid #f3f4f6;
}

@media (min-width: 768px) {
	.legal-content-card {
		padding: 60px;
	}
}

.legal-content-card h2 {
	font-size: 1.75rem;
	font-weight: 900;
	color: var(--legal-text-dark);
	margin-top: 40px;
	margin-bottom: 20px;
	line-height: 1.3;
}

.legal-content-card h2:first-child {
	margin-top: 0;
}

.legal-content-card h3 {
	font-size: 1.25rem;
	font-weight: 800;
	color: var(--legal-text-dark);
	margin-top: 30px;
	margin-bottom: 16px;
}

.legal-content-card p {
	font-size: 1.05rem;
	color: #4a5568;
	line-height: 1.8;
	margin-bottom: 20px;
}

.legal-content-card ul {
	margin-bottom: 24px;
	padding-left: 20px;
}

.legal-content-card li {
	font-size: 1.05rem;
	color: #4a5568;
	line-height: 1.8;
	margin-bottom: 12px;
	position: relative;
	list-style-type: none;
}

.legal-content-card li::before {
	content: "•";
	color: var(--legal-purple);
	font-weight: bold;
	display: inline-block;
	width: 1em;
	margin-left: -1em;
	position: absolute;
}

.legal-content-card strong {
	color: var(--legal-text-dark);
	font-weight: 700;
}

/* Callout Box (for important notices) */
.legal-callout {
	background: rgba(101, 87, 255, 0.05);
	border-left: 4px solid var(--legal-purple);
	padding: 24px;
	border-radius: 0 16px 16px 0;
	margin: 30px 0;
}

.legal-callout p:last-child {
	margin-bottom: 0;
}
