:root {
	--oz-primary: #2563eb;
	--oz-primary-dark: #1d4ed8;
	--oz-secondary: #0f172a;
	--oz-text: #1e293b;
	--oz-muted: #64748b;
	--oz-light: #f8fafc;
	--oz-border: #e2e8f0;
	--oz-card: #ffffff;
	--oz-success: #059669;
	--oz-radius: 18px;
	--oz-shadow: 0 15px 45px rgba(15, 23, 42, 0.08);
}

html {
	scroll-behavior: smooth;
}

body {
	color: var(--oz-text);
	background: #fff;
	line-height: 1.7;
}

a {
	text-decoration: none;
}

.skip-link {
	position: fixed;
	left: 15px;
	top: -100px;
	z-index: 9999;
	background: #fff;
	color: #111827;
	padding: 12px 18px;
	border-radius: 8px;
	box-shadow: var(--oz-shadow);
}

.skip-link:focus {
	top: 15px;
}

/* Navbar */

.blog-navbar {
	background: rgba(15, 23, 42, 0.96);
	backdrop-filter: blur(12px);
	box-shadow: 0 4px 25px rgba(0, 0, 0, 0.12);
}

.blog-navbar .navbar-brand {
	font-weight: 700;
	color: #fff;
}

.blog-navbar .nav-link {
	color: rgba(255,255,255,.82);
	font-weight: 500;
	transition: .2s ease;
}

.blog-navbar .nav-link:hover,
.blog-navbar .nav-link.active {
	color: #fff;
}

.brand-logo {
	width: 42px;
	height: 42px;
	object-fit: contain;
}

/* Hero */

.blog-hero {
	position: relative;
	overflow: hidden;
	padding: 150px 0 95px;
	color: #fff;
	background:
		radial-gradient(circle at 80% 20%, rgba(59,130,246,.28), transparent 35%),
		radial-gradient(circle at 15% 80%, rgba(37,99,235,.20), transparent 35%),
		linear-gradient(135deg, #020617 0%, #0f172a 55%, #172554 100%);
}

.blog-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	opacity: .08;
	background-image:
		linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
	background-size: 45px 45px;
	pointer-events: none;
}

.hero-content {
	position: relative;
	z-index: 2;
}

.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 15px;
	border: 1px solid rgba(255,255,255,.18);
	border-radius: 999px;
	background: rgba(255,255,255,.07);
	color: #bfdbfe;
	font-size: .88rem;
	font-weight: 600;
	margin-bottom: 20px;
}

.hero-badge::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #60a5fa;
	box-shadow: 0 0 12px #60a5fa;
}

.blog-hero h1 {
	font-size: clamp(2.6rem, 6vw, 5rem);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -2px;
	margin-bottom: 24px;
}

.hero-description {
	max-width: 760px;
	color: #cbd5e1;
	font-size: 1.15rem;
	margin-bottom: 32px;
}

.hero-actions {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
}

.hero-stat-card {
	position: relative;
	z-index: 2;
	padding: 30px;
	border-radius: 24px;
	border: 1px solid rgba(255,255,255,.12);
	background: rgba(255,255,255,.07);
	backdrop-filter: blur(16px);
	box-shadow: 0 30px 80px rgba(0,0,0,.22);
}

.hero-stat-card h3 {
	font-size: 3rem;
	font-weight: 800;
	margin: 0;
}

.hero-stat-card p {
	color: #cbd5e1;
	margin: 0;
}

.stat-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 15px;
	margin-top: 25px;
}

.stat-item {
	padding: 18px;
	border-radius: 14px;
	background: rgba(255,255,255,.06);
}

.stat-item strong {
	display: block;
	color: #fff;
	font-size: 1.35rem;
}

.stat-item span {
	color: #94a3b8;
	font-size: .85rem;
}

/* Search */

.search-section {
	margin-top: -42px;
	position: relative;
	z-index: 10;
}

.search-panel {
	padding: 24px;
	background: #fff;
	border: 1px solid var(--oz-border);
	border-radius: 20px;
	box-shadow: var(--oz-shadow);
}

