/* DigiLegal Case Management - shared styles */
.cm-hero {
	position: relative;
	overflow: hidden;
	padding: 90px 0 80px;
	background: linear-gradient(135deg, #1e2637 0%, #2d3548 45%, #1a2233 100%);
}
.cm-hero--page {
	padding: 50px 0 45px;
}
.cm-hero::before {
	content: "";
	position: absolute;
	top: -120px;
	right: -80px;
	width: 420px;
	height: 420px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(194, 161, 85, 0.18) 0%, transparent 70%);
	pointer-events: none;
}
.cm-hero::after {
	content: "";
	position: absolute;
	bottom: -100px;
	left: -60px;
	width: 320px;
	height: 320px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(194, 161, 85, 0.1) 0%, transparent 70%);
	pointer-events: none;
}
.cm-hero-inner { position: relative; z-index: 2; }
.cm-hero-badge {
	display: inline-block;
	padding: 8px 18px;
	border-radius: 30px;
	background: rgba(194, 161, 85, 0.15);
	border: 1px solid rgba(194, 161, 85, 0.45);
	color: #c2a155;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	margin-bottom: 18px;
}
.cm-hero-title {
	color: #fff;
	font-size: 38px;
	line-height: 1.25;
	font-weight: 700;
	margin-bottom: 18px;
}
.cm-hero--page .cm-hero-title { font-size: 30px; }
.cm-hero-title span { color: #c2a155; }
.cm-hero-desc {
	color: #d5d9e2;
	font-size: 17px;
	line-height: 1.75;
	max-width: 820px;
	margin: 0 auto 28px;
}
.cm-hero-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-bottom: 28px;
}
.cm-hero-actions .ttm-btn {
	border-radius: 30px;
	padding: 13px 28px;
	font-weight: 600;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.cm-hero-actions .ttm-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}
.cm-hero-contact {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 10px 18px;
	color: #c8ced8;
	font-size: 15px;
}
.cm-hero-contact a {
	color: #e8ebf0;
	text-decoration: none;
	transition: color 0.2s ease;
}
.cm-hero-contact a:hover { color: #c2a155; }
.cm-hero-stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	margin-top: 42px;
}
.cm-hero-stat {
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 14px;
	padding: 18px 14px;
	text-align: center;
	backdrop-filter: blur(4px);
}
.cm-hero-stat i {
	font-size: 22px;
	color: #c2a155;
	margin-bottom: 8px;
	display: block;
}
.cm-hero-stat strong {
	display: block;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
}
.cm-hero-stat span {
	color: #aab2c0;
	font-size: 12px;
}

