/* ==========================================================================
   Legal Pro - Main Stylesheet
   Color system: Navy (primary) + Gold (secondary) + Cream (accent)
   ========================================================================== */

:root {
	--lp-primary: #0B1F3A;
	--lp-primary-700: #0A1A30;
	--lp-primary-800: #08152A;
	--lp-secondary: #C9A24B;
	--lp-secondary-700: #A6802F;
	--lp-secondary-300: #E5C271;
	--lp-accent: #F5EFE2;
	--lp-cream: #FAF6EC;
	--lp-dark: #0A1628;
	--lp-light: #FFFFFF;
	--lp-text: #1F2A3D;
	--lp-text-muted: #5B6577;
	--lp-border: #E6E1D2;
	--lp-radius: 6px;
	--lp-radius-lg: 14px;
	--lp-shadow-sm: 0 2px 6px rgba(11, 31, 58, 0.06);
	--lp-shadow: 0 12px 36px rgba(11, 31, 58, 0.10);
	--lp-shadow-lg: 0 24px 64px rgba(11, 31, 58, 0.18);
	--lp-font-ar: 'Tajawal', 'Segoe UI', Tahoma, sans-serif;
	--lp-font-serif: 'Cormorant Garamond', 'Times New Roman', serif;
	--lp-container: 1240px;
}

/* Base */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.lp-body {
	margin: 0;
	font-family: var(--lp-font-ar);
	color: var(--lp-text);
	background: var(--lp-light);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	font-weight: 400;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lp-primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--lp-secondary-700); }
::selection { background: var(--lp-secondary); color: var(--lp-primary); }

.lp-container { max-width: var(--lp-container); margin: 0 auto; padding: 0 24px; }
.lp-narrow { max-width: 820px; }

