/**
 * Security & Compliance Page Styles
 * Modern, Professional Design
 * 
 * @package CARE-INF
 * @since 1.0.0
 */

/* =====================================================
   CSS VARIABLES
   ===================================================== */

:root {
	--sc-primary: #1a3a5f;
	--sc-accent: #d4af37;
	--sc-accent-dark: #b8942e;
	--sc-success: #10b981;
	--sc-warning: #f59e0b;
	--sc-danger: #ef4444;
	--sc-text-dark: #1a3a5f;
	--sc-text-light: #4b5563;
	--sc-bg-light: #f9fafb;
	--sc-border: #e5e7eb;
}

/* =====================================================
   PAGE WRAPPER
   ===================================================== */

.site-main.page-security-compliance {
	max-width: 100%;
	margin: 0;
	padding: 0;
	width: 100%;
}

/* =====================================================
   CONTAINERS
   ===================================================== */

.sc-container {
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	padding-left: 2rem;
	padding-right: 2rem;
}

.sc-container--narrow {
	max-width: 900px;
}

.sc-container--wide {
	max-width: 1300px;
}

/* =====================================================
   HERO SECTION
   ===================================================== */

.sc-hero {
	background: linear-gradient(135deg, var(--sc-primary) 0%, #2d5a8c 100%);
	color: #ffffff;
	padding: 8rem 0 7rem;
	position: relative;
	overflow: hidden;
	text-align: center;
	margin-top: -90px;
}

.sc-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="scGrid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(212,175,55,0.08)" stroke-width="1"/></pattern></defs><rect width="1200" height="600" fill="url(%23scGrid)" /></svg>');
	opacity: 0.4;
	animation: gridPulse 20s ease-in-out infinite;
}

.sc-hero__content {
	position: relative;
	z-index: 1;
	max-width: 800px;
	margin: 0 auto;
	animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes gridPulse {
	0%, 100% { opacity: 0.4; }
	50% { opacity: 0.6; }
}

.sc-eyebrow {
	display: inline-block;
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--sc-accent);
	margin-bottom: 1rem;
	padding: 0.4rem 1rem;
	background: rgba(212, 175, 55, 0.15);
	border-radius: 30px;
	border: 1px solid rgba(212, 175, 55, 0.3);
}

.sc-hero__title {
	font-family: var(--care-inf-heading-font, 'Merriweather', Georgia, serif);
	font-size: clamp(2.2rem, 5vw, 3.5rem);
	font-weight: 700;
	margin: 0 0 1.5rem;
	line-height: 1.2;
	color: #ffffff;
}

.sc-hero__subtitle {
	font-size: clamp(1.1rem, 2vw, 1.3rem);
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.9);
	margin: 0;
	font-weight: 400;
}

/* =====================================================
   FEATURES SECTION
   ===================================================== */

.sc-features {
	padding: 5rem 0;
	background: #ffffff;
}

.sc-features__header {
	text-align: center;
	margin-bottom: 3.5rem;
}

.sc-section-heading {
	font-family: var(--care-inf-heading-font, 'Merriweather', Georgia, serif);
	font-size: clamp(1.8rem, 3.5vw, 2.5rem);
	font-weight: 700;
	color: var(--sc-text-dark);
	margin: 0 0 1rem;
	line-height: 1.3;
}

.sc-features__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2.5rem;
}

.sc-feature-card {
	background: #ffffff;
	border: 1px solid var(--sc-border);
	border-radius: 12px;
	padding: 2.5rem 2rem;
	transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
	position: relative;
	overflow: hidden;
}

.sc-feature-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 4px;
	background: linear-gradient(90deg, var(--sc-accent) 0%, rgba(212, 175, 55, 0.3) 100%);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sc-feature-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 20px 50px rgba(26, 58, 95, 0.15);
	border-color: rgba(212, 175, 55, 0.3);
}

.sc-feature-card:hover::before {
	transform: scaleX(1);
}

.sc-feature-card__icon {
	width: 56px;
	height: 56px;
	background: linear-gradient(135deg, var(--sc-accent) 0%, var(--sc-accent-dark) 100%);
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.5rem;
	transition: transform 0.3s ease;
}

.sc-feature-card:hover .sc-feature-card__icon {
	transform: scale(1.1);
}

.sc-feature-card__icon svg {
	width: 28px;
	height: 28px;
	stroke: #ffffff;
}

.sc-feature-card__title {
	font-family: var(--care-inf-heading-font, 'Merriweather', Georgia, serif);
	font-size: 1.35rem;
	font-weight: 600;
	color: var(--sc-text-dark);
	margin: 0 0 1rem;
	line-height: 1.4;
}

.sc-feature-card__desc {
	font-size: 1rem;
	line-height: 1.7;
	color: var(--sc-text-light);
	margin: 0;
}

/* =====================================================
   COMPLIANCE SECTION
   ===================================================== */

