/* =========================================================================
   AI Gear Tools — main.css
   Design system: violet (#6C63FF) + teal mint (#00D8A4) on cool off-white,
   Plus Jakarta Sans headings + Inter body, glassmorphism cards.
   ========================================================================= */

/* ---------- 1. Variables ---------- */
:root {
	--color-bg: #F7F8FC;
	--color-dark: #0F172A;
	--color-accent-1: #6C63FF;
	--color-accent-2: #00D8A4;
	--color-text: #1A1A2E;
	--color-text-secondary: #64748B;
	--color-border: #E2E8F0;
	--color-card: #FFFFFF;

	--gradient: linear-gradient(135deg, var(--color-accent-1), var(--color-accent-2));
	--gradient-text: linear-gradient(120deg, var(--color-accent-1), var(--color-accent-2));

	--font-head: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

	--radius: 12px;
	--radius-lg: 18px;
	--radius-pill: 999px;
	--shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
	--shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
	--shadow-lg: 0 18px 48px rgba(15, 23, 42, 0.14);
	--container: 1180px;
	--header-h: 76px;
	--transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark-mode-ready variable set (opt-in via .aigt-dark on <html> or prefers) */
@media (prefers-color-scheme: dark) {
	:root.aigt-auto-dark {
		--color-bg: #0B1120;
		--color-card: #131C31;
		--color-text: #E2E8F0;
		--color-text-secondary: #94A3B8;
		--color-border: #233049;
	}
}
:root.aigt-dark {
	--color-bg: #0B1120;
	--color-card: #131C31;
	--color-text: #E2E8F0;
	--color-text-secondary: #94A3B8;
	--color-border: #233049;
}

/* ---------- 2. Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.75;
	color: var(--color-text);
	background: var(--color-bg);
	-webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-head);
	color: var(--color-text);
	line-height: 1.2;
	margin: 0 0 0.5em;
	font-weight: 700;
}
h1 { font-size: 52px; font-weight: 800; }
h2 { font-size: 38px; }
h3 { font-size: 28px; }
h4 { font-size: 22px; font-weight: 600; }
p { margin: 0 0 1.2em; }
a { color: var(--color-accent-1); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-accent-2); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { padding-left: 1.25em; }

.aigt-container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.aigt-section { padding: 64px 0; }
.muted { color: var(--color-text-secondary); }

/* ---------- 3. Buttons ---------- */
.aigt-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 15px;
	padding: 12px 22px;
	border-radius: var(--radius-pill);
	border: 1.5px solid transparent;
	cursor: pointer;
	transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
	line-height: 1;
	text-align: center;
}
.aigt-btn-primary {
	background: var(--gradient);
	color: #fff;
	box-shadow: 0 6px 18px rgba(108, 99, 255, 0.32);
}
.aigt-btn-primary:hover {
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 10px 26px rgba(108, 99, 255, 0.42);
}
.aigt-btn-ghost {
	background: transparent;
	color: var(--color-text);
	border-color: var(--color-border);
}
.aigt-btn-ghost:hover {
	border-color: var(--color-accent-1);
	color: var(--color-accent-1);
	transform: translateY(-2px);
}

/* ---------- 4. Cards / Pills ---------- */
.aigt-card {
	background: var(--color-card);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
	transition: transform var(--transition), box-shadow var(--transition);
}
.aigt-pill {
	display: inline-block;
	font-family: var(--font-head);
	font-size: 12px;
	font-weight: 600;
	padding: 4px 12px;
	border-radius: var(--radius-pill);
	background: rgba(108, 99, 255, 0.1);
	color: var(--color-accent-1);
	margin-bottom: 10px;
}

/* Section headings with gradient accent */
.section-heading {
	font-size: 34px;
	background: var(--gradient-text);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	display: inline-block;
}
.section-heading--center { display: block; text-align: center; }
.section-head { margin-bottom: 36px; }
.section-head--center { text-align: center; }
.section-sub { color: var(--color-text-secondary); margin-top: -6px; }
.section-cta-row { text-align: center; margin-top: 32px; }

/* =========================================================================
   5. HEADER
   ========================================================================= */