.screen-reader-text { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { left: 12px; top: 12px; width: auto; height: auto; padding: 8px 16px; background: var(--lp-primary); color: #fff; z-index: 9999; border-radius: 4px; }

/* ===== Buttons ===== */
.lp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 13px 28px;
	font-family: var(--lp-font-ar);
	font-weight: 700;
	font-size: 15px;
	border: 1.5px solid transparent;
	border-radius: var(--lp-radius);
	cursor: pointer;
	transition: transform .25s ease, background-color .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
	line-height: 1;
	white-space: nowrap;
}
.lp-btn-primary { background: var(--lp-primary); color: #fff; border-color: var(--lp-primary); }
.lp-btn-primary:hover { background: var(--lp-primary-800); color: #fff; transform: translateY(-2px); box-shadow: var(--lp-shadow); }
.lp-btn-secondary { background: var(--lp-secondary); color: var(--lp-primary); border-color: var(--lp-secondary); }
.lp-btn-secondary:hover { background: var(--lp-secondary-700); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(201, 162, 75, .35); }
.lp-btn-outline { background: transparent; color: var(--lp-primary); border-color: var(--lp-primary); }
.lp-btn-outline:hover { background: var(--lp-primary); color: #fff; }
.lp-btn-ghost { background: transparent; color: var(--lp-primary); border-color: var(--lp-border); }
.lp-btn-ghost:hover { background: var(--lp-accent); color: var(--lp-primary); }
.lp-btn-lg { padding: 16px 34px; font-size: 16px; }
.lp-btn-block { width: 100%; }
.lp-btn-pill { border-radius: 999px; padding: 11px 24px; }
.lp-arrow { display: inline-block; transition: transform .25s ease; }
.lp-btn:hover .lp-arrow { transform: translateX(-4px); }
html[dir="ltr"] .lp-btn:hover .lp-arrow { transform: translateX(4px); }

/* ===== Header ===== */
.lp-site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255,255,255,0.92);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--lp-border);
}
.lp-header-inner {
	display: flex;
	align-items: center;
	gap: 32px;
	padding: 18px 24px;
}
.lp-brand { flex-shrink: 0; }
.lp-logo-link img, .lp-logo-img { max-height: 48px; width: auto; }
.lp-logo-text { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: var(--lp-primary); font-size: 20px; }
.lp-logo-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px; height: 42px;
	background: var(--lp-primary);
	color: var(--lp-secondary);
	border-radius: 8px;
	font-family: var(--lp-font-serif);
	font-size: 22px;
	font-weight: 700;
}
.lp-logo-mark span { color: #fff; }
.lp-logo-name { font-family: var(--lp-font-ar); }

.lp-primary-nav { flex: 1; }
.lp-menu {
	display: flex;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
	justify-content: center;
}
.lp-menu li a {
	display: block;
	padding: 10px 18px;
	color: var(--lp-text);
	font-weight: 500;
	font-size: 15px;
	position: relative;
	transition: color .2s ease;
}
.lp-menu li a::after {
	content: '';
	position: absolute;
	bottom: 4px;
	left: 18px;
	right: 18px;
	height: 2px;
	background: var(--lp-secondary);
	transform: scaleX(0);
	transition: transform .25s ease;
}
.lp-menu li a:hover { color: var(--lp-primary); }
.lp-menu li a:hover::after, .lp-menu li.current-menu-item a::after { transform: scaleX(1); }

.lp-header-actions { display: flex; align-items: center; gap: 12px; }
.lp-menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.lp-menu-toggle span { display: block; width: 24px; height: 2px; background: var(--lp-primary); margin: 5px 0; transition: transform .2s ease; }

/* ===== Hero ===== */
.lp-hero {
	position: relative;
	background: linear-gradient(135deg, var(--lp-primary) 0%, var(--lp-primary-800) 100%);
	color: #fff;
	overflow: hidden;
	padding: 100px 0 120px;
}
.lp-hero-pattern {
	position: absolute;
	inset: 0;
	color: var(--lp-secondary);
	opacity: 0.5;
	pointer-events: none;
}
.lp-hero-pattern svg { width: 100%; height: 100%; }
.lp-hero::before {
	content: '';
	position: absolute;
	top: -160px;
	left: -120px;
	width: 460px; height: 460px;
	background: radial-gradient(circle, rgba(201,162,75,0.18) 0%, transparent 70%);
	pointer-events: none;
}
.lp-hero::after {
	content: '';
	position: absolute;
	bottom: -200px;
	right: -120px;
	width: 540px; height: 540px;
	background: radial-gradient(circle, rgba(201,162,75,0.12) 0%, transparent 70%);
	pointer-events: none;
}

.lp-hero-grid {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: 60px;
	align-items: center;
}

.lp-hero-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--lp-secondary-300);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 2px;
	text-transform: uppercase;
	margin-bottom: 22px;
	animation: lpFadeUp .6s ease both;
}
.lp-hero-eyebrow-dash { display: inline-block; width: 40px; height: 2px; background: var(--lp-secondary); }