.sc-compliance {
	background: linear-gradient(135deg, var(--sc-primary) 0%, #2d5a8c 100%);
	color: #ffffff;
	padding: 5rem 0;
	position: relative;
	overflow: hidden;
}

.sc-compliance::before {
	content: '';
	position: absolute;
	inset: 0;
	background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="compGrid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(212,175,55,0.05)" stroke-width="1"/></pattern></defs><rect width="1200" height="600" fill="url(%23compGrid)" /></svg>');
	opacity: 0.3;
	pointer-events: none;
}

.sc-compliance__header {
	text-align: center;
	margin-bottom: 3.5rem;
	position: relative;
	z-index: 1;
}

.sc-compliance__header .sc-section-heading {
	color: #ffffff;
}

.sc-compliance__header .sc-eyebrow {
	color: var(--sc-accent);
}

.sc-compliance__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
	position: relative;
	z-index: 1;
}

.sc-cert-badge {
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(212, 175, 55, 0.25);
	backdrop-filter: blur(10px);
	border-radius: 16px;
	padding: 2rem;
	text-align: center;
	transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
	position: relative;
	overflow: hidden;
}

.sc-cert-badge::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: rgba(212, 175, 55, 0.08);
	transition: left 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
	z-index: -1;
}

.sc-cert-badge:hover {
	background: rgba(255, 255, 255, 0.15);
	border-color: rgba(212, 175, 55, 0.5);
	transform: translateY(-8px);
	box-shadow: 0 20px 50px rgba(212, 175, 55, 0.2);
}

.sc-cert-badge:hover::before {
	left: 0;
}

.sc-cert-badge__icon {
	font-size: 2.5rem;
	margin-bottom: 1rem;
	display: inline-block;
	animation: certPulse 2s ease-in-out infinite;
}

@keyframes certPulse {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.08); }
}

.sc-cert-badge__name {
	font-family: var(--care-inf-heading-font, 'Merriweather', Georgia, serif);
	font-size: 1.15rem;
	font-weight: 600;
	color: #ffffff;
	margin: 0 0 0.5rem;
}

.sc-cert-badge__desc {
	font-size: 0.9rem;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.8);
	margin: 0;
}

/* =====================================================
   SECURITY DETAILS SECTION
   ===================================================== */

.sc-details {
	padding: 5rem 0;
	background: var(--sc-bg-light);
}

.sc-details__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: start;
}

.sc-details__text h2 {
	font-family: var(--care-inf-heading-font, 'Merriweather', Georgia, serif);
	font-size: clamp(1.8rem, 3vw, 2.3rem);
	font-weight: 700;
	color: var(--sc-text-dark);
	margin: 0 0 1.5rem;
	line-height: 1.3;
}

.sc-details__text p {
	font-size: 1.05rem;
	line-height: 1.8;
	color: var(--sc-text-light);
	margin: 0 0 1.5rem;
}

.sc-details__list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.sc-details__list li {
	font-size: 1rem;
	line-height: 1.8;
	color: var(--sc-text-light);
	margin-bottom: 1rem;
	padding-left: 2.5em;
	position: relative;
}

.sc-details__list li::before {
	content: '✓';
	position: absolute;
	left: 0;
	color: var(--sc-success);
	font-weight: 700;
	font-size: 1.2rem;
}

.sc-details__visual {
	background: linear-gradient(135deg, var(--sc-primary) 0%, #2d5a8c 100%);
	border-radius: 16px;
	padding: 3rem;
	position: relative;
	overflow: hidden;
	box-shadow: 0 20px 60px rgba(26, 58, 95, 0.2);
	min-height: 400px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.sc-details__visual::before {
	content: '';
	position: absolute;
	inset: 0;
	background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 400"><defs><pattern id="detailsGrid" width="30" height="30" patternUnits="userSpaceOnUse"><circle cx="15" cy="15" r="1.5" fill="rgba(212,175,55,0.2)"/></pattern></defs><rect width="400" height="400" fill="url(%23detailsGrid)" /></svg>');
	opacity: 0.4;
}

.sc-security-icon {
	position: relative;
	z-index: 1;
	text-align: center;
	color: #ffffff;
}

.sc-security-icon__graphic {
	font-size: 6rem;
	margin-bottom: 1.5rem;
	display: inline-block;
	animation: lockPulse 3s ease-in-out infinite;
}

@keyframes lockPulse {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.08); }
}

.sc-security-icon__text {
	font-size: 1.25rem;
	font-weight: 600;
	margin: 0;
}

/* =====================================================
   AUDIT LOGGING SECTION
   ===================================================== */

.sc-audit {
	padding: 5rem 0;
	background: #ffffff;
}

.sc-audit__header {
	text-align: center;
	margin-bottom: 3.5rem;
}

.sc-audit__steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 2rem;
}

.sc-step {
	background: var(--sc-bg-light);
	border-radius: 12px;
	padding: 2.5rem 2rem;
	position: relative;
	border: 2px solid transparent;
	transition: all 0.3s ease;
}

.sc-step:hover {
	border-color: var(--sc-accent);
	box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
	background: #ffffff;
}

