/*
Theme Name: Aasher Kabeer Warehouse
Theme URI: https://aasherkabeer.local/
Author: Aasher Kabeer
Description: Companion theme for the Aasher Kabeer Warehouse & Inventory Suite plugin. Builds a full marketing site automatically on activation and a smart, role-aware portal for signed-in users. Designed by Aasher Kabeer.
Version: 2.1.0
Text Domain: aasher-warehouse
*/

/* ---------- Reset & base ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	font-size: 16px;
	line-height: 1.6;
	color: #0f172a;
	background: #fff;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #4338ca; text-decoration: none; transition: color .15s ease; }
a:hover { color: #3730a3; }
h1, h2, h3, h4 { color: #0f172a; line-height: 1.25; letter-spacing: -0.02em; margin: 0 0 16px; font-weight: 700; }
h1 { font-size: 44px; }
h2 { font-size: 32px; }
h3 { font-size: 22px; font-weight: 600; }
p  { margin: 0 0 16px; color: #475569; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.site-header {
	background: rgba(255,255,255,0.92);
	backdrop-filter: saturate(140%) blur(8px);
	-webkit-backdrop-filter: saturate(140%) blur(8px);
	border-bottom: 1px solid #e2e8f0;
	position: sticky;
	top: 0;
	z-index: 50;
}
.header-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 70px;
	gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; color: #0f172a; }
.brand img { height: 30px; width: auto; }
.brand-text { font-weight: 700; font-size: 17px; letter-spacing: -0.01em; }
.primary-nav { display: flex; gap: 6px; align-items: center; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; }
.primary-nav a {
	display: inline-block;
	padding: 8px 14px;
	color: #475569;
	font-size: 14.5px;
	font-weight: 500;
	border-radius: 8px;
	transition: background .12s ease, color .12s ease;
}
.primary-nav a:hover { color: #0f172a; background: #f1f5f9; }
.primary-nav .login-btn a {
	background: #0f172a;
	color: #fff;
	padding: 10px 20px;
	box-shadow: 0 1px 2px rgba(15,23,42,.08);
}
.primary-nav .login-btn a:hover { background: #1e293b; color: #fff; transform: translateY(-1px); }
.primary-nav .user-tag a {
	background: transparent;
	color: #475569;
	padding: 8px 14px;
	font-size: 14px;
	border: 1px solid #e2e8f0;
}
.primary-nav .user-tag a:hover { background: #f8fafc; }

/* ---------- Hero ---------- */
.hero {
	padding: 90px 0 80px;
	background:
		radial-gradient(circle at 0% 0%, rgba(99,102,241,0.08), transparent 50%),
		radial-gradient(circle at 100% 30%, rgba(236,72,153,0.06), transparent 50%),
		linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
	position: relative;
	overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center; }
.hero h1 { font-size: 56px; margin-bottom: 24px; letter-spacing: -0.025em; }
.hero .eyebrow {
	display: inline-block;
	font-size: 13px;
	font-weight: 600;
	color: #4338ca;
	background: #eef2ff;
	padding: 6px 14px;
	border-radius: 999px;
	margin-bottom: 20px;
	letter-spacing: 0.02em;
}
.hero .lead { font-size: 19px; color: #475569; line-height: 1.6; margin-bottom: 32px; max-width: 600px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 13px 26px;
	border-radius: 10px;
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
	transition: all .15s ease;
	border: 0;
	cursor: pointer;
}
.btn-primary { background: #0f172a; color: #fff; box-shadow: 0 1px 3px rgba(15,23,42,.12); }
.btn-primary:hover { background: #1e293b; color: #fff; transform: translateY(-1px); box-shadow: 0 6px 16px -4px rgba(15,23,42,.25); }
.btn-outline { background: #fff; color: #0f172a; border: 1.5px solid #e2e8f0; }
.btn-outline:hover { background: #f8fafc; border-color: #cbd5e1; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section.alt { background: #f8fafc; }
.section-title { text-align: center; font-size: 36px; margin-bottom: 12px; }
.section-sub { text-align: center; color: #64748b; max-width: 640px; margin: 0 auto 50px; font-size: 17px; }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.feature-card {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 28px 24px;
	transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.feature-card:hover { transform: translateY(-2px); box-shadow: 0 12px 32px -10px rgba(15,23,42,.12); border-color: #cbd5e1; }
.feature-card .icon-wrap {
	width: 48px;
	height: 48px;
	background: linear-gradient(135deg, #6366f1, #8b5cf6);
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 18px;
}
.feature-card .icon-wrap img { width: 24px; height: 24px; filter: brightness(0) invert(1); }
.feature-card h3 { font-size: 18px; margin-bottom: 8px; }
.feature-card p { font-size: 14.5px; color: #64748b; margin: 0; line-height: 1.6; }

/* ---------- CTA section ---------- */
.cta-band {
	background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
	padding: 70px 20px;
	text-align: center;
	color: #fff;
	border-radius: 24px;
	margin: 60px 0;
	position: relative;
	overflow: hidden;
}
.cta-band h2 { color: #fff; margin-bottom: 14px; font-size: 36px; }
.cta-band p { color: #cbd5e1; font-size: 17px; margin-bottom: 28px; max-width: 580px; margin-left: auto; margin-right: auto; }
.cta-band .btn-primary { background: #fff; color: #0f172a; }
.cta-band .btn-primary:hover { background: #f1f5f9; color: #0f172a; }

/* ---------- Footer ---------- */
.site-footer {
	background: #0f172a;
	color: #cbd5e1;
	padding: 60px 0 30px;
	margin-top: 80px;
}
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; font-weight: 600; }
.site-footer a { color: #cbd5e1; text-decoration: none; display: inline-block; padding: 4px 0; font-size: 14.5px; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer-grid .brand-text { color: #fff; }
.footer-grid p { color: #94a3b8; font-size: 14.5px; line-height: 1.6; margin-top: 12px; }
.footer-bottom { border-top: 1px solid #1e293b; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; color: #64748b; font-size: 13.5px; }

/* ---------- Single post / page content ---------- */
.entry-content { padding: 60px 0; max-width: 760px; margin: 0 auto; }
.entry-content h1 { font-size: 38px; }
.entry-content h2 { font-size: 26px; margin-top: 40px; }
.entry-content p { font-size: 17px; line-height: 1.7; }
.entry-content ul, .entry-content ol { padding-left: 22px; }
.entry-content li { margin-bottom: 6px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
	.hero { padding: 60px 0; }
	.hero h1 { font-size: 38px; }
	.hero-grid { grid-template-columns: 1fr; gap: 30px; }
	.hero .lead { font-size: 16px; }
	.section { padding: 50px 0; }
	.section-title { font-size: 28px; }
	.cta-band h2 { font-size: 26px; }
	.cta-band { padding: 50px 24px; }
	.footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
	.primary-nav { display: none; }
}
@media (max-width: 540px) {
	h1 { font-size: 30px; }
	.footer-grid { grid-template-columns: 1fr; }
}
