/* === ${'Passive Empire'} - Core Styles === */
:root {
  --primary: #2563eb;
  --primary-dark: #1e40af;
  --accent: #f59e0b;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --text: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --radius: 8px;
  --shadow: 0 1px 3px rgba(0,0,0,0.1);
  --font-heading: 'Inter', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --container: 800px;
}

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

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

/* Header */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}
.main-nav { display: flex; gap: 24px; }
.main-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.main-nav a:hover { color: var(--primary); }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--bg-alt) 0%, #eff6ff 100%);
  padding: 60px 0;
  text-align: center;
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}
.hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Content Grid */
.content-grid { padding: 40px 0; }

/* Featured Article */
.featured-article { margin-bottom: 48px; }
.featured-card {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius);
  padding: 32px;
  color: white;
}
.featured-badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  margin-bottom: 12px;
}
.featured-card h2 { font-size: 1.5rem; margin-bottom: 12px; }
.featured-card p { margin-bottom: 20px; opacity: 0.9; }

/* Article Cards */
.section-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 24px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary);
}
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.article-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: box-shadow 0.2s;
}
.article-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.article-card h3 { margin-bottom: 8px; }
.article-card h3 a {
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 1.15rem;
}
.article-card h3 a:hover { color: var(--primary); }
.article-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}
.read-more {
  display: inline-block;
  margin-top: 12px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}

/* Tags */
.tags { margin: 12px 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  display: inline-block;
  background: #eff6ff;
  color: var(--primary);
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  font-size: 0.95rem;
}
.btn-primary {
  background: var(--accent);
  color: #1e293b;
}
.btn-primary:hover { opacity: 0.9; }

/* Newsletter CTA */
.newsletter-cta { margin-top: 40px; }
.cta-box {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
}
.cta-box h3 { font-size: 1.25rem; margin-bottom: 8px; }
.cta-box p { color: var(--text-muted); margin-bottom: 20px; }
.cta-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}
.cta-form input {
  flex: 1;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
}

/* Article Page */
.article-main { padding: 40px 0; }
.article-header { margin-bottom: 32px; }
.article-header h1 {
  font-family: var(--font-heading);
  font-size: 2rem;
  line-height: 1.3;
  margin-bottom: 12px;
}
.article-excerpt {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.article-section {
  margin-bottom: 32px;
}
.article-section h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.article-section h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-top: 24px;
  margin-bottom: 12px;
}
.section-content p { margin-bottom: 16px; }
.section-content ul, .section-content ol {
  margin: 12px 0 16px 24px;
}
.section-content li { margin-bottom: 8px; }

/* FAQ */
.faq-section {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 40px;
}
.faq-section h2 { margin-bottom: 24px; }
.faq-item { margin-bottom: 20px; }
.faq-item h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--primary);
}

/* Article Footer */
.article-footer {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.disclaimer {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 16px;
}
.share-buttons {
  display: flex;
  gap: 16px;
  align-items: center;
}
.share-buttons a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
}

/* Page Content */
.page-content {
  padding: 40px 0;
  max-width: 650px;
}
.page-content h1 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  margin-bottom: 24px;
}
.page-content h2 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-top: 32px;
  margin-bottom: 12px;
}
.page-content p { margin-bottom: 16px; line-height: 1.8; }

/* Contact Form */
.contact-form { max-width: 500px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.9rem;
}
.form-group input, .form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: var(--font-body);
}
.form-group textarea { resize: vertical; }

/* Footer */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 24px 0;
  margin-top: 40px;
}
.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-footer p { color: var(--text-muted); font-size: 0.85rem; }
.site-footer nav { display: flex; gap: 16px; }
.site-footer nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
}
.site-footer nav a:hover { color: var(--primary); }

/* Responsive */
@media (max-width: 640px) {
  .hero h1 { font-size: 1.5rem; }
  .article-header h1 { font-size: 1.5rem; }
  .cta-form { flex-direction: column; }
  .site-footer .container { flex-direction: column; gap: 12px; text-align: center; }
  .main-nav { gap: 16px; }
}
