/* FinanceBooks Premium Editorial Theme (2026) */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
  /* Palette: "Old Money" / Trusted Finance */
  --bg-body: #F9F8F4;       /* Warm Alabaster/Cream */
  --bg-surface: #FFFFFF;    /* Crisp White */
  --bg-surface-alt: #F2F0E9; /* Darker Cream for contrast */
  
  --text-main: #1A202C;     /* Deep Charcoal/Navy tint */
  --text-muted: #4A5568;    /* Slate Grey */
  --text-light: #718096;
  
  --primary: #1B3B36;       /* Deep Forest Green */
  --primary-light: #2C5F2D;
  --accent: #C5A059;        /* Muted Gold */
  --accent-light: #E6C87C;
  
  --border: #E2E8F0;
  --border-strong: #CBD5E0;
  
  --font-serif: "Playfair Display", "Times New Roman", serif;
  --font-sans: "Inter", system-ui, sans-serif;
  
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.04);
  --shadow-md: 0 8px 16px rgba(27, 59, 54, 0.06);
  --shadow-lg: 0 20px 40px rgba(27, 59, 54, 0.08);
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background-color: var(--bg-body);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--primary);
  margin-top: 0;
  line-height: 1.2;
}

a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent); }

img { max-width: 100%; display: block; }

/* Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-spacer { padding: 80px 0; }

/* Typography */
.text-serif { font-family: var(--font-serif); }
.text-gold { color: var(--accent); }
.text-center { text-align: center; }

/* Components */

/* Navbar */
.navbar {
  padding: 24px 0;
  border-bottom: 1px solid rgba(27, 59, 54, 0.05);
  background: var(--bg-body);
}
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-img { height: 42px; width: auto; }
.logo-text {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
}
.nav-menu a {
  margin-left: 32px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}
.nav-menu a:hover { color: var(--primary); }

/* Hero */
.hero-section {
  padding: 100px 0 120px;
  position: relative;
  overflow: hidden;
}
.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.hero-label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 24px;
  font-weight: 600;
}
.hero-title {
  font-size: 4rem;
  margin-bottom: 24px;
  color: var(--primary);
}
.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s ease;
}
.btn-primary {
  background-color: var(--primary);
  color: #fff;
  border: 1px solid var(--primary);
}
.btn-primary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: #fff;
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--border-strong);
}
.btn-outline:hover {
  border-color: var(--primary);
  background: rgba(27, 59, 54, 0.03);
}

/* Cards / Grid */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  padding: 32px;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}
.card-icon-wrapper {
  width: 48px;
  height: 48px;
  background: var(--bg-surface-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 20px;
  font-size: 1.2rem;
  color: var(--primary);
}
.card-title {
  font-size: 1.5rem;
  margin-bottom: 12px;
}
.card-text {
  color: var(--text-muted);
  margin-bottom: 24px;
  flex-grow: 1;
}
.card-link {
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Featured Section (editorial style) */
.featured-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.featured-content h2 { font-size: 2.5rem; margin-bottom: 20px; }
.featured-content p { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 32px; }

.checklist { list-style: none; padding: 0; }
.checklist li {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  align-items: flex-start;
}
.check-icon {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 4px;
}

.book-visual-mockup {
  background: var(--bg-surface-alt);
  padding: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: var(--radius-md);
}

/* Footer */
.site-footer {
  background: var(--primary);
  color: #fff;
  padding: 60px 0;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.footer-brand h3 { color: #fff; }
.footer-brand p { color: rgba(255,255,255,0.7); max-width: 300px; }
.footer-links { display: flex; gap: 32px; justify-content: flex-end; }
.footer-links a { color: rgba(255,255,255,0.8); }
.footer-links a:hover { color: var(--accent); }

/* Responsive */
@media (max-width: 768px) {
  .hero-title { font-size: 2.5rem; }
  .featured-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-links { justify-content: center; }
}