.sc-step__number {
	width: 48px;
	height: 48px;
	background: linear-gradient(135deg, var(--sc-accent) 0%, var(--sc-accent-dark) 100%);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.3rem;
	font-weight: 700;
	color: #ffffff;
	margin-bottom: 1.5rem;
	transition: transform 0.3s ease;
}

.sc-step:hover .sc-step__number {
	transform: scale(1.15);
}

.sc-step__title {
	font-family: var(--care-inf-heading-font, 'Merriweather', Georgia, serif);
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--sc-text-dark);
	margin: 0 0 1rem;
}

.sc-step__desc {
	font-size: 0.95rem;
	line-height: 1.7;
	color: var(--sc-text-light);
	margin: 0;
}

/* =====================================================
   FAQ SECTION
   ===================================================== */

.sc-faq {
	padding: 5rem 0;
	background: var(--sc-bg-light);
}

.sc-faq__header {
	text-align: center;
	margin-bottom: 3.5rem;
}

.sc-faq__list {
	max-width: 900px;
	margin: 0 auto;
}

.sc-faq__item {
	background: #ffffff;
	border-radius: 12px;
	padding: 2rem 2.5rem;
	margin-bottom: 1.5rem;
	border: 1px solid var(--sc-border);
	transition: all 0.3s ease;
}

.sc-faq__item:hover {
	box-shadow: 0 8px 25px rgba(26, 58, 95, 0.08);
	border-color: rgba(212, 175, 55, 0.3);
}

.sc-faq__question {
	font-family: var(--care-inf-heading-font, 'Merriweather', Georgia, serif);
	font-size: 1.2rem;
	font-weight: 600;
	color: var(--sc-text-dark);
	margin: 0 0 0.75rem;
	display: block;
}

.sc-faq__answer {
	font-size: 1rem;
	line-height: 1.8;
	color: var(--sc-text-light);
	margin: 0;
}

/* =====================================================
   CTA SECTION
   ===================================================== */

.sc-cta {
	background: linear-gradient(135deg, var(--sc-primary) 0%, #2d5a8c 100%);
	color: #ffffff;
	padding: 5rem 0;
	position: relative;
	overflow: hidden;
	text-align: center;
}

.sc-cta::before {
	content: '';
	position: absolute;
	inset: 0;
	background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400"><defs><pattern id="ctaGrid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(212,175,55,0.08)" stroke-width="1"/></pattern></defs><rect width="1200" height="400" fill="url(%23ctaGrid)" /></svg>');
	opacity: 0.3;
}

.sc-cta__content {
	position: relative;
	z-index: 1;
	max-width: 700px;
	margin: 0 auto;
}

.sc-cta__title {
	font-family: var(--care-inf-heading-font, 'Merriweather', Georgia, serif);
	font-size: clamp(2rem, 4vw, 2.8rem);
	font-weight: 700;
	margin: 0 0 1.5rem;
	line-height: 1.3;
	color: #ffffff;
}

.sc-cta__text {
	font-size: 1.15rem;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.9);
	margin: 0 0 2.5rem;
}

.sc-cta__button {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	background: var(--sc-accent);
	color: #ffffff;
	padding: 1rem 2.5rem;
	border-radius: 8px;
	font-size: 1.05rem;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
	border: none;
	cursor: pointer;
}

.sc-cta__button:hover {
	background: var(--sc-accent-dark);
	transform: translateY(-3px);
	box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
	color: #ffffff;
}

/* =====================================================
   SECTION DIVIDER
   ===================================================== */

.sc-section-divider {
	border: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent 0%, var(--sc-border) 50%, transparent 100%);
	margin: 0;
}

/* =====================================================
   RESPONSIVE DESIGN
   ===================================================== */

@media (max-width: 900px) {
	.sc-hero {
		padding: 5rem 0 4.5rem;
	}

	.sc-features,
	.sc-compliance,
	.sc-details,
	.sc-audit,
	.sc-faq,
	.sc-cta {
		padding: 3.5rem 0;
	}

	.sc-details__grid {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}

	.sc-features__grid,
	.sc-compliance__grid,
	.sc-audit__steps {
		grid-template-columns: 1fr;
	}

	.sc-details__visual {
		min-height: 300px;
	}
}

@media (max-width: 600px) {
	.sc-container {
		padding-left: 1.5rem;
		padding-right: 1.5rem;
	}

	.sc-hero {
		padding: 4rem 0 3.5rem;
	}

	.sc-hero__title {
		font-size: 2rem;
	}

	.sc-features,
	.sc-compliance,
	.sc-details,
	.sc-audit,
	.sc-faq,
	.sc-cta {
		padding: 2.5rem 0;
	}

	.sc-feature-card,
	.sc-cert-badge,
	.sc-step,
	.sc-faq__item {
		padding: 2rem 1.5rem;
	}

	.sc-details__visual {
		padding: 2rem 1.5rem;
		min-height: 250px;
	}
}