.site-header {
	position: sticky;
	top: 0;
	z-index: 200;
	background: rgba(247, 248, 252, 0.82);
	backdrop-filter: saturate(180%) blur(14px);
	border-bottom: 1px solid transparent;
	transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.site-header.is-stuck {
	background: rgba(255, 255, 255, 0.92);
	border-bottom-color: var(--color-border);
	box-shadow: var(--shadow-sm);
}
.header-inner {
	display: flex;
	align-items: center;
	gap: 24px;
	height: var(--header-h);
}
.site-branding { flex: 0 0 auto; }
.brand-fallback { display: inline-flex; align-items: center; gap: 10px; }
.brand-wordmark {
	font-family: var(--font-head);
	font-weight: 800;
	font-size: 20px;
	color: var(--color-text);
	letter-spacing: -0.02em;
}
.main-navigation { flex: 1 1 auto; }
.primary-menu {
	display: flex;
	align-items: center;
	gap: 6px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.primary-menu li { position: relative; }
.primary-menu > li > a {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 15px;
	color: var(--color-text);
	padding: 8px 14px;
	border-radius: 8px;
	position: relative;
}
.primary-menu > li > a::after {
	content: "";
	position: absolute;
	left: 14px; right: 14px; bottom: 4px;
	height: 2px;
	background: var(--gradient);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform var(--transition);
}
.primary-menu > li > a:hover::after { transform: scaleX(1); }
.aigt-caret { transition: transform var(--transition); }
.aigt-has-dropdown:hover .aigt-caret { transform: rotate(180deg); }

/* Dropdown / mega */
.primary-menu .sub-menu {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	min-width: 220px;
	background: var(--color-card);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 8px;
	list-style: none;
	margin: 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: all var(--transition);
	z-index: 50;
}
.primary-menu li:hover > .sub-menu,
.primary-menu li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.primary-menu .sub-menu a {
	display: block;
	padding: 9px 12px;
	border-radius: 8px;
	font-size: 14px;
	color: var(--color-text);
}
.primary-menu .sub-menu a:hover { background: rgba(108, 99, 255, 0.08); color: var(--color-accent-1); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.search-toggle {
	background: none; border: none; cursor: pointer; color: var(--color-text);
	width: 40px; height: 40px; border-radius: 10px; display: inline-flex;
	align-items: center; justify-content: center; transition: background var(--transition);
}
.search-toggle:hover { background: rgba(108, 99, 255, 0.1); color: var(--color-accent-1); }

/* Hamburger */
.menu-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 42px; height: 42px;
	background: none; border: none; cursor: pointer;
	border-radius: 10px;
}
.menu-toggle span {
	display: block; width: 22px; height: 2px; background: var(--color-text);
	border-radius: 2px; transition: transform var(--transition), opacity var(--transition);
}

/* Search overlay */
.search-overlay {
	position: fixed;
	inset: 0;
	background: rgba(15, 23, 42, 0.6);
	backdrop-filter: blur(6px);
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding-top: 14vh;
	opacity: 0;
	visibility: hidden;
	transition: opacity var(--transition), visibility var(--transition);
	z-index: 300;
}
.search-overlay.is-open { opacity: 1; visibility: visible; }
.search-overlay-inner { width: min(640px, 90vw); position: relative; }
.search-close {
	position: absolute; top: -48px; right: 0; font-size: 36px; line-height: 1;
	background: none; border: none; color: #fff; cursor: pointer;
}
.search-hint { color: rgba(255,255,255,0.7); font-size: 14px; margin-top: 12px; text-align: center; }

/* Search form */
.aigt-search-form { display: flex; gap: 8px; }
.aigt-search-field {
	flex: 1;
	padding: 16px 20px;
	font-size: 16px;
	border-radius: var(--radius);
	border: 1px solid var(--color-border);
	background: var(--color-card);
	color: var(--color-text);
	font-family: var(--font-body);
}
.aigt-search-field:focus { outline: 2px solid var(--color-accent-1); border-color: transparent; }
.aigt-search-submit { flex: 0 0 auto; padding: 12px 18px; }

/* Mobile slide-in nav */
.mobile-nav {
	position: fixed; inset: 0; z-index: 320;
	visibility: hidden; opacity: 0; transition: all var(--transition);
}
.mobile-nav.is-open { visibility: visible; opacity: 1; }
.mobile-nav-backdrop { position: absolute; inset: 0; background: rgba(15,23,42,0.5); }
.mobile-nav-panel {
	position: absolute; top: 0; right: 0; height: 100%; width: min(320px, 84vw);
	background: var(--color-card); padding: 72px 24px 24px; overflow-y: auto;
	transform: translateX(100%); transition: transform var(--transition);
	box-shadow: var(--shadow-lg);
}
.mobile-nav.is-open .mobile-nav-panel { transform: translateX(0); }
.mobile-nav-close {
	position: absolute; top: 18px; right: 20px; font-size: 32px;
	background: none; border: none; cursor: pointer; color: var(--color-text);
}
.mobile-menu { list-style: none; margin: 0 0 20px; padding: 0; }
.mobile-menu li { border-bottom: 1px solid var(--color-border); }
.mobile-menu a { display: block; padding: 14px 4px; font-family: var(--font-head); font-weight: 600; color: var(--color-text); }
.mobile-cta { width: 100%; justify-content: center; }

/* =========================================================================
   6. HERO
   ========================================================================= */
.hero {
	position: relative;
	background: linear-gradient(160deg, #0F172A 0%, #1E293B 100%);
	color: #fff;
	overflow: hidden;
	padding: 88px 0 96px;
}
.hero-grid-bg {
	position: absolute; inset: 0;
	background-image:
		radial-gradient(circle at 1px 1px, rgba(255,255,255,0.08) 1px, transparent 0);
	background-size: 28px 28px;
	-webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 40%, transparent 100%);
	mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 40%, transparent 100%);
	animation: aigt-drift 24s linear infinite alternate;
}
@keyframes aigt-drift { from { background-position: 0 0; } to { background-position: 40px 40px; } }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.3fr 0.9fr; gap: 48px; align-items: center; }
.hero-eyebrow {
	font-family: var(--font-head); font-weight: 700; font-size: 13px;
	letter-spacing: 0.12em; color: var(--color-accent-2);
}
.hero-title {
	color: #fff; font-size: 54px; line-height: 1.08; margin: 14px 0 18px;
	background: linear-gradient(120deg, #fff 30%, #b9b4ff 70%, var(--color-accent-2));
	-webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-sub { font-size: 19px; color: rgba(226, 232, 240, 0.86); max-width: 38ch; }
.hero-cta { display: flex; gap: 14px; margin: 28px 0 32px; flex-wrap: wrap; }
.hero .aigt-btn-ghost { color: #fff; border-color: rgba(255,255,255,0.3); }
.hero .aigt-btn-ghost:hover { border-color: var(--color-accent-2); color: var(--color-accent-2); }
.hero-proof { display: flex; gap: 28px; flex-wrap: wrap; }
.hero-proof span { font-size: 14px; color: rgba(226,232,240,0.7); }
.hero-proof strong { display: block; font-family: var(--font-head); font-size: 24px; color: #fff; }

/* Floating mock review card */
.hero-card {
	background: rgba(255,255,255,0.07);
	border: 1px solid rgba(255,255,255,0.16);
	border-radius: var(--radius-lg);
	padding: 22px;
	backdrop-filter: blur(12px);
	box-shadow: var(--shadow-lg);
	animation: aigt-float 5s ease-in-out infinite;
}
@keyframes aigt-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.hero-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.hero-card-logo {
	width: 44px; height: 44px; border-radius: 12px; background: var(--gradient);
	display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; color: #fff;
}
.hero-card-name { display: block; font-family: var(--font-head); font-weight: 700; color: #fff; }
.hero-card-cat { font-size: 13px; color: rgba(226,232,240,0.65); }
.hero-card-badge {
	margin-left: auto; font-size: 11px; font-weight: 700; font-family: var(--font-head);
	background: var(--color-accent-2); color: #062b22; padding: 4px 10px; border-radius: var(--radius-pill);
}
.hero-card-bars { display: flex; flex-direction: column; gap: 8px; margin: 16px 0; }
.hero-card-bars .bar { height: 8px; background: rgba(255,255,255,0.12); border-radius: 6px; overflow: hidden; }
.hero-card-bars .bar span { display: block; height: 100%; background: var(--gradient); border-radius: 6px; }
.hero-card-price { font-family: var(--font-head); font-weight: 700; color: #fff; }

/* Star ratings */
.stars { display: inline-flex; gap: 2px; }
.stars .star { color: var(--color-border); font-size: 16px; }
.stars .star.full { color: #FFB020; }
.stars .star.half { position: relative; color: var(--color-border); }
.stars .star.half::before { content: "★"; position: absolute; left: 0; width: 50%; overflow: hidden; color: #FFB020; }
.rating-num { font-family: var(--font-head); font-weight: 700; font-size: 14px; margin-left: 6px; }

/* =========================================================================
   7. CATEGORY STRIP
   ========================================================================= */
.category-strip { padding: 48px 0; }
.category-cards { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.category-card {
	display: flex; flex-direction: column; align-items: center; text-align: center;
	gap: 8px; padding: 22px 12px; color: var(--color-text);
}
.category-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.category-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: #fff; }
.category-name { font-family: var(--font-head); font-weight: 700; font-size: 15px; }
.category-count { font-size: 12px; color: var(--color-text-secondary); }

/* =========================================================================
   8. TOOLS TABLE
   ========================================================================= */
.table-scroll { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); }
.tools-table { width: 100%; border-collapse: collapse; background: var(--color-card); min-width: 760px; }
.tools-table thead th {
	background: var(--color-dark); color: #fff; font-family: var(--font-head); font-weight: 600;
	font-size: 13px; text-align: left; padding: 16px; cursor: pointer; user-select: none; white-space: nowrap;
	position: relative;
}
.tools-table thead th[data-sort]::after { content: " ⇅"; opacity: 0.4; font-size: 11px; }
.tools-table thead th.sort-asc::after { content: " ↑"; opacity: 1; }
.tools-table thead th.sort-desc::after { content: " ↓"; opacity: 1; }
.tools-table tbody td { padding: 14px 16px; border-top: 1px solid var(--color-border); font-size: 14px; vertical-align: middle; }
.tools-table tbody tr:hover { background: rgba(108, 99, 255, 0.04); }
.tools-table .col-no { width: 48px; color: var(--color-text-secondary); }
.tools-table .tool-name { font-family: var(--font-head); font-weight: 700; }
.free-badge { font-size: 12px; font-weight: 700; font-family: var(--font-head); padding: 3px 10px; border-radius: var(--radius-pill); }
.free-yes { background: rgba(0, 216, 164, 0.15); color: #00795c; }
.free-no { background: rgba(100, 116, 139, 0.14); color: var(--color-text-secondary); }
.table-review-link { font-family: var(--font-head); font-weight: 600; font-size: 13px; white-space: nowrap; }

/* =========================================================================
   9. POST GRID + CARDS
   ========================================================================= */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-grid--2col { grid-template-columns: repeat(2, 1fr); }
.post-card { overflow: hidden; display: flex; flex-direction: column; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-thumb { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #e9edf6; }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.post-card:hover .card-thumb img { transform: scale(1.05); }
.card-thumb-placeholder { position: absolute; inset: 0; background: var(--gradient); opacity: 0.18; }
.card-type-badge {
	position: absolute; top: 12px; left: 12px; font-family: var(--font-head); font-weight: 700;
	font-size: 11px; padding: 4px 10px; border-radius: var(--radius-pill); color: #fff; background: var(--color-accent-1);
	text-transform: capitalize;
}
.card-type-badge.type-review { background: var(--color-accent-1); }
.card-type-badge.type-comparison { background: #ff7a45; }
.card-type-badge.type-tutorial { background: var(--color-accent-2); color: #062b22; }
.card-type-badge.type-news { background: #0ea5e9; }
.card-type-badge.type-deal { background: #e11d8f; }
.card-type-badge.type-listicle { background: #8b5cf6; }
.card-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.card-title { font-size: 19px; line-height: 1.3; margin: 4px 0 10px; }
.card-title a { color: var(--color-text); }
.card-title a:hover { color: var(--color-accent-1); }
.card-excerpt { font-size: 14.5px; color: var(--color-text-secondary); flex: 1; }
.card-meta { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--color-text-secondary); margin-top: 14px; }
.card-avatar { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.card-author { font-weight: 600; color: var(--color-text); }
.meta-sep { opacity: 0.5; }

/* =========================================================================
   10. TRUST GRID
   ========================================================================= */
.trust-section { background: var(--color-card); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust-card { text-align: center; padding: 12px; }
.trust-icon { width: 56px; height: 56px; border-radius: 16px; background: rgba(108,99,255,0.1); color: var(--color-accent-1); display: grid; place-items: center; margin: 0 auto 14px; }
.trust-title { font-size: 18px; }
.trust-text { font-size: 14.5px; color: var(--color-text-secondary); }

/* =========================================================================
   11. PICKS CAROUSEL
   ========================================================================= */
.picks-carousel { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px 18px; }
.pick-card { scroll-snap-align: start; flex: 0 0 240px; padding: 22px; text-align: center; }
.pick-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pick-logo { width: 56px; height: 56px; border-radius: 16px; background: var(--gradient); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 20px; margin: 0 auto 14px; }
.pick-name { font-size: 20px; margin-bottom: 2px; }
.pick-cat { font-size: 13px; color: var(--color-text-secondary); display: block; margin-bottom: 12px; }
.pick-rating { margin-bottom: 16px; }
.pick-btn { width: 100%; justify-content: center; }

/* =========================================================================
   12. DEALS
   ========================================================================= */
.deals-section { background: linear-gradient(135deg, #6C63FF, #5b52e6); color: #fff; border-radius: 0; }
.deals-head .section-heading { background: none; -webkit-text-fill-color: #fff; color: #fff; }
.deals-sub { color: rgba(255,255,255,0.85); }
.deals-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.deal-card { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18); border-radius: var(--radius); padding: 24px; backdrop-filter: blur(8px); }
.deal-name { color: #fff; font-size: 22px; }
.deal-desc { color: rgba(255,255,255,0.82); font-size: 14.5px; }
.deal-price { display: flex; align-items: baseline; gap: 12px; margin: 12px 0 18px; }
.deal-old { text-decoration: line-through; color: rgba(255,255,255,0.6); }
.deal-new { font-family: var(--font-head); font-weight: 800; font-size: 30px; color: var(--color-accent-2); }
.deals-section .aigt-btn-primary { background: #fff; color: var(--color-accent-1); box-shadow: none; }
.deals-section .aigt-btn-primary:hover { background: var(--color-accent-2); color: #062b22; }

/* =========================================================================
   13. NEWSLETTER
   ========================================================================= */
.newsletter-section { background: var(--color-card); border-top: 1px solid var(--color-border); }
.newsletter-inner { text-align: center; max-width: 620px; }
.newsletter-form { display: flex; gap: 10px; }
.newsletter-form input[type="email"] { flex: 1; padding: 14px 18px; border-radius: var(--radius); border: 1px solid var(--color-border); font-size: 15px; font-family: var(--font-body); background: var(--color-bg); color: var(--color-text); }
.newsletter-form input[type="email"]:focus { outline: 2px solid var(--color-accent-1); border-color: transparent; }
.newsletter-form--big { margin: 26px auto 14px; }
.newsletter-form--stack { flex-direction: column; }
.newsletter-trust, .newsletter-fineprint { font-size: 13px; color: var(--color-text-secondary); }

/* =========================================================================
   14. BREADCRUMBS / PAGE HEADER / PAGINATION
   ========================================================================= */
.aigt-breadcrumbs { font-size: 13px; color: var(--color-text-secondary); padding: 22px 0 4px; }
.aigt-breadcrumbs a { color: var(--color-text-secondary); }
.aigt-breadcrumbs a:hover { color: var(--color-accent-1); }
.aigt-breadcrumbs .sep { margin: 0 8px; opacity: 0.5; }
.aigt-breadcrumbs .current { color: var(--color-text); font-weight: 500; }
.page-header { padding: 18px 0 34px; }
.page-title { font-size: 42px; }
.page-subtitle { color: var(--color-text-secondary); font-size: 17px; }
.search-term { color: var(--color-accent-1); }

.content-with-sidebar { display: grid; grid-template-columns: 1fr 320px; gap: 44px; align-items: start; padding-bottom: 72px; }
.content-main { min-width: 0; }

.pagination, .aigt-pagination, .comments-pagination { margin-top: 44px; display: flex; justify-content: center; }
.pagination .nav-links, .aigt-pagination, .comments-pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.page-numbers {
	display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px;
	padding: 0 12px; border-radius: 10px; border: 1px solid var(--color-border);
	background: var(--color-card); color: var(--color-text); font-family: var(--font-head); font-weight: 600; font-size: 14px;
}
.page-numbers.current { background: var(--gradient); color: #fff; border-color: transparent; }
.page-numbers:hover:not(.current) { border-color: var(--color-accent-1); color: var(--color-accent-1); }

/* =========================================================================
   15. SINGLE POST
   ========================================================================= */
.single-article { background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 38px; box-shadow: var(--shadow-sm); }
.single-meta-top { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--color-text-secondary); margin-bottom: 10px; }
.single-title { font-size: 40px; line-height: 1.15; margin: 6px 0 22px; }
.author-bar { display: flex; align-items: center; gap: 12px; padding: 16px 0; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.author-bar-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.author-bar-info { display: flex; flex-direction: column; }
.author-bar-name { font-family: var(--font-head); font-weight: 700; }
.author-bar-role { font-size: 13px; color: var(--color-text-secondary); }
.author-bar-date { font-size: 13px; color: var(--color-text-secondary); margin-left: 6px; }
.share-buttons { display: flex; gap: 8px; margin-left: auto; }
.share-buttons a { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--color-bg); color: var(--color-text-secondary); border: 1px solid var(--color-border); }
.share-buttons a:hover { background: var(--color-accent-1); color: #fff; border-color: transparent; }

.single-featured { margin: 26px 0; border-radius: var(--radius); overflow: hidden; }
.affiliate-notice { display: flex; gap: 10px; align-items: flex-start; background: rgba(255, 176, 32, 0.1); border: 1px solid rgba(255, 176, 32, 0.3); color: #8a5a00; border-radius: var(--radius); padding: 14px 16px; font-size: 13.5px; margin: 22px 0; }
.affiliate-notice svg { flex: 0 0 auto; margin-top: 2px; }

/* TOC */
.single-toc { background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 20px 24px; margin: 26px 0; }
.single-toc-title { font-size: 16px; margin-bottom: 8px; }
.single-toc ul { list-style: none; padding: 0; margin: 0; columns: 2; }
.single-toc li { margin-bottom: 6px; }
.single-toc a { font-size: 14px; color: var(--color-text-secondary); }
.single-toc a:hover { color: var(--color-accent-1); }

/* Prose */
.single-content { font-size: 17px; line-height: 1.8; }
.single-content h2 { font-size: 30px; margin: 1.6em 0 0.6em; scroll-margin-top: 100px; }
.single-content h3 { font-size: 24px; margin: 1.3em 0 0.5em; }
.single-content h4 { font-size: 20px; }
.single-content img { border-radius: var(--radius); margin: 1.2em 0; }
.single-content a { text-decoration: underline; text-underline-offset: 3px; }
.single-content blockquote {
	border-left: 4px solid var(--color-accent-1); margin: 1.5em 0; padding: 6px 22px;
	background: rgba(108,99,255,0.05); border-radius: 0 var(--radius) var(--radius) 0; font-style: italic; color: var(--color-text);
}
.single-content ul li, .single-content ol li { margin-bottom: 0.5em; }
.single-content table { width: 100%; border-collapse: collapse; margin: 1.4em 0; }
.single-content th, .single-content td { border: 1px solid var(--color-border); padding: 10px 14px; text-align: left; }
.single-content th { background: var(--color-bg); font-family: var(--font-head); }

/* Callouts (use these classes inside post content) */
.callout { border-radius: var(--radius); padding: 16px 18px 16px 48px; margin: 1.4em 0; position: relative; font-size: 15px; }
.callout::before { position: absolute; left: 16px; top: 16px; font-size: 18px; }
.callout-tip { background: rgba(0,216,164,0.08); border: 1px solid rgba(0,216,164,0.28); }
.callout-tip::before { content: "💡"; }
.callout-warning { background: rgba(255,176,32,0.1); border: 1px solid rgba(255,176,32,0.32); }
.callout-warning::before { content: "⚠️"; }
.callout-info { background: rgba(14,165,233,0.08); border: 1px solid rgba(14,165,233,0.28); }
.callout-info::before { content: "ℹ️"; }

/* Review box */
.review-box { border: 2px solid var(--color-accent-1); border-radius: var(--radius-lg); padding: 28px; margin: 32px 0; background: rgba(108,99,255,0.03); }
.review-box-title { font-size: 24px; }
.review-box-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 18px 0; }
.review-pros h3, .review-cons h3 { font-size: 18px; }
.review-pros ul li { color: #00795c; }
.review-cons ul li { color: #b4453a; }
.review-pricing-note { font-size: 13px; color: var(--color-text-secondary); margin-top: 10px; }

.single-tags { margin: 26px 0; font-size: 14px; }
.single-tags a { display: inline-block; background: var(--color-bg); border: 1px solid var(--color-border); padding: 4px 12px; border-radius: var(--radius-pill); margin: 0 6px 6px 0; color: var(--color-text-secondary); }
.tags-label { font-family: var(--font-head); font-weight: 600; margin-right: 6px; }

/* Author bio */
.author-bio { display: flex; gap: 20px; background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 24px; margin: 32px 0; }
.author-bio-avatar { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.author-bio-label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-text-secondary); font-weight: 700; }
.author-bio-name { font-size: 22px; margin: 4px 0; }
.author-bio-role { color: var(--color-accent-1); font-weight: 600; font-size: 14px; }
.author-bio-desc { font-size: 14.5px; color: var(--color-text-secondary); margin: 8px 0; }
.author-bio-social a { font-size: 13px; font-weight: 600; margin-right: 14px; }

.related-posts { margin: 48px 0; }

/* =========================================================================
   16. SIDEBAR / WIDGETS
   ========================================================================= */
.aigt-sidebar { display: flex; flex-direction: column; gap: 24px; position: sticky; top: calc(var(--header-h) + 20px); }
.aigt-widget { background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 22px; }
.widget-title { font-size: 17px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--color-border); }
.aigt-widget ul { list-style: none; padding: 0; margin: 0; }
.aigt-widget li { padding: 7px 0; border-bottom: 1px solid var(--color-border); font-size: 14px; }
.aigt-widget li:last-child { border-bottom: none; }
.popular-posts a { display: flex; gap: 10px; align-items: center; color: var(--color-text); }
.pp-thumb img { width: 56px; height: 42px; object-fit: cover; border-radius: 8px; }
.pp-title { font-size: 13.5px; font-weight: 500; }
.widget_tag_cloud a { display: inline-block; background: var(--color-bg); border: 1px solid var(--color-border); padding: 3px 10px; border-radius: var(--radius-pill); margin: 0 5px 6px 0; font-size: 12px !important; color: var(--color-text-secondary); }

/* =========================================================================
   17. CATEGORY BANNER
   ========================================================================= */
.category-banner { background: linear-gradient(135deg, #0F172A, #1E293B); color: #fff; padding: 40px 0 46px; }
.category-banner .aigt-breadcrumbs, .category-banner .aigt-breadcrumbs a, .category-banner .aigt-breadcrumbs .current { color: rgba(255,255,255,0.7); }
.category-banner-title { color: #fff; font-size: 44px; }
.category-banner-desc { color: rgba(226,232,240,0.85); max-width: 60ch; }
.category-banner-count { color: var(--color-accent-2); font-family: var(--font-head); font-weight: 600; font-size: 14px; }

/* =========================================================================
   18. ABOUT / TEAM / STATS / VALUES
   ========================================================================= */
.about-hero, .write-hero { background: linear-gradient(160deg, #0F172A, #1E293B); color: #fff; padding: 56px 0 64px; text-align: center; }
.about-hero-title, .write-hero-title { color: #fff; font-size: 44px; max-width: 18ch; margin: 8px auto 14px; }
.about-hero-sub, .write-hero-sub { color: rgba(226,232,240,0.85); max-width: 56ch; margin: 0 auto; font-size: 18px; }
.about-hero .aigt-breadcrumbs, .write-hero .aigt-breadcrumbs, .about-hero .aigt-breadcrumbs a, .write-hero .aigt-breadcrumbs a { color: rgba(255,255,255,0.7); }
.about-story { max-width: 760px; margin: 48px auto; font-size: 18px; }
.values-grid, .benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.benefits-grid { grid-template-columns: repeat(3, 1fr); }
.value-card, .benefit-card { padding: 24px; }
.value-card h3, .benefit-card h3 { font-size: 18px; }
.value-card p, .benefit-card p { font-size: 14.5px; color: var(--color-text-secondary); }
.about-stats { margin: 40px 0; }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; background: var(--gradient); border-radius: var(--radius-lg); padding: 36px 20px; }
.stat-num { display: block; font-family: var(--font-head); font-weight: 800; font-size: 40px; color: #fff; }
.stat-label { color: rgba(255,255,255,0.85); font-size: 14px; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.team-card { text-align: center; padding: 28px 22px; }
.team-avatar { width: 72px; height: 72px; border-radius: 50%; background: var(--gradient); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 28px; margin: 0 auto 14px; }
.team-name { font-size: 20px; margin-bottom: 2px; }
.team-role { color: var(--color-accent-1); font-weight: 600; font-size: 14px; }
.team-bio { font-size: 14px; color: var(--color-text-secondary); margin: 10px 0; }
.method-list { max-width: 760px; }
.method-list li { margin-bottom: 12px; }
.media-logos { display: flex; flex-wrap: wrap; gap: 36px; justify-content: center; align-items: center; opacity: 0.7; }
.media-logo { font-family: var(--font-head); font-weight: 800; font-size: 24px; color: var(--color-text-secondary); }

/* =========================================================================
   19. CONTACT / FORMS / FAQ
   ========================================================================= */
.contact-grid { display: grid; grid-template-columns: 1.4fr 0.9fr; gap: 32px; align-items: start; }
.contact-form-wrap, .pitch-form-wrap { padding: 30px; }
.contact-info { display: flex; flex-direction: column; gap: 18px; }
.info-card { padding: 22px; }
.info-card h3 { font-size: 17px; margin-bottom: 4px; }
.info-card p { margin: 0; font-size: 14.5px; color: var(--color-text-secondary); }
.form-row { margin-bottom: 16px; display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-family: var(--font-head); font-weight: 600; font-size: 14px; }
.form-row input, .form-row select, .form-row textarea {
	padding: 12px 14px; border: 1px solid var(--color-border); border-radius: 10px;
	font-family: var(--font-body); font-size: 15px; background: var(--color-bg); color: var(--color-text); width: 100%;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: 2px solid var(--color-accent-1); border-color: transparent; }
.form-note, .pitch-alt { font-size: 13px; color: var(--color-text-secondary); margin-top: 12px; }

.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius); overflow: hidden; }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: none; border: none; cursor: pointer; padding: 18px 20px; font-family: var(--font-head); font-weight: 600; font-size: 16px; color: var(--color-text); text-align: left; }
.faq-icon { font-size: 22px; color: var(--color-accent-1); transition: transform var(--transition); flex: 0 0 auto; }
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height var(--transition); }
.faq-answer p { padding: 0 20px 18px; margin: 0; color: var(--color-text-secondary); font-size: 15px; }

/* =========================================================================
   20. WRITE FOR US / WARN BOX / TOPICS
   ========================================================================= */
.topics-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 40px; max-width: 700px; }
.topics-cols ul { margin: 0; }
.warn-box { background: rgba(225,29,72,0.07); border: 1px solid rgba(225,29,72,0.25); color: #b4453a; border-radius: var(--radius); padding: 16px 18px; margin-top: 20px; font-size: 14.5px; }
.guidelines-list { max-width: 700px; }

/* =========================================================================
   21. LEGAL PAGES
   ========================================================================= */
.legal-container { max-width: 820px; }
.legal-updated { color: var(--color-text-secondary); font-size: 14px; }
.legal-toc { background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 22px 26px; margin: 18px 0 32px; }
.legal-toc h2 { font-size: 18px; }
.legal-toc ul { columns: 2; }
.legal-body { padding-bottom: 60px; }
.legal-body h2 { font-size: 26px; margin: 1.4em 0 0.5em; scroll-margin-top: 100px; }
.affiliate-disclosure-banner { display: flex; gap: 12px; align-items: center; background: rgba(255,176,32,0.12); border: 1px solid rgba(255,176,32,0.4); border-radius: var(--radius); padding: 16px 20px; margin: 22px 0 8px; color: #8a5a00; }
.affiliate-disclosure-banner p { margin: 0; font-size: 14.5px; }
.affiliate-disclosure-banner svg { flex: 0 0 auto; }

/* =========================================================================
   22. 404
   ========================================================================= */
.error-404 { text-align: center; padding: 60px 0; }
.error-404-code { font-family: var(--font-head); font-weight: 800; font-size: 120px; line-height: 1; background: var(--gradient-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.error-404-title { font-size: 34px; margin: 8px 0 12px; }
.error-404-text { color: var(--color-text-secondary); max-width: 48ch; margin: 0 auto 24px; }
.error-404 .aigt-search-form { max-width: 480px; margin: 0 auto 24px; }
.error-404-actions { display: flex; gap: 14px; justify-content: center; margin-bottom: 48px; flex-wrap: wrap; }
.error-404-popular { text-align: left; }

/* =========================================================================
   23. FOOTER
   ========================================================================= */
.site-footer { background: var(--color-dark); color: #cbd5e1; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 40px; padding: 56px 24px 40px; }
.footer-col .footer-heading, .footer-heading { font-family: var(--font-head); font-weight: 700; font-size: 16px; color: #fff; margin-bottom: 16px; }
.footer-logo .brand-wordmark { color: #fff; font-size: 22px; }
.footer-tagline { color: #94a3b8; font-size: 14.5px; margin: 12px 0; }
.footer-trust { font-size: 13px; color: var(--color-accent-2); font-weight: 600; }
.footer-social { display: flex; gap: 10px; margin-top: 14px; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,0.08); display: grid; place-items: center; color: #cbd5e1; }
.footer-social a:hover { background: var(--color-accent-1); color: #fff; }
.footer-menu { list-style: none; padding: 0; margin: 0; }
.footer-menu li { margin-bottom: 10px; }
.footer-menu a { color: #94a3b8; font-size: 14.5px; }
.footer-menu a:hover { color: #fff; }
.footer-newsletter p { color: #94a3b8; font-size: 14px; }
.footer-newsletter .newsletter-form { margin-top: 12px; }
.footer-newsletter input[type="email"] { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.14); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; font-size: 13.5px; color: #94a3b8; flex-wrap: wrap; gap: 12px; }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal a { color: #94a3b8; }
.footer-legal a:hover { color: #fff; }

/* Back to top */
.back-to-top { position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%; border: none; background: var(--gradient); color: #fff; font-size: 20px; cursor: pointer; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all var(--transition); z-index: 180; }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* =========================================================================
   24. COMMENTS
   ========================================================================= */
.comments-area { margin-top: 48px; background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 32px; }
.comments-title { font-size: 24px; margin-bottom: 20px; }
.comment-list { list-style: none; padding: 0; margin: 0; }
.comment-list ol { list-style: none; }
.comment-body { padding: 16px 0; border-bottom: 1px solid var(--color-border); }
.comment-author { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 600; }
.comment-author .avatar { border-radius: 50%; }
.comment-meta { font-size: 12.5px; color: var(--color-text-secondary); margin: 4px 0 8px; }
.comment-respond { margin-top: 24px; }
.comment-form label { font-family: var(--font-head); font-weight: 600; font-size: 14px; display: block; margin-bottom: 6px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; padding: 12px 14px; border: 1px solid var(--color-border); border-radius: 10px; font-family: var(--font-body); margin-bottom: 14px; background: var(--color-bg); color: var(--color-text);
}

/* =========================================================================
   25. BLOG FILTER TABS
   ========================================================================= */
.blog-filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.filter-tab { font-family: var(--font-head); font-weight: 600; font-size: 14px; padding: 9px 18px; border-radius: var(--radius-pill); border: 1px solid var(--color-border); background: var(--color-card); color: var(--color-text); }
.filter-tab:hover { border-color: var(--color-accent-1); color: var(--color-accent-1); }
.filter-tab.is-active { background: var(--gradient); color: #fff; border-color: transparent; }

/* No results */
.no-results { padding: 40px; text-align: center; }
.no-results h2 { font-size: 24px; }

/* Prose pages */
.aigt-prose { font-size: 17px; line-height: 1.8; }
.aigt-prose h2 { margin-top: 1.4em; }
.fullwidth-content, .aigt-canvas-content { width: 100%; }

/* Skip link */
.skip-link:focus { z-index: 100001; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