.search-box {
	position: relative;
}

.search-box svg {
	position: absolute;
	left: 18px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--oz-muted);
}

.search-box input {
	width: 100%;
	min-height: 58px;
	padding: 14px 20px 14px 52px;
	border: 1px solid var(--oz-border);
	border-radius: 14px;
	outline: none;
	font-size: 1rem;
	transition: .2s ease;
}

.search-box input:focus {
	border-color: var(--oz-primary);
	box-shadow: 0 0 0 4px rgba(37,99,235,.1);
}

/* Categories */

.category-section {
	padding: 70px 0 30px;
}

.section-heading {
	margin-bottom: 35px;
}

.section-heading .eyebrow {
	color: var(--oz-primary);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1.4px;
	font-size: .78rem;
}

.section-heading h2 {
	font-weight: 800;
	color: var(--oz-secondary);
	font-size: clamp(2rem, 4vw, 3rem);
	letter-spacing: -1px;
	margin-top: 8px;
}

.section-heading p {
	max-width: 720px;
	color: var(--oz-muted);
}

.category-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.category-btn {
	border: 1px solid var(--oz-border);
	background: #fff;
	color: var(--oz-text);
	padding: 9px 17px;
	border-radius: 999px;
	font-size: .9rem;
	font-weight: 600;
	transition: .2s ease;
	cursor: pointer;
}

.category-btn:hover,
.category-btn.active {
	background: var(--oz-primary);
	color: #fff;
	border-color: var(--oz-primary);
}

/* Featured */

.featured-section {
	padding: 55px 0 75px;
	background: var(--oz-light);
}

.featured-card {
	position: relative;
	overflow: hidden;
	min-height: 430px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 45px;
	color: #fff;
	border-radius: 26px;
	background:
		radial-gradient(circle at 80% 10%, rgba(59,130,246,.35), transparent 35%),
		linear-gradient(135deg, #0f172a, #172554);
	box-shadow: 0 25px 70px rgba(15,23,42,.16);
}

.featured-card::before {
	content: "</>";
	position: absolute;
	right: 45px;
	top: 25px;
	font-size: 9rem;
	font-weight: 900;
	color: rgba(255,255,255,.035);
	line-height: 1;
}

.featured-label {
	display: inline-block;
	width: fit-content;
	padding: 7px 13px;
	background: rgba(96,165,250,.14);
	border: 1px solid rgba(147,197,253,.2);
	border-radius: 999px;
	color: #bfdbfe;
	font-size: .78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .7px;
	margin-bottom: 18px;
}

.featured-card h3 {
	max-width: 750px;
	font-size: clamp(2rem, 4vw, 3.2rem);
	line-height: 1.15;
	font-weight: 800;
	letter-spacing: -1px;
}

.featured-card p {
	max-width: 720px;
	color: #cbd5e1;
	font-size: 1.05rem;
}

.article-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 13px;
	color: #94a3b8;
	font-size: .84rem;
	margin-top: 15px;
}

.featured-card .article-meta {
	color: #cbd5e1;
}

.article-meta span:not(:last-child)::after {
	content: "•";
	margin-left: 13px;
	color: #94a3b8;
}

/* Articles */

.articles-section {
	padding: 80px 0;
}

.article-card {
	height: 100%;
	display: flex;
	flex-direction: column;
	background: var(--oz-card);
	border: 1px solid var(--oz-border);
	border-radius: var(--oz-radius);
	padding: 27px;
	transition:
		transform .25s ease,
		box-shadow .25s ease,
		border-color .25s ease;
}

.article-card:hover {
	transform: translateY(-6px);
	border-color: rgba(37,99,235,.3);
	box-shadow: var(--oz-shadow);
}

.article-category {
	display: inline-flex;
	width: fit-content;
	padding: 6px 11px;
	border-radius: 999px;
	background: #eff6ff;
	color: #1d4ed8;
	font-size: .72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .55px;
	margin-bottom: 16px;
}