.cm-features-section {
	padding: 80px 0 60px;
	background: linear-gradient(180deg, #f8f9fb 0%, #ffffff 100%);
}
.cm-features-section--compact { padding: 50px 0 40px; }
.cm-section-label {
	display: inline-block;
	color: #c2a155;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	margin-bottom: 10px;
}
.cm-section-title {
	font-size: 34px;
	font-weight: 700;
	color: #1e2637;
	margin-bottom: 10px;
}
.cm-section-subtitle {
	color: #6c757d;
	font-size: 16px;
	max-width: 620px;
	margin: 0 auto;
}
.cm-features-grid .cm-feature-card {
	background: #fff;
	border: 1px solid #eceff3;
	border-radius: 16px;
	padding: 28px 22px;
	height: 100%;
	text-align: center;
	box-shadow: 0 6px 24px rgba(30, 38, 55, 0.06);
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}
.cm-features-grid .cm-feature-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, #c2a155, #e8d5a8);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s ease;
}
.cm-features-grid .cm-feature-card:hover {
	transform: translateY(-6px);
	border-color: rgba(194, 161, 85, 0.35);
	box-shadow: 0 16px 36px rgba(194, 161, 85, 0.18);
}
.cm-features-grid .cm-feature-card:hover::before { transform: scaleX(1); }
.cm-feature-icon {
	width: 64px;
	height: 64px;
	margin: 0 auto 16px;
	border-radius: 16px;
	background: linear-gradient(135deg, #faf5e9 0%, #f3e8cc 100%);
	display: flex;
	align-items: center;
	justify-content: center;
}
.cm-feature-icon i {
	font-size: 26px;
	color: #c2a155;
}
.cm-feature-card h5 {
	color: #1e2637;
	font-size: 17px;
	font-weight: 700;
	margin-bottom: 10px;
}
.cm-feature-card p {
	color: #6c757d;
	font-size: 14px;
	line-height: 1.65;
	margin: 0;
}

.cm-benefits-section {
	padding: 80px 0 100px;
	margin-bottom: 70px;
	background: #fff;
}
.cm-benefits-section--compact {
	padding: 50px 0 60px;
	margin-bottom: 0;
}
.cm-benefit-card {
	background: linear-gradient(135deg, #faf8f3 0%, #fff 100%);
	border: 1px solid #efe6d4;
	border-radius: 14px;
	padding: 16px 18px;
	margin-bottom: 12px;
	display: flex;
	align-items: center;
	gap: 12px;
	transition: all 0.25s ease;
}
.cm-benefit-card:hover {
	transform: translateX(4px);
	box-shadow: 0 8px 20px rgba(194, 161, 85, 0.12);
	border-color: #c2a155;
}
.cm-benefit-card i {
	color: #c2a155;
	font-size: 18px;
	flex-shrink: 0;
}
.cm-benefit-card span {
	color: #3b404c;
	font-weight: 600;
	font-size: 14px;
}
.cm-analytics-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
	margin-top: 10px;
}
.cm-analytics-tile {
	background: #1e2637;
	border-radius: 14px;
	padding: 20px 16px;
	color: #fff;
	text-align: center;
	transition: transform 0.25s ease;
}
.cm-analytics-tile:hover { transform: translateY(-4px); }
.cm-analytics-tile i {
	font-size: 24px;
	color: #c2a155;
	margin-bottom: 8px;
	display: block;
}
.cm-analytics-tile strong {
	display: block;
	font-size: 14px;
	font-weight: 700;
	margin-bottom: 4px;
}
.cm-analytics-tile span {
	font-size: 12px;
	color: #b8c0cc;
}

.cm-industries-panel {
	background: linear-gradient(145deg, #1e2637 0%, #2a3347 100%);
	border-radius: 20px;
	padding: 32px 28px;
	color: #fff;
	box-shadow: 0 20px 50px rgba(30, 38, 55, 0.2);
}
.cm-industries-panel .cm-section-title { color: #fff; font-size: 26px; }
.cm-industry-chip {
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 12px;
	padding: 16px 14px;
	text-align: center;
	margin-bottom: 14px;
	transition: all 0.25s ease;
}
.cm-industry-chip:hover {
	background: rgba(194, 161, 85, 0.15);
	border-color: rgba(194, 161, 85, 0.5);
	transform: translateY(-3px);
}
.cm-industry-chip i {
	font-size: 22px;
	color: #c2a155;
	margin-bottom: 8px;
	display: block;
}
.cm-industry-chip h6 {
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	margin: 0;
	line-height: 1.4;
}
.cm-tagline {
	margin-top: 22px;
	padding-top: 18px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	color: #c8ced8;
	font-style: italic;
	font-size: 15px;
	text-align: center;
}
.cm-sections-spacer {
	height: 50px;
	display: block;
}
.cm-page-intro {
	font-size: 16px;
	line-height: 1.8;
	color: #3b404c;
	margin-bottom: 30px;
}

@media (max-width: 991px) {
	.cm-hero-title { font-size: 30px; }
	.cm-hero-stats { grid-template-columns: repeat(2, 1fr); }
	.cm-section-title { font-size: 28px; }
}
@media (max-width: 575px) {
	.cm-hero { padding: 60px 0 50px; }
	.cm-hero-title { font-size: 24px; }
	.cm-hero-actions .ttm-btn { width: 100%; margin: 0 !important; }
	.cm-analytics-grid { grid-template-columns: 1fr; }
}
