/* LCFModGeeks — SaaS theme styles */

:root {
	--color-bg: #ffffff;
	--color-surface: #f7f8fb;
	--color-text: #0b1020;
	--color-muted: #5b6478;
	--color-border: #e6e8ef;
	--color-primary: #5b5bff;
	--color-primary-hover: #4747e6;
	--color-primary-contrast: #ffffff;
	--color-accent: #10b981;
	--radius: 12px;
	--radius-lg: 20px;
	--shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
	--shadow-md: 0 8px 24px rgba(15, 23, 42, .08);
	--shadow-lg: 0 20px 60px rgba(15, 23, 42, .12);
	--container: 1140px;
	--font-body: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
	--font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--font-body);
	color: var(--color-text);
	background: var(--color-bg);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }

p { margin: 0 0 1em; }

img { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

.sr-only, .screen-reader-text {
	position: absolute !important; width: 1px; height: 1px;
	padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.skip-link {
	position: absolute; left: -9999px; top: 0; background: #000; color: #fff; padding: 8px 12px; z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; }

/* Buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center;
	padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: .95rem;
	border: 1px solid transparent; cursor: pointer; transition: all .15s ease;
	text-decoration: none; line-height: 1;
}
.btn-lg { padding: 14px 24px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--color-primary); color: var(--color-primary-contrast); }
.btn-primary:hover { background: var(--color-primary-hover); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--color-text); border-color: var(--color-border); }
.btn-ghost:hover { background: var(--color-surface); text-decoration: none; }

/* Header */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255,255,255,.85); backdrop-filter: saturate(180%) blur(12px);
	border-bottom: 1px solid var(--color-border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.site-title { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--color-text); }
.site-nav { flex: 1; display: flex; justify-content: center; }
.primary-menu {
	list-style: none; padding: 0; margin: 0; display: flex; gap: 28px;
}
.primary-menu a { color: var(--color-text); font-weight: 500; font-size: .95rem; }
.primary-menu a:hover { color: var(--color-primary); text-decoration: none; }

.nav-toggle {
	display: none; width: 40px; height: 40px; border: 1px solid var(--color-border);
	background: #fff; border-radius: 10px; cursor: pointer; position: relative;
}
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
	content: ''; position: absolute; left: 10px; right: 10px; height: 2px; background: var(--color-text); border-radius: 2px;
}
.nav-toggle-bar { top: 50%; transform: translateY(-50%); }
.nav-toggle-bar::before { top: -6px; left: 0; right: 0; }
.nav-toggle-bar::after { top: 6px; left: 0; right: 0; }

@media (max-width: 860px) {
	.nav-toggle { display: block; }
	.site-nav { position: static; }
	.primary-menu {
		display: none; position: absolute; left: 0; right: 0; top: 68px;
		background: #fff; border-bottom: 1px solid var(--color-border);
		flex-direction: column; gap: 0; padding: 8px 20px;
	}
	.site-nav.is-open .primary-menu { display: flex; }
	.primary-menu li { padding: 12px 0; border-bottom: 1px solid var(--color-border); }
	.primary-menu li:last-child { border-bottom: none; }
	.header-cta .btn { padding: 8px 14px; font-size: .85rem; }
}

/* Hero */
.hero { position: relative; padding: 96px 0 80px; overflow: hidden; background: linear-gradient(180deg, #fafbff 0%, #ffffff 100%); }
.hero-inner { text-align: center; position: relative; z-index: 1; max-width: 820px; margin: 0 auto; }
.eyebrow {
	display: inline-block; padding: 6px 14px; border-radius: 999px;
	background: #eef0ff; color: var(--color-primary); font-weight: 600; font-size: .82rem;
	margin-bottom: 20px; letter-spacing: .02em;
}
.hero-title { margin-bottom: 20px; }
.hero-subtitle { font-size: 1.15rem; color: var(--color-muted); max-width: 640px; margin: 0 auto 32px; }
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }
.hero-trust { color: var(--color-muted); font-size: .9rem; }
.hero-glow {
	position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
	width: 900px; height: 500px; background: radial-gradient(closest-side, rgba(91,91,255,.25), transparent);
	filter: blur(60px); z-index: 0;
}

/* Sections */
.page-hero { padding: 80px 0 40px; background: linear-gradient(180deg, #fafbff, #fff); text-align: center; }
.page-hero .lead { color: var(--color-muted); font-size: 1.1rem; max-width: 700px; margin: 0 auto; }

.features { padding: 80px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head p { color: var(--color-muted); font-size: 1.05rem; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.feature-card {
	background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg);
	padding: 28px; transition: transform .2s ease, box-shadow .2s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-icon { font-size: 1.75rem; margin-bottom: 12px; }

.stats { padding: 40px 0 80px; }
.stats-grid {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px;
	background: var(--color-surface); padding: 40px; border-radius: var(--radius-lg);
	text-align: center;
}
.stats-grid strong { font-family: var(--font-display); font-size: 2rem; display: block; }
.stats-grid span { color: var(--color-muted); font-size: .95rem; }

.cta-band { padding: 80px 0; }
.cta-band-inner {
	background: linear-gradient(135deg, #5b5bff, #7c3aed); color: #fff;
	padding: 56px 40px; border-radius: var(--radius-lg); text-align: center;
	box-shadow: var(--shadow-lg);
}
.cta-band-inner h2 { color: #fff; }
.cta-band-inner p { color: rgba(255,255,255,.9); margin-bottom: 24px; }
.cta-band-inner .btn-primary { background: #fff; color: var(--color-primary); }
.cta-band-inner .btn-primary:hover { background: #f1f2ff; }

/* Tools */
.tools { padding: 60px 0 100px; }
.tool-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.tool-card {
	background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg);
	padding: 28px; display: flex; flex-direction: column;
}
.tool-card:hover { box-shadow: var(--shadow-md); }
.tool-icon { font-size: 2rem; margin-bottom: 12px; }
.tool-link { margin-top: auto; font-weight: 600; }

/* Pricing */
.pricing { padding: 40px 0 100px; }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-bottom: 80px; }
.plan-card {
	position: relative; background: #fff; border: 1px solid var(--color-border);
	border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column;
	transition: transform .2s ease, box-shadow .2s ease;
}
.plan-card:hover { transform: translateY(-4px); }
.plan-card.is-featured {
	border-color: var(--color-primary); box-shadow: var(--shadow-lg);
	transform: translateY(-4px);
}
.plan-badge {
	position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
	background: var(--color-primary); color: #fff; padding: 6px 14px;
	border-radius: 999px; font-size: .78rem; font-weight: 600;
}
.plan-name { font-family: var(--font-display); font-size: 1.1rem; color: var(--color-muted); margin-bottom: 8px; }
.plan-price { margin-bottom: 12px; }
.plan-price .amount { font-family: var(--font-display); font-size: 2.5rem; font-weight: 700; }
.plan-price .per { color: var(--color-muted); }
.plan-desc { color: var(--color-muted); font-size: .95rem; }
.plan-features { list-style: none; padding: 0; margin: 20px 0 28px; }
.plan-features li { padding: 8px 0 8px 26px; position: relative; border-bottom: 1px dashed var(--color-border); font-size: .95rem; }
.plan-features li::before { content: '✓'; color: var(--color-accent); font-weight: 700; position: absolute; left: 0; }
.plan-features li:last-child { border-bottom: none; }

.faq { max-width: 780px; margin: 0 auto; }
.faq h2 { text-align: center; margin-bottom: 32px; }
.faq-item {
	background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius);
	padding: 18px 22px; margin-bottom: 12px;
}
.faq-item summary { cursor: pointer; font-weight: 600; }
.faq-item p { margin: 12px 0 0; color: var(--color-muted); }

/* Blog / content */
.content-grid { display: grid; grid-template-columns: 1fr 300px; gap: 40px; padding: 60px 0; }
@media (max-width: 900px) { .content-grid { grid-template-columns: 1fr; } }
.post-grid { display: grid; gap: 24px; }
.post-card {
	background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg);
	overflow: hidden;
}
.post-card-body { padding: 24px; }
.post-card-title a { color: var(--color-text); }
.post-card-title a:hover { color: var(--color-primary); text-decoration: none; }
.post-card-meta { color: var(--color-muted); font-size: .85rem; margin-bottom: 12px; }

.single-post, .single-page { padding: 60px 0; max-width: 780px; }
.entry-header { margin-bottom: 32px; }
.entry-meta { color: var(--color-muted); font-size: .9rem; display: flex; gap: 16px; }
.entry-thumb { margin-bottom: 32px; border-radius: var(--radius-lg); overflow: hidden; }
.entry-content h2 { margin-top: 1.6em; }

.widget-area, .widget { margin-bottom: 32px; }
.widget-title { font-size: 1rem; margin-bottom: 12px; }

/* Footer */
.site-footer { background: #0b1020; color: #cbd0e0; padding: 60px 0 24px; margin-top: 80px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-col .widget-title { color: #fff; }
.footer-col a { color: #cbd0e0; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 24px; font-size: .9rem; }
.footer-menu { list-style: none; padding: 0; margin: 0; display: flex; gap: 20px; }

/* 404 */
.error-404 { text-align: center; padding: 100px 20px; }
.error-404 h1 { font-size: 6rem; margin-bottom: 0; }
.error-404 .search-form { display: flex; gap: 8px; justify-content: center; margin: 24px 0; }
.error-404 .search-field { padding: 10px 14px; border: 1px solid var(--color-border); border-radius: 999px; min-width: 260px; }
