/**
 * Privacy Policy Page Stylesheet
 * Shopify Digitech — Modern, Responsive, Elementor & Rank Math Compatible
 *
 * @package My_Theme
 */

/* ==========================================================================
   1. HERO SECTION
   ========================================================================== */
.privacy-hero {
	position: relative;
	background: linear-gradient(135deg, #040926 0%, #081142 50%, #020617 100%);
	padding: clamp(3rem, 5vw, 4.5rem) 0 clamp(2.5rem, 4vw, 3.5rem);
	border-bottom: 1px solid rgba(62, 142, 48, 0.2);
	overflow: hidden;
}

.privacy-hero::before {
	content: '';
	position: absolute;
	top: -50%;
	right: -10%;
	width: 500px;
	height: 500px;
	background: radial-gradient(circle, rgba(62, 142, 48, 0.12) 0%, transparent 70%);
	pointer-events: none;
	border-radius: 50%;
}

.privacy-breadcrumbs {
	margin-bottom: 1.5rem;
	font-size: 0.85rem;
	color: #94a3b8;
}

.privacy-breadcrumbs a {
	color: #3E8E30;
	text-decoration: none;
	transition: color 0.2s ease;
}

.privacy-breadcrumbs a:hover {
	color: #55b842;
	text-decoration: underline;
}

.privacy-hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(62, 142, 48, 0.12);
	border: 1px solid rgba(62, 142, 48, 0.35);
	padding: 6px 14px;
	border-radius: 9999px;
	font-family: var(--font-headings, 'Outfit', sans-serif);
	font-size: 0.8rem;
	font-weight: 700;
	color: #3E8E30;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-bottom: 1rem;
}

.privacy-hero__title {
	font-family: var(--font-headings, 'Outfit', sans-serif);
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 800;
	color: #ffffff !important;
	line-height: 1.15;
	margin: 0 0 1rem 0;
	letter-spacing: -0.02em;
}

.privacy-hero__description {
	font-family: var(--font-body, 'Inter', sans-serif);
	font-size: clamp(1rem, 1.2vw, 1.15rem);
	line-height: 1.6;
	color: #cbd5e1 !important;
	max-width: 800px;
	margin: 0 0 2rem 0;
}

.privacy-hero__meta-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.privacy-meta-item {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.88rem;
	color: #94a3b8;
}

.privacy-meta-item strong {
	color: #f1f5f9;
}

.privacy-meta-item svg {
	color: #3E8E30;
	flex-shrink: 0;
}

/* ==========================================================================
   2. MAIN LAYOUT: 2-COLUMN (STICKY TOC + POLICY CONTENT)
   ========================================================================== */
.privacy-content-section {
	background-color: #080b11;
	padding: clamp(3rem, 5vw, 5rem) 0;
	color: #e2e8f0;
	position: relative;
}

.privacy-layout-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
	align-items: flex-start;
}

@media (min-width: 992px) {
	.privacy-layout-grid {
		grid-template-columns: 280px 1fr;
		gap: 3.5rem;
	}
}

/* ==========================================================================
   3. STICKY TABLE OF CONTENTS
   ========================================================================== */
