/*
Theme Name: FinQuest Light
Description: Clean, modern, light-themed financial portal.
Version: 1.0
Author: Assistant
*/

:root {
  /* Palette: FinQuest Light */
  --color-bg: #F8FAFC; /* Very light cool gray */
  --color-surface: #FFFFFF;
  --color-text: #1E293B; /* Slate 800 */
  --color-text-muted: #64748B; /* Slate 500 */
  
  --color-primary: #3B82F6; /* Blue 500 */
  --color-primary-dark: #1D4ED8; /* Blue 700 */
  --color-accent: #10B981; /* Emerald 500 */
  
  --color-border: #E2E8F0; /* Slate 200 */
  
  --font-main: 'Manrope', sans-serif;
  
  --spacing-container: 2rem;
  --border-radius: 12px;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  line-height: 1.2;
  color: #0F172A; /* Slate 900 */
  margin-bottom: 1rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--color-primary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--spacing-container);
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn-outline {
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-text);
}

.btn-outline:hover {
  border-color: var(--color-text);
}

/* HEADER */
.site-header {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1rem 0;
}

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

.brand-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.5px;
}

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

.main-nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.main-nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.main-nav a:hover {
  color: var(--color-primary);
}

/* HERO SECTION (Minimalist Light) */
.hero-section {
  padding: 8rem 0;
  background: #fff;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-label {
  display: inline-block;
  background: #EFF6FF; /* Blue 50 */
  color: var(--color-primary);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: -1px;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

/* FEATURES / MISSION GRID */
.features-section {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--color-text-muted);
  font-size: 1.1rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  background: var(--color-surface);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: #EFF6FF; /* Lighter blue bg */
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
  transition: background 0.3s, color 0.3s;
}

.feature-card:hover .feature-icon {
  background: var(--color-primary);
  color: #fff;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* BLOG FEED (Modern Cards) */
.blog-section {
  padding: 6rem 0;
  background: #F1F5F9; /* Slate 100 */
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog-card {
  background: var(--color-surface);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.blog-thumb {
  height: 240px;
  overflow: hidden;
  background: #E2E8F0;
}

.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.blog-card:hover .blog-thumb img {
  transform: scale(1.05);
}

.blog-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  font-size: 0.85rem;
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.blog-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.blog-excerpt {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.blog-link {
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #0F172A;
}

.blog-link:hover {
  gap: 0.75rem;
  color: var(--color-primary);
}

/* FOOTER */
.site-footer {
  background: #fff;
  border-top: 1px solid var(--color-border);
  padding: 5rem 0 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 0.95rem;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
}

.footer-col ul li {
  list-style: none;
  margin-bottom: 0.75rem;
}

.footer-col a {
  color: #0F172A;
  font-weight: 500;
  font-size: 0.95rem;
}

.footer-col a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 2rem;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

/* PAGINATION */
.pagination {
  margin-top: 4rem;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-weight: 600;
  color: var(--color-text);
  transition: all 0.2s;
}

.page-numbers:hover,
.page-numbers.current {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

/* SINGLE PAGE */
.page-header {
  padding: 6rem 0 4rem;
  text-align: center;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.content-wrapper {
  max-width: 800px;
  margin: 4rem auto;
  font-size: 1.15rem;
  color: #334155;
}

.content-wrapper p { margin-bottom: 1.5rem; }
.content-wrapper h2 { font-size: 2rem; margin: 3rem 0 1.5rem; color: #0F172A; }
.content-wrapper ul { padding-left: 1.5rem; margin-bottom: 1.5rem; }
.content-wrapper li { margin-bottom: 0.5rem; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .features-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .header-inner { flex-direction: column; gap: 1rem; }
  .features-grid, .blog-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .hero-title { font-size: 2.5rem; }
}
