/* 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: #1a1a2e; max-width: 100%; margin: 0; background: #ffffff; }
.container { max-width: 900px; margin: 0 auto; padding: 0 20px; }
/* Header */
header { background: #1a1a2e; color: white; padding: 1rem 0; border-bottom: 3px solid #0066ff; }
header .container { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; }
.logo img { vertical-align: middle; margin-right: 8px; }
.logo a { color: white; text-decoration: none; font-size: 1.5rem; font-weight: bold; }
nav a { color: #a0a0c0; text-decoration: none; margin-left: 15px; font-size: 0.9rem; }
nav a:hover { color: white; }
.disclosure-badge { background: #ff6b35; color: white; padding: 2px 8px; border-radius: 4px; font-size: 0.7rem; margin-left: 10px; }
/* Hero Section */
.hero { position: relative; margin-bottom: 2rem; }
.hero-bg { position: relative; }
.hero-img { width: 100%; height: auto; display: block; }
.hero-content { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; color: white; text-shadow: 0 2px 4px rgba(0,0,0,0.4); }
.hero-content h1 { font-size: 2.5rem; margin-bottom: 0.5rem; }
.hero-content .hero-subtitle { font-size: 1.2rem; margin-bottom: 1rem; max-width: 700px; margin-left: auto; margin-right: auto; }
.cta-button { display: inline-block; background: white; color: #0066cc; padding: 12px 32px; border-radius: 8px; text-decoration: none; font-weight: bold; font-size: 1.1rem; transition: transform 0.2s, box-shadow 0.2s; }
.cta-button:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.3); }
/* Main content */
main { padding: 2rem 0; }
h1, h2, h3, h4 { color: #1a1a2e; margin: 1.5rem 0 0.75rem; line-height: 1.3; }
h1 { font-size: 2rem; border-bottom: 2px solid #0066ff; padding-bottom: 0.5rem; }
h2 { font-size: 1.5rem; color: #0066cc; margin-top: 2rem; }
h3 { font-size: 1.2rem; }
a { color: #0066cc; text-decoration: none; }
a:hover { text-decoration: underline; }
p { margin: 0.75rem 0; }
ul, ol { margin: 0.75rem 0; padding-left: 1.5rem; }
li { margin: 0.25rem 0; }
code { background: #f4f4f4; padding: 2px 6px; border-radius: 3px; font-family: 'Fira Code', 'Consolas', monospace; font-size: 0.9rem; }
pre { background: #1e1e1e; color: #d4d4d4; padding: 1rem; border-radius: 6px; overflow-x: auto; margin: 1rem 0; }
blockquote { border-left: 4px solid #0066cc; margin: 1rem 0; padding: 0.5rem 1rem; background: #f4f8ff; }
img { max-width: 100%; height: auto; border-radius: 6px; margin: 1rem 0; display: block; }
.responsive-img { width: 100%; height: auto; }
table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
th, td { padding: 0.5rem; text-align: left; border-bottom: 1px solid #ddd; }
th { background: #0066cc; color: white; }
.affiliate-button { display: inline-block; background: #0066cc; color: white; padding: 10px 20px; border-radius: 6px; text-decoration: none; font-weight: bold; margin: 1rem 0; }
.affiliate-button:hover { background: #0052a3; }
.callout { background: #f4f8ff; border-left: 4px solid #0066cc; padding: 1rem; margin: 1rem 0; border-radius: 0 6px 6px 0; }
.callout.warning { border-left-color: #ff6b35; background: #fff4f0; }
.callout.success { border-left-color: #00aa44; background: #f0fff4; }
/* Article Grid */
.article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; margin: 1.5rem 0; }
.article-card { background: white; border: 1px solid #e1e1e1; border-radius: 8px; overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; display: flex; flex-direction: column; }
.article-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.08); }
.article-thumb { width: 100%; height: 120px; object-fit: cover; }
.article-content { padding: 1rem; flex: 1; display: flex; flex-direction: column; }
.article-content h3 { margin: 0 0 0.5rem 0; font-size: 1.1rem; }
.article-content h3 a { color: #1a1a2e; font-weight: bold; }
.article-content h3 a:hover { color: #0066cc; }
.article-meta { color: #666; font-size: 0.8rem; margin-bottom: 0.5rem; }
.article-content p { margin: 0.5rem 0; color: #444; flex: 1; }
/* Features Grid */
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.5rem; margin: 1.5rem 0; }
.feature-item { text-align: center; }
.feature-icon { width: 56px; height: 56px; margin: 0 auto 0.75rem; }
.feature-item h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.feature-item p { font-size: 0.85rem; color: #555; }
/* Old article list (kept for other pages) */
.article-list { list-style: none; padding: 0; }
.article-list li { border-bottom: 1px solid #eee; padding: 1rem 0; }
.article-list li:last-child { border-bottom: none; }
.article-list h3 { margin-bottom: 0.25rem; }
.article-list .meta { color: #666; font-size: 0.85rem; }
/* Footer */
footer { background: #f8f9fa; border-top: 1px solid #ddd; padding: 2rem 0; margin-top: 2rem; }
.footer-disclosure { font-size: 0.85rem; color: #666; margin-bottom: 1rem; }
.copyright { font-size: 0.8rem; color: #999; }
/* Article Hero & Breadcrumb */
.article-hero { margin: 1.5rem 0; text-align: center; }
.article-hero-img { width: 100%; height: auto; max-height: 220px; object-fit: cover; }
.breadcrumb { font-size: 0.8rem; color: #666; margin-bottom: 1rem; }
.breadcrumb a { color: #0066cc; }
.breadcrumb span { color: #333; font-weight: 500; }
/* Logo image in header */
.logo-img { width: 40px; height: 40px; }
/* Article content images */
.article-content img { max-width: 100%; height: auto; margin: 1rem 0; border-radius: 8px; display: block; }
/* Image captions */
img + .caption { font-size: 0.8rem; color: #666; text-align: center; margin-top: 0.5rem; }
/* Content width for article pages */
main.container { padding: 1.5rem 0; }
/* Responsive */
@media (max-width: 768px) {
  header .container { flex-direction: column; text-align: center; }
  nav a { display: block; margin: 5px 0; }
  .hero-content h1 { font-size: 1.8rem; }
  .hero-content .hero-subtitle { font-size: 1rem; }
  .article-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .article-hero-img { max-height: 160px; }
}
@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .container { padding: 0 10px; }
}