.lp-hero-title {
	font-family: var(--lp-font-ar);
	font-size: clamp(36px, 5.4vw, 64px);
	line-height: 1.15;
	margin: 0 0 22px;
	font-weight: 800;
	color: #fff;
	animation: lpFadeUp .7s ease .1s both;
}
.lp-hero-subtitle {
	font-size: 18px;
	color: rgba(255,255,255,0.78);
	margin: 0 0 38px;
	max-width: 560px;
	animation: lpFadeUp .8s ease .2s both;
}
.lp-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; animation: lpFadeUp .9s ease .3s both; }
.lp-hero-actions .lp-btn-ghost { color: #fff; border-color: rgba(255,255,255,0.3); }
.lp-hero-actions .lp-btn-ghost:hover { background: rgba(255,255,255,0.08); color: #fff; }

.lp-hero-trust { display: flex; gap: 48px; flex-wrap: wrap; animation: lpFadeUp 1s ease .4s both; }
.lp-trust-item { display: flex; flex-direction: column; gap: 4px; }
.lp-trust-item strong { font-family: var(--lp-font-serif); font-size: 36px; color: var(--lp-secondary); line-height: 1; font-weight: 600; }
.lp-trust-item span { font-size: 13px; color: rgba(255,255,255,0.7); letter-spacing: 0.5px; }

/* Hero visual */
.lp-hero-visual {
	position: relative;
	animation: lpFadeUp 1s ease .3s both;
}
.lp-hero-card {
	background: linear-gradient(160deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
	backdrop-filter: blur(18px);
	border: 1px solid rgba(201,162,75,0.25);
	border-radius: var(--lp-radius-lg);
	padding: 40px 30px;
	color: #fff;
	text-align: center;
	position: relative;
	overflow: hidden;
}
.lp-hero-card-stripe {
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--lp-secondary), var(--lp-secondary-300));
}
.lp-hero-emblem { color: var(--lp-secondary); margin: 0 auto 20px; }
.lp-hero-card h3 { font-family: var(--lp-font-serif); font-size: 28px; margin: 0 0 10px; color: var(--lp-secondary-300); }
.lp-hero-card p { color: rgba(255,255,255,0.7); margin: 0; }
.lp-hero-badge {
	position: absolute;
	background: var(--lp-light);
	color: var(--lp-primary);
	padding: 10px 16px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	box-shadow: var(--lp-shadow);
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.lp-hero-badge-1 { top: 10px; right: -10px; }
.lp-hero-badge-2 { bottom: 20px; left: -20px; background: var(--lp-secondary); }
.lp-dot { width: 8px; height: 8px; border-radius: 50%; background: #10B981; animation: lpPulse 2s ease infinite; }

@keyframes lpFadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes lpPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0.5); } 50% { box-shadow: 0 0 0 8px rgba(16,185,129,0); } }

/* ===== Sections common ===== */
.lp-section-eyebrow {
	display: inline-block;
	color: var(--lp-secondary-700);
	font-weight: 700;
	letter-spacing: 3px;
	text-transform: uppercase;
	font-size: 12px;
	margin-bottom: 14px;
}
.lp-section-title {
	font-family: var(--lp-font-serif);
	font-size: clamp(28px, 3.6vw, 44px);
	color: var(--lp-primary);
	margin: 0 0 18px;
	line-height: 1.2;
	font-weight: 600;
}
.lp-section-text { color: var(--lp-text-muted); font-size: 17px; margin: 0 0 24px; }
.lp-section-head-center { text-align: center; max-width: 720px; margin: 0 auto 56px; }

/* ===== About ===== */
.lp-about { padding: 110px 0; background: var(--lp-cream); position: relative; }
.lp-about-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 70px; align-items: center; }

.lp-features-list { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-direction: column; gap: 20px; }
.lp-features-list li { display: flex; gap: 18px; align-items: flex-start; }
.lp-features-list .lp-feature-icon {
	flex-shrink: 0;
	width: 36px; height: 36px;
	background: var(--lp-primary);
	color: var(--lp-secondary);
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
}
.lp-features-list strong { display: block; color: var(--lp-primary); font-size: 17px; margin-bottom: 4px; }
.lp-features-list p { margin: 0; color: var(--lp-text-muted); font-size: 15px; }

