/*
Theme Name: LitBuy Clean Modern Minimalist
Theme URI: https://cnfansfindspreadsheet.com/
Author: SEO & Design Expert
Description: A ultra-clean, modern, light-mode minimalist theme designed specifically for LitBuy. Features soft slate shadows, emerald accents, and a highly structured clean layout.
Version: 2.0.0
License: GNU General Public License v2 or later
Text Domain: litbuy-modern-minimal
*/

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-subtle: #f1f5f9;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --accent-primary: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-emerald: #10b981;
  --accent-orange: #f97316;
  --border-color: #e2e8f0;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-subtle: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
  --shadow-hover: 0 12px 30px -4px rgba(15, 23, 42, 0.12);
  --transition: all 0.2s ease-in-out;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* Header & Clean Navigation */
header.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.02);
}

.header-inner { display: flex; justify-content: space-between; align-items: center; height: 72px; }

.logo a {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: -0.5px;
}

.logo span.lit { color: var(--accent-primary); }

.logo-badge {
  font-size: 11px;
  font-weight: 700;
  background: #eff6ff;
  color: var(--accent-primary);
  padding: 3px 9px;
  border-radius: 20px;
  border: 1px solid #bfdbfe;
}

.nav-menu { display: flex; list-style: none; gap: 8px; align-items: center; }
.nav-item { position: relative; }
.nav-item > a {
  font-weight: 600;
  font-size: 14.5px;
  padding: 8px 16px;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-item > a:hover {
  color: var(--text-main);
  background: var(--bg-subtle);
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #ffffff;
  min-width: 230px;
  border-radius: var(--radius-md);
  padding: 8px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-hover);
  z-index: 100;
}

.nav-item:hover .dropdown-menu { display: block; }
.dropdown-menu li a {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: 6px;
  transition: var(--transition);
}

.dropdown-menu li a:hover {
  color: var(--accent-primary);
  background: #eff6ff;
}

/* Introduction / Intro Section */
.intro-section {
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 40px 0 30px;
}

.intro-card {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border: 1px solid #bae6fd;
  border-radius: var(--radius-md);
  padding: 28px 32px;
  margin-bottom: 20px;
}

.intro-card h2 {
  font-size: 20px;
  font-weight: 800;
  color: #0369a1;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.intro-card p {
  color: #334155;
  font-size: 15px;
  line-height: 1.7;
}

/* Hero Section */
.hero-section {
  padding: 50px 0 40px;
  text-align: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-emerald);
  margin-bottom: 20px;
}

.hero-title {
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  color: var(--text-main);
  margin-bottom: 16px;
}

.hero-title span { color: var(--accent-primary); }

.hero-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 32px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  padding: 0 30px;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: pointer;
}

.btn-primary {
  background: var(--accent-primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-subtle);
}

.btn-secondary:hover {
  background: var(--bg-subtle);
  transform: translateY(-2px);
}

/* Category Grid */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin: 50px 0 24px;
}

.section-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.5px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 50px;
}

.cat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow-subtle);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.cat-card-badge {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  transition: var(--transition);
}

.cat-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
}

.cat-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-hover);
}

.cat-card:hover .cat-card-badge {
  background: #eff6ff;
  transform: scale(1.08);
}

/* Guides Grid */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
  margin-bottom: 60px;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-subtle);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.article-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-main);
  line-height: 1.4;
}

.article-card p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 18px;
}

.article-link {
  color: var(--accent-primary);
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.article-card:hover {
  transform: translateY(-3px);
  border-color: #cbd5e1;
  box-shadow: var(--shadow-hover);
}

/* Single Post Content */
.content-area {
  background: var(--bg-card);
  padding: 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-subtle);
  margin: 40px 0 60px;
}

.entry-title {
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--text-main);
}

.entry-content {
  color: #334155;
  font-size: 16px;
  line-height: 1.8;
}

.internal-link-box {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--accent-primary);
  padding: 20px;
  border-radius: var(--radius-sm);
  margin: 30px 0 10px;
}

footer.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  padding: 36px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}

@media (max-width: 768px) {
  .hero-title { font-size: 32px; }
  .header-inner { flex-direction: column; height: auto; padding: 14px 0; gap: 10px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .article-grid { grid-template-columns: 1fr; }
  .content-area { padding: 20px; }
  .intro-card { padding: 20px; }
}