.article-card h3 {
	color: var(--oz-secondary);
	font-size: 1.3rem;
	line-height: 1.35;
	font-weight: 750;
	margin-bottom: 12px;
}

.article-card h3 a {
	color: inherit;
}

.article-card h3 a:hover {
	color: var(--oz-primary);
}

.article-card p {
	color: var(--oz-muted);
	font-size: .94rem;
	margin-bottom: 20px;
}

.article-card .article-meta {
	margin-top: auto;
	margin-bottom: 18px;
}

.read-link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--oz-primary);
	font-weight: 700;
	font-size: .9rem;
}

.read-link:hover {
	color: var(--oz-primary-dark);
	gap: 10px;
}

/* Results */

.results-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 15px;
	margin-bottom: 25px;
}

.results-count {
	color: var(--oz-muted);
	font-size: .9rem;
}

.no-results {
	display: none;
	padding: 70px 20px;
	text-align: center;
	color: var(--oz-muted);
}

.no-results h3 {
	color: var(--oz-secondary);
}

/* Topics */

.topics-section {
	padding: 80px 0;
	background: var(--oz-light);
}

.topic-card {
	height: 100%;
	padding: 28px;
	border-radius: 18px;
	background: #fff;
	border: 1px solid var(--oz-border);
	transition: .25s ease;
}

.topic-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--oz-shadow);
}

.topic-icon {
	width: 50px;
	height: 50px;
	display: grid;
	place-items: center;
	margin-bottom: 18px;
	border-radius: 14px;
	background: #eff6ff;
	color: var(--oz-primary);
	font-weight: 800;
	font-size: 1.25rem;
}

.topic-card h3 {
	color: var(--oz-secondary);
	font-size: 1.15rem;
	font-weight: 750;
}

.topic-card p {
	color: var(--oz-muted);
	font-size: .9rem;
	margin: 0;
}

/* CTA */

.cta-section {
	padding: 90px 0;
	color: #fff;
	background:
		radial-gradient(circle at 50% 0%, rgba(59,130,246,.3), transparent 35%),
		#020617;
}

.cta-section h2 {
	font-weight: 800;
	font-size: clamp(2rem, 4vw, 3.2rem);
}

.cta-section p {
	color: #94a3b8;
	max-width: 720px;
	margin: 18px auto 30px;
}

/* Footer */

.blog-footer {
	padding: 45px 0;
	background: #020617;
	color: #94a3b8;
	border-top: 1px solid rgba(255,255,255,.08);
}

.footer-links {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 25px;
	margin-bottom: 18px;
}

.footer-links a {
	color: #cbd5e1;
	font-size: .9rem;
}

.footer-links a:hover {
	color: #fff;
}

.blog-footer p {
	text-align: center;
	margin: 0;
	font-size: .85rem;
}

/* WhatsApp */

.whatsapp-float {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 1000;
	width: 58px;
	height: 58px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: #25d366;
	color: #fff;
	box-shadow: 0 10px 30px rgba(37,211,102,.35);
	transition: .2s ease;
}

.whatsapp-float:hover {
	color: #fff;
	transform: translateY(-3px) scale(1.04);
}

/* Responsive */

@media (max-width: 991px) {

	.blog-hero {
		padding: 130px 0 75px;
	}

	.hero-stat-card {
		margin-top: 20px;
	}

	.featured-card {
		padding: 32px;
	}
}

@media (max-width: 767px) {

	.blog-hero h1 {
		letter-spacing: -1px;
	}

	.search-panel {
		padding: 16px;
	}

	.featured-card {
		min-height: 390px;
		padding: 28px;
	}

	.article-card {
		padding: 23px;
	}

	.results-bar {
		align-items: flex-start;
		flex-direction: column;
	}

	.whatsapp-float {
		right: 15px;
		bottom: 15px;
		width: 52px;
		height: 52px;
	}
}

@media (prefers-reduced-motion: reduce) {

	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		transition: none !important;
		animation: none !important;
	}
}