.lp-about-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.lp-stat-card {
	background: #fff;
	border-radius: var(--lp-radius-lg);
	padding: 36px 24px;
	border: 1px solid var(--lp-border);
	display: flex;
	flex-direction: column;
	gap: 8px;
	text-align: center;
	box-shadow: var(--lp-shadow-sm);
	transition: transform .3s ease;
}
.lp-stat-card:nth-child(2) { transform: translateY(28px); }
.lp-stat-card:hover { transform: translateY(-6px); }
.lp-stat-card:nth-child(2):hover { transform: translateY(22px); }
.lp-stat-card-gold { background: var(--lp-primary); color: #fff; border-color: var(--lp-primary); }
.lp-stat-number { font-family: var(--lp-font-serif); font-size: 52px; line-height: 1; color: var(--lp-primary); font-weight: 700; }
.lp-stat-card-gold .lp-stat-number { color: var(--lp-secondary); }
.lp-stat-label { font-size: 14px; color: var(--lp-text-muted); }
.lp-stat-card-gold .lp-stat-label { color: rgba(255,255,255,0.7); }

/* ===== Packages ===== */
.lp-packages-section { padding: 120px 0; background: #fff; }
.lp-packages-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 28px;
	align-items: stretch;
}

.lp-package {
	position: relative;
	background: #fff;
	border: 1px solid var(--lp-border);
	border-radius: var(--lp-radius-lg);
	padding: 40px 32px;
	display: flex;
	flex-direction: column;
	transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.lp-package:hover {
	transform: translateY(-6px);
	box-shadow: var(--lp-shadow);
	border-color: var(--lp-secondary);
}
.lp-package-featured {
	background: var(--lp-primary);
	color: #fff;
	border-color: var(--lp-primary);
	transform: scale(1.04);
	box-shadow: var(--lp-shadow-lg);
}
.lp-package-featured:hover { transform: scale(1.04) translateY(-6px); }
.lp-package-featured .lp-package-title { color: #fff; }
.lp-package-featured .lp-price-amount { color: var(--lp-secondary); }
.lp-package-featured .lp-package-features li { color: rgba(255,255,255,0.85); }
.lp-package-featured .lp-feature-tick { background: var(--lp-secondary); color: var(--lp-primary); }

.lp-package-badge {
	position: absolute;
	top: -14px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--lp-secondary);
	color: var(--lp-primary);
	padding: 7px 18px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.5px;
	box-shadow: 0 8px 18px rgba(201,162,75,0.4);
}

.lp-package-head { margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px dashed rgba(0,0,0,0.08); }
.lp-package-featured .lp-package-head { border-color: rgba(255,255,255,0.12); }
.lp-package-title { font-family: var(--lp-font-serif); font-size: 28px; color: var(--lp-primary); margin: 0 0 14px; font-weight: 600; }
.lp-package-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.lp-price-amount { font-family: var(--lp-font-serif); font-size: 52px; color: var(--lp-primary); font-weight: 700; line-height: 1; }
.lp-price-currency { color: var(--lp-text-muted); font-size: 14px; }
.lp-package-featured .lp-price-currency { color: rgba(255,255,255,0.6); }
.lp-price-old {
	display: block;
	flex-basis: 100%;
	font-family: var(--lp-font-serif);
	font-size: 24px;
	color: rgba(0,0,0,0.45);
	text-decoration: line-through;
	text-decoration-color: rgba(220, 38, 38, 0.9);
	text-decoration-thickness: 2.5px;
	margin: 0 0 -2px;
	font-weight: 600;
	letter-spacing: 0.5px;
	line-height: 1;
}
.lp-package-featured .lp-price-old {
	color: rgba(255,255,255,0.55);
	text-decoration-color: rgba(252, 165, 165, 0.95);
}
.lp-price-free {
	display: inline-block;
	font-family: var(--lp-font-serif);
	font-size: 44px;
	font-weight: 800;
	color: #059669;
	background: rgba(16,185,129,0.10);
	border: 1.5px solid rgba(16,185,129,0.35);
	padding: 4px 26px;
	border-radius: 999px;
	letter-spacing: 0.5px;
	line-height: 1.15;
}
.lp-package-featured .lp-price-free {
	color: #6ee7b7;
	background: rgba(16,185,129,0.18);
	border-color: rgba(110,231,183,0.55);
}
.lp-package-free { /* free plan card subtle accent */ }

.lp-package-features {
	list-style: none;
	padding: 0;
	margin: 0 0 30px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	flex: 1;
}
.lp-package-features li {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	font-size: 15px;
	color: var(--lp-text);
}
.lp-feature-tick {
	flex-shrink: 0;
	width: 22px; height: 22px;
	background: rgba(201,162,75,0.15);
	color: var(--lp-secondary-700);
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: 800;
}

/* ===== CTA Banner ===== */
.lp-cta-banner {
	background: var(--lp-primary);
	color: #fff;
	padding: 72px 0;
	position: relative;
	overflow: hidden;
}
.lp-cta-banner::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 80% 20%, rgba(201,162,75,0.15), transparent 50%);
}
.lp-cta-inner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	flex-wrap: wrap;
}
.lp-cta-inner h2 { font-family: var(--lp-font-serif); font-size: 34px; color: #fff; margin: 0 0 8px; }
.lp-cta-inner p { color: rgba(255,255,255,0.75); margin: 0; }

/* ===== Footer ===== */
.lp-site-footer {
	background: var(--lp-primary);
	color: rgba(255,255,255,0.78);
	padding: 80px 0 0;
	position: relative;
	overflow: hidden;
}
.lp-footer-pattern {
	position: absolute;
	inset: 0;
	background-image:
		radial-gradient(circle at 1px 1px, rgba(201,162,75,0.08) 1px, transparent 0);
	background-size: 24px 24px;
	pointer-events: none;
	opacity: 0.6;
}
.lp-footer-grid {
	position: relative;
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
	gap: 50px;
	padding-bottom: 60px;
}
.lp-footer-col h4.lp-footer-title {
	font-family: var(--lp-font-serif);
	font-size: 19px;
	color: var(--lp-secondary);
	margin: 0 0 22px;
	font-weight: 600;
	position: relative;
	padding-bottom: 10px;
}
.lp-footer-col h4.lp-footer-title::after {
	content: '';
	position: absolute;
	bottom: 0;
	width: 32px;
	height: 2px;
	background: var(--lp-secondary);
	left: 0;
}
html[dir="rtl"] .lp-footer-col h4.lp-footer-title::after { left: auto; right: 0; }

.lp-footer-brand .lp-logo-text { color: #fff; }
.lp-footer-brand .lp-logo-mark { background: var(--lp-secondary); color: var(--lp-primary); }
.lp-footer-brand .lp-logo-mark span { color: var(--lp-primary-800); }
.lp-footer-logo { max-height: 60px; margin-bottom: 18px; }
.lp-footer-about { color: rgba(255,255,255,0.65); font-size: 15px; line-height: 1.8; margin: 14px 0 24px; }

.lp-social-row { display: flex; gap: 10px; flex-wrap: wrap; }
.lp-social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px; height: 38px;
	background: rgba(255,255,255,0.05);
	border: 1px solid rgba(255,255,255,0.1);
	border-radius: 8px;
	color: rgba(255,255,255,0.7);
	transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.lp-social-link:hover {
	background: var(--lp-secondary);
	color: var(--lp-primary);
	border-color: var(--lp-secondary);
	transform: translateY(-3px);
}

.lp-footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.lp-footer-links a {
	color: rgba(255,255,255,0.7);
	font-size: 15px;
	transition: color .2s ease, padding .2s ease;
	display: inline-block;
}
.lp-footer-links a:hover { color: var(--lp-secondary); padding-inline-start: 6px; }

.lp-contact-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.lp-contact-list li { display: flex; gap: 12px; align-items: flex-start; color: rgba(255,255,255,0.78); font-size: 15px; }
.lp-contact-list a { color: rgba(255,255,255,0.78); }
.lp-contact-list a:hover { color: var(--lp-secondary); }
.lp-contact-icon {
	flex-shrink: 0;
	width: 32px; height: 32px;
	background: rgba(201,162,75,0.12);
	color: var(--lp-secondary);
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.lp-footer-newsletter-text { color: rgba(255,255,255,0.65); font-size: 14px; margin: 0 0 14px; }
.lp-newsletter-form { display: flex; gap: 8px; flex-wrap: wrap; }
.lp-newsletter-form input[type="email"] {
	flex: 1; min-width: 0;
	padding: 12px 14px;
	background: rgba(255,255,255,0.06);
	border: 1px solid rgba(255,255,255,0.12);
	border-radius: var(--lp-radius);
	color: #fff;
	font-family: inherit;
	font-size: 14px;
}
.lp-newsletter-form input[type="email"]::placeholder { color: rgba(255,255,255,0.4); }
.lp-newsletter-form input[type="email"]:focus { outline: none; border-color: var(--lp-secondary); background: rgba(255,255,255,0.1); }

.lp-footer-bottom {
	position: relative;
	border-top: 1px solid rgba(255,255,255,0.08);
	padding: 26px 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 14px;
}
.lp-copyright { color: rgba(255,255,255,0.55); font-size: 14px; margin: 0; }
.lp-footer-bottom-menu { list-style: none; padding: 0; margin: 0; display: flex; gap: 24px; }
.lp-footer-bottom-menu a { color: rgba(255,255,255,0.55); font-size: 14px; }
.lp-footer-bottom-menu a:hover { color: var(--lp-secondary); }

/* ===== 404 page ===== */
.lp-error-404 { padding: 100px 0; background: var(--lp-cream); min-height: 70vh; display: flex; align-items: center; }
.lp-404-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.lp-404-svg { color: var(--lp-primary); width: 100%; height: auto; }
.lp-404-title { font-family: var(--lp-font-serif); font-size: clamp(28px, 3.6vw, 44px); color: var(--lp-primary); margin: 0 0 16px; font-weight: 600; }
.lp-404-text { color: var(--lp-text-muted); font-size: 17px; margin: 0 0 30px; }
.lp-404-search { display: flex; gap: 10px; margin-bottom: 26px; flex-wrap: wrap; }
.lp-404-search input[type="search"] {
	flex: 1; min-width: 200px;
	padding: 14px 18px;
	border: 1.5px solid var(--lp-border);
	background: #fff;
	border-radius: var(--lp-radius);
	font-family: inherit;
	font-size: 15px;
}
.lp-404-search input:focus { outline: none; border-color: var(--lp-secondary); box-shadow: 0 0 0 4px rgba(201,162,75,0.15); }
.lp-404-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ===== Page sections ===== */
.lp-page-section { padding: 90px 0; background: #fff; }
.lp-page-head { margin-bottom: 40px; text-align: center; }
.lp-page-head .lp-page-title { font-family: var(--lp-font-serif); font-size: clamp(30px, 4vw, 48px); color: var(--lp-primary); margin: 0; font-weight: 600; }
.lp-post-meta { color: var(--lp-text-muted); font-size: 14px; margin-bottom: 12px; }
.lp-posts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.lp-post-card { background: #fff; border: 1px solid var(--lp-border); border-radius: var(--lp-radius-lg); overflow: hidden; transition: transform .3s ease, box-shadow .3s ease; }
.lp-post-card:hover { transform: translateY(-4px); box-shadow: var(--lp-shadow); }
.lp-post-body { padding: 24px; }
.lp-post-title { font-family: var(--lp-font-serif); font-size: 22px; margin: 0 0 12px; font-weight: 600; }
.lp-post-title a { color: var(--lp-primary); }
.lp-post-excerpt { color: var(--lp-text-muted); margin-bottom: 16px; }
.lp-link-arrow { color: var(--lp-secondary-700); font-weight: 700; }

.lp-single-thumb { border-radius: var(--lp-radius-lg); overflow: hidden; margin-bottom: 30px; }
.lp-single-content { font-size: 17px; line-height: 1.85; }
.lp-single-content h2, .lp-single-content h3 { font-family: var(--lp-font-serif); color: var(--lp-primary); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
	.lp-hero-grid, .lp-about-grid, .lp-404-inner { grid-template-columns: 1fr; gap: 50px; }
	.lp-footer-grid { grid-template-columns: 1fr 1fr; }
	.lp-hero-visual { max-width: 420px; margin: 0 auto; }
}
@media (max-width: 768px) {
	.lp-primary-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--lp-border); padding: 20px; }
	.lp-primary-nav.is-open { display: block; }
	.lp-menu { flex-direction: column; gap: 0; align-items: stretch; }
	.lp-menu li a { padding: 14px 16px; border-bottom: 1px solid var(--lp-border); }
	.lp-menu li a::after { display: none; }
	.lp-menu-toggle { display: block; }
	.lp-header-actions .lp-btn { display: none; }

	.lp-hero { padding: 70px 0 90px; }
	.lp-hero-trust { gap: 28px; }
	.lp-trust-item strong { font-size: 28px; }
	.lp-about, .lp-packages-section, .lp-page-section { padding: 70px 0; }
	.lp-package-featured { transform: none; }
	.lp-package-featured:hover { transform: translateY(-6px); }
	.lp-footer-grid { grid-template-columns: 1fr; gap: 36px; padding-bottom: 40px; }
	.lp-footer-bottom { flex-direction: column; text-align: center; }
	.lp-cta-inner { flex-direction: column; text-align: center; }
}

/* ===== Billing Toggle ===== */
.lp-billing-toggle {
	display: inline-flex;
	gap: 6px;
	margin-top: 26px;
	padding: 6px;
	background: var(--lp-cream);
	border: 1px solid var(--lp-border);
	border-radius: 999px;
}
.lp-bill-opt {
	background: transparent;
	border: 0;
	color: var(--lp-text-muted);
	padding: 10px 22px;
	border-radius: 999px;
	font-family: inherit;
	font-weight: 700;
	font-size: 14px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	transition: background-color .25s ease, color .25s ease;
}
.lp-bill-opt:hover { color: var(--lp-primary); }
.lp-bill-opt.is-active {
	background: var(--lp-primary);
	color: #fff;
	box-shadow: 0 6px 18px rgba(11,31,58,.18);
}
.lp-bill-save {
	background: var(--lp-secondary);
	color: var(--lp-primary);
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 800;
}
.lp-bill-opt.is-active .lp-bill-save { background: var(--lp-secondary-300); }

/* When yearly is selected on grid, slight animation on prices */
.lp-packages-grid[data-billing="yearly"] .lp-price-amount,
.lp-packages-grid[data-billing="monthly"] .lp-price-amount { transition: opacity .2s ease; }

/* ===== Expiry banner (frontend) ===== */
.lp-expiry-banner {
	background: linear-gradient(90deg, #B5341A, #D4521C);
	color: #fff;
	padding: 12px 0;
	position: sticky;
	top: 0;
	z-index: 200;
	box-shadow: 0 4px 12px rgba(181,52,26,.25);
}
.lp-expiry-inner {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
	justify-content: center;
	font-size: 14px;
	font-weight: 500;
}
.lp-expiry-icon { display: inline-flex; }
.lp-expiry-text { flex: 1; min-width: 200px; text-align: center; }
.lp-expiry-cta {
	color: #fff;
	background: rgba(255,255,255,0.15);
	border: 1px solid rgba(255,255,255,0.3);
	padding: 6px 14px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 13px;
	transition: background-color .2s ease;
}
.lp-expiry-cta:hover { background: rgba(255,255,255,0.25); color: #fff; }

/* Admin notice for expiry */
.lp-admin-expiry { border-left-color: #D4521C !important; }

/* ===== Subscriber Dashboard (subsite) ===== */
.lp-dashboard {
	padding: 60px 0 80px;
	background: linear-gradient(180deg, var(--lp-cream) 0%, #fff 60%);
	min-height: 70vh;
}
.lp-dash-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 24px;
	flex-wrap: wrap;
	margin-bottom: 40px;
	padding-bottom: 28px;
	border-bottom: 1px solid var(--lp-border);
}
.lp-dash-title {
	font-family: var(--lp-font-serif);
	font-size: clamp(28px, 4vw, 42px);
	color: var(--lp-primary);
	margin: 8px 0 6px;
	font-weight: 600;
}
.lp-dash-title span { color: var(--lp-secondary-700); }
.lp-dash-subtitle { color: var(--lp-text-muted); margin: 0; font-size: 15px; }
.lp-dash-quick-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.lp-dash-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 28px;
	margin-bottom: 28px;
}

.lp-dash-card {
	background: #fff;
	border: 1px solid var(--lp-border);
	border-radius: var(--lp-radius-lg);
	padding: 32px;
	box-shadow: var(--lp-shadow-sm);
}

.lp-dash-label {
	display: block;
	font-size: 12px;
	color: var(--lp-text-muted);
	text-transform: uppercase;
	letter-spacing: 1.5px;
	font-weight: 600;
	margin-bottom: 6px;
}

.lp-dash-sub-card {
	position: relative;
	overflow: hidden;
	background: linear-gradient(135deg, #fff 0%, #FAF6EC 100%);
	border-color: rgba(201,162,75,0.3);
}
.lp-dash-sub-card::before {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--lp-secondary), var(--lp-secondary-300));
}

.lp-dash-sub-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.lp-dash-plan { font-family: var(--lp-font-serif); font-size: 30px; color: var(--lp-primary); margin: 0; font-weight: 600; }
.lp-dash-status {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 16px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	background: #E8F5E9;
	color: #2E7D32;
}
.lp-status-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.lp-dash-status.is-trial { background: #FFF8E1; color: #B7791F; }
.lp-dash-status.is-expired { background: #FFEBEE; color: #C62828; }
.lp-dash-status.is-suspended { background: #ECEFF1; color: #455A64; }

.lp-dash-price-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 0;
	border-bottom: 1px dashed var(--lp-border);
	margin-bottom: 20px;
	flex-wrap: wrap;
}
.lp-dash-price { font-family: var(--lp-font-serif); font-size: 44px; color: var(--lp-primary); font-weight: 700; line-height: 1; }
.lp-dash-price small { font-size: 14px; color: var(--lp-text-muted); font-weight: 400; margin-inline-start: 6px; }
.lp-dash-billing-pill {
	background: var(--lp-primary);
	color: var(--lp-secondary);
	padding: 7px 14px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
}

.lp-dash-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin: 20px 0;
}
.lp-dash-stat strong { display: block; font-size: 18px; color: var(--lp-primary); font-weight: 700; font-family: var(--lp-font-serif); }
.lp-dash-stat strong.is-warning { color: #C62828; }

.lp-dash-progress {
	width: 100%;
	height: 8px;
	background: var(--lp-border);
	border-radius: 999px;
	overflow: hidden;
	margin: 18px 0 6px;
}
.lp-dash-progress-bar {
	height: 100%;
	background: linear-gradient(90deg, var(--lp-secondary-700), var(--lp-secondary));
	transition: width .8s ease;
}
.lp-dash-progress-labels {
	display: flex;
	justify-content: space-between;
	font-size: 12px;
	color: var(--lp-text-muted);
	margin-bottom: 18px;
}

.lp-dash-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.lp-dash-side { display: grid; gap: 16px; }
.lp-dash-mini {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 18px 22px;
}
.lp-dash-mini-icon {
	width: 44px; height: 44px;
	flex-shrink: 0;
	border-radius: 12px;
	background: rgba(201,162,75,0.14);
	color: var(--lp-secondary-700);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.lp-dash-mini strong { display: block; font-size: 20px; color: var(--lp-primary); font-family: var(--lp-font-serif); }

.lp-dash-features-card { margin-top: 8px; }
.lp-dash-section-title { font-family: var(--lp-font-serif); font-size: 22px; color: var(--lp-primary); margin: 0 0 18px; font-weight: 600; }
.lp-dash-features { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.lp-dash-features li { display: flex; gap: 10px; align-items: flex-start; color: var(--lp-text); font-size: 15px; }

/* Subscription admin summary box */
.lp-sub-summary {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 16px;
	background: #fff;
	padding: 20px;
	border-radius: 8px;
	border: 1px solid #e2e4e7;
	margin: 12px 0 20px;
}
.lp-sub-summary.is-warning { border-color: #D4521C; background: #FFF4EE; }
.lp-sub-summary div span { display: block; font-size: 12px; color: #666; text-transform: uppercase; letter-spacing: 1px; }
.lp-sub-summary div strong { font-size: 18px; color: #0B1F3A; }

/* Coupon row admin */
.lp-coupon-row {
	background: #fafafa;
	border: 1px solid #e2e4e7;
	border-radius: 8px;
	padding: 18px;
	margin-bottom: 14px;
}

@media (max-width: 1024px) {
	.lp-dash-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
	.lp-dash-stats { grid-template-columns: 1fr; gap: 12px; }
	.lp-dash-head { flex-direction: column; align-items: stretch; }
	.lp-expiry-text { text-align: start; }
}

/* Greeting in header for subsites */
.lp-user-greet {
	color: var(--lp-primary);
	font-weight: 600;
	font-size: 14px;
	padding: 0 12px;
}