.privacy-toc-wrapper {
	position: sticky;
	top: 90px;
	background: #0f172a;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 16px;
	padding: 1.5rem;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.privacy-toc-title {
	font-family: var(--font-headings, 'Outfit', sans-serif);
	font-size: 1.05rem;
	font-weight: 700;
	color: #ffffff;
	margin: 0 0 1rem 0;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	display: flex;
	align-items: center;
	gap: 8px;
}

.privacy-toc-title svg {
	color: #3E8E30;
}

.privacy-toc-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.privacy-toc-link {
	display: block;
	font-size: 0.88rem;
	color: #94a3b8;
	text-decoration: none;
	padding: 6px 10px;
	border-radius: 8px;
	transition: all 0.2s ease;
	border-left: 2px solid transparent;
}

.privacy-toc-link:hover,
.privacy-toc-link.active {
	color: #ffffff;
	background: rgba(62, 142, 48, 0.12);
	border-left-color: #3E8E30;
	padding-left: 12px;
}

/* ==========================================================================
   4. POLICY SECTIONS & CARDS
   ========================================================================== */
.privacy-body {
	display: flex;
	flex-direction: column;
	gap: 2.5rem;
}

.privacy-card {
	background: #0f172a;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 18px;
	padding: clamp(1.75rem, 3vw, 2.5rem);
	transition: border-color 0.25s ease;
}

.privacy-card:hover {
	border-color: rgba(62, 142, 48, 0.4);
}

.privacy-card__header {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 1.25rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.privacy-card__num {
	font-family: var(--font-headings, 'Outfit', sans-serif);
	font-size: 0.85rem;
	font-weight: 800;
	color: #3E8E30;
	background: rgba(62, 142, 48, 0.15);
	padding: 4px 10px;
	border-radius: 8px;
	letter-spacing: 0.05em;
}

.privacy-card__title {
	font-family: var(--font-headings, 'Outfit', sans-serif);
	font-size: 1.35rem;
	font-weight: 700;
	color: #ffffff !important;
	margin: 0;
}

.privacy-card__content p {
	font-size: 0.96rem;
	line-height: 1.7;
	color: #cbd5e1;
	margin: 0 0 1rem 0;
}

.privacy-card__content p:last-child {
	margin-bottom: 0;
}

.privacy-card__content ul {
	list-style: none;
	padding: 0;
	margin: 1rem 0;
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.privacy-card__content ul li {
	position: relative;
	padding-left: 1.5rem;
	font-size: 0.94rem;
	line-height: 1.6;
	color: #cbd5e1;
}

.privacy-card__content ul li::before {
	content: '✓';
	position: absolute;
	left: 0;
	top: 0;
	color: #3E8E30;
	font-weight: 800;
	font-size: 0.95rem;
}

/* Callout Highlight Box */
.privacy-highlight-box {
	background: rgba(62, 142, 48, 0.08);
	border: 1px solid rgba(62, 142, 48, 0.3);
	border-left: 4px solid #3E8E30;
	border-radius: 10px;
	padding: 1.25rem 1.5rem;
	margin: 1.25rem 0;
}

.privacy-highlight-box h4 {
	font-family: var(--font-headings, 'Outfit', sans-serif);
	font-size: 1.05rem;
	font-weight: 700;
	color: #ffffff;
	margin: 0 0 0.5rem 0;
	display: flex;
	align-items: center;
	gap: 8px;
}

.privacy-highlight-box h4 svg {
	color: #3E8E30;
}

.privacy-highlight-box p {
	font-size: 0.9rem;
	line-height: 1.6;
	color: #cbd5e1;
	margin: 0;
}

/* ==========================================================================
   5. CONTACT & TRUST CARD
   ========================================================================== */
.privacy-contact-card {
	background: linear-gradient(135deg, #091452 0%, #0f172a 100%);
	border: 2px solid #3E8E30;
	border-radius: 20px;
	padding: 2.25rem 2rem;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	box-shadow: 0 0 35px rgba(62, 142, 48, 0.25);
}

@media (min-width: 768px) {
	.privacy-contact-card {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}
}

.privacy-contact-info h3 {
	font-family: var(--font-headings, 'Outfit', sans-serif);
	font-size: 1.4rem;
	font-weight: 800;
	color: #ffffff;
	margin: 0 0 0.5rem 0;
}

.privacy-contact-info p {
	font-size: 0.92rem;
	color: #a3adc2;
	margin: 0;
	max-width: 500px;
}

.privacy-contact-action {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	flex-shrink: 0;
}

.privacy-btn-support {
	background: #3E8E30 !important;
	color: #ffffff !important;
	padding: 12px 24px;
	border-radius: 10px;
	font-family: var(--font-headings, 'Outfit', sans-serif);
	font-size: 0.95rem;
	font-weight: 700;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	box-shadow: 0 4px 16px rgba(62, 142, 48, 0.4);
	transition: all 0.25s ease;
}

.privacy-btn-support:hover {
	background: #2f6d24 !important;
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(62, 142, 48, 0.6);
}

/* ==========================================================================
   6. ELEMENTOR & RANK MATH HOOKS
   ========================================================================== */
.privacy-editor-content-container {
	margin-top: 2rem;
	width: 100%;
}

.privacy-editor-content-container.entry-content:empty {
	display: none;
}

/* Responsive Overrides */
@media (max-width: 991.98px) {
	.privacy-toc-wrapper {
		position: static;
		margin-bottom: 2rem;
	}
}
