/* Reset and base styles */
* {
 margin: 0;
 padding: 0;
 box-sizing: border-box;
}

body {
 font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
 line-height: 1.6;
 color: #333;
 background-color: #f9fafb;
}

.container {
 max-width: 1200px;
 margin: 0 auto;
 padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
 font-weight: 600;
 line-height: 1.2;
 margin-bottom: 1rem;
 color: #1f2937;
}

h1 {
 font-size: 2.5rem;
}

h2 {
 font-size: 2rem;
 margin-top: 2.5rem;
}

h3 {
 font-size: 1.5rem;
 margin-top: 1.5rem;
}

p {
 margin-bottom: 1rem;
}

a {
 color: #2563eb;
 text-decoration: none;
}

a:hover {
 text-decoration: underline;
}

/* Navigation */
.navbar {
 background-color: white;
 box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
 position: sticky;
 top: 0;
 z-index: 100;
}

.nav-container {
 display: flex;
 justify-content: space-between;
 align-items: center;
 padding: 1rem 20px;
}

.logo {
 font-size: 1.5rem;
 font-weight: 600;
 color: #1f2937;
}

nav a {
 margin-left: 2rem;
 color: #4b5563;
 font-weight: 500;
}

nav a:hover {
 color: #2563eb;
}

/* Sections */
.section {
 padding: 4rem 0;
}

.hero {
 background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
 text-align: center;
 padding: 6rem 0;
}

.hero-subtitle {
 font-size: 1.25rem;
 color: #4b5563;
 max-width: 600px;
 margin: 1.5rem auto 0;
}

/* Cards */
.card {
 background: white;
 border-radius: 12px;
 padding: 2rem;
 box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
 transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
 transform: translateY(-2px);
 box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Grid layouts */
.grid {
 display: grid;
 gap: 2rem;
}

.grid.two {
 grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid.three {
 grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Blog page specific */
.page-title {
 font-size: 3rem;
 margin-bottom: 1rem;
}

.page-subtitle {
 font-size: 1.25rem;
 color: #4b5563;
 margin-bottom: 3rem;
 max-width: 800px;
}

.blog-layout {
 display: grid;
 grid-template-columns: 1fr 300px;
 gap: 3rem;
 margin-top: 2rem;
}

.blog-main {
 max-width: 100%;
}

.blog-sidebar {
 position: sticky;
 top: 100px;
 height: fit-content;
}

.blog-section {
 margin-bottom: 3rem;
}

.blog-section h3 {
 margin-top: 22px;
 margin-bottom: 10px;
 color: #1d4ed8;
}

.blog-section code {
 background: #eef2ff;
 padding: 2px 6px;
 border-radius: 6px;
 font-size: 0.95em;
}

.blog-sidebar .card {
 margin-bottom: 20px;
}

/* Report images */
.report-image {
 width: 100%;
 max-width: 800px;
 height: auto;
 border-radius: 8px;
 margin: 1.5rem 0;
 box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
 border: 1px solid #e5e7eb;
}

.caption {
 text-align: center;
 color: #6b7280;
 font-size: 0.9rem;
 margin-top: -0.5rem;
 margin-bottom: 2rem;
 font-style: italic;
}

/* Lists */
ul {
 margin-left: 1.5rem;
 margin-bottom: 1rem;
}

li {
 margin-bottom: 0.5rem;
}

/* Text links */
.text-link {
 display: inline-flex;
 align-items: center;
 gap: 0.25rem;
 font-weight: 500;
}

.text-link:hover {
 text-decoration: none;
 gap: 0.5rem;
}

/* Footer */
.footer {
 background-color: #1f2937;
 color: white;
 text-align: center;
 padding: 2rem 0;
 margin-top: 4rem;
}

.footer p {
 margin-bottom: 0;
 color: #d1d5db;
}

.note {
 font-size: 0.9rem;
 color: #6b7280;
 font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
 .blog-layout {
 grid-template-columns: 1fr;
 }
 
 .nav-container {
 flex-direction: column;
 gap: 1rem;
 }
 
 nav a {
 margin: 0 1rem;
 }
 
 .page-title {
 font-size: 2.5rem;
 }
 
 h1 {
 font-size: 2rem;
 }
 
 h2 {
 font-size: 1.75rem;
 }
}