:root {
  --primary-color: #2F80ED;
  --primary-hover: #1b62bf;
  --secondary-color: #56CCF2;
  --accent-gradient: linear-gradient(135deg, #2F80ED 0%, #56CCF2 100%);
  --background-color: #f0f4f8;
  --surface-color: #ffffff;
  --text-dark: #212529;
  --text-light: #6C757D;
  --accent-color: #F2994A;
  --border-color: #E9ECEF;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
  
  --font-family: 'Inter', system-ui, Avenir, Helvetica, Arial, sans-serif;
  --font-size-base: 18px;
  --border-radius: 8px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  background-color: var(--background-color);
  color: var(--text-dark);
  line-height: 1.6;
}
h1, h2, h3, h4, h5, h6 { color: #1A1A1A; font-weight: 700; line-height: 1.3; margin-top: 0; }
h1 { font-size: 2.5rem; } h2 { font-size: 2rem; } h3 { font-size: 1.5rem; }
a { color: var(--primary-color); text-decoration: none; transition: color 0.2s; }
a:hover { text-decoration: underline; color: var(--primary-hover); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; } .mb-4 { margin-bottom: 2rem; }

.btn {
  display: inline-block; background: var(--accent-gradient);
  color: var(--surface-color); padding: 12px 24px; border-radius: var(--border-radius);
  font-weight: 600; text-align: center; border: none; cursor: pointer; transition: all 0.2s;
  box-shadow: 0 4px 10px rgba(47, 128, 237, 0.2);
}
.btn:hover { background: linear-gradient(135deg, #1b62bf 0%, #3bb2d6 100%); text-decoration: none; color: var(--surface-color); transform: translateY(-2px); box-shadow: 0 6px 15px rgba(47, 128, 237, 0.3); }
.btn:active { transform: translateY(1px); }
.btn-secondary { background-color: var(--surface-color); color: var(--primary-color); border: 2px solid var(--primary-color); }
.btn-secondary:hover { background-color: var(--primary-color); color: var(--surface-color); }

.card { background-color: var(--surface-color); border-radius: 16px; box-shadow: 0 10px 20px rgba(0,0,0,0.04); padding: 24px; transition: all 0.3s ease; border: 1px solid rgba(0,0,0,0.03); }
.card:hover { box-shadow: 0 15px 30px rgba(47,128,237,0.12); transform: translateY(-5px); }

/* Navbar */
.navbar { background-color: var(--surface-color); box-shadow: var(--shadow-md); position: sticky; top: 0; z-index: 1000; padding: 15px 0; }
.navbar-container { display: flex; justify-content: space-between; align-items: center; }
.navbar-logo { font-size: 1.8rem; font-weight: 800; color: var(--primary-color); text-decoration: none; }
.navbar-logo:hover { text-decoration: none; }
.navbar-menu { display: flex; gap: 25px; align-items: center; }
.navbar-menu a { font-size: 1.1rem; color: var(--text-dark); font-weight: 500; padding: 8px 12px; border-radius: var(--border-radius); }
.navbar-menu a:hover { background-color: var(--background-color); color: var(--primary-color); text-decoration: none; }
.navbar-toggle { display: none; background: none; border: none; color: var(--text-dark); cursor: pointer; }

@media (max-width: 900px) {
  .navbar-toggle { display: block; }
  .navbar-menu { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background-color: var(--surface-color); box-shadow: var(--shadow-md); padding: 20px; text-align: center; }
  #navbar-toggle-checkbox:checked ~ .navbar-menu { display: flex; }
}

/* Footer */
.footer { background-color: #2b3035; color: #F8F9FA; padding: 60px 0 20px 0; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer h3 { color: #ffffff; margin-bottom: 20px; }
.footer p { color: #ccc; line-height: 1.6; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #ccc; text-decoration: none; font-size: 1rem; }
.footer-links a:hover { color: var(--secondary-color); text-decoration: underline; }
.footer-bottom { border-top: 1px solid #4a5056; padding-top: 20px; text-align: center; color: #888; font-size: 0.9rem; }

/* Article Card */
.article-card { display: flex; flex-direction: column; background-color: var(--surface-color); border-radius: 16px; box-shadow: 0 10px 20px rgba(0,0,0,0.04); overflow: hidden; transition: all 0.3s ease; height: 100%; text-decoration: none; border: 1px solid rgba(0,0,0,0.03); }
.article-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(47,128,237,0.15); text-decoration: none; }
.article-image { width: 100%; height: 200px; object-fit: cover; }
.article-content { padding: 20px; display: flex; flex-direction: column; flex-grow: 1; }
.article-category { color: var(--primary-color); font-weight: 600; font-size: 0.9rem; margin-bottom: 10px; text-transform: uppercase; }
.article-title { font-size: 1.3rem; margin-bottom: 12px; line-height: 1.4; color: var(--text-dark); margin-top: 0;}
.article-excerpt { color: var(--text-light); font-size: 1rem; margin-bottom: 20px; flex-grow: 1; margin-top: 0;}
.article-readmore { font-weight: 600; color: var(--primary-color); display: inline-flex; align-items: center; gap: 5px; }

/* Newsletter Signup */
.newsletter-section { background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); color: white; padding: 60px 20px; border-radius: var(--border-radius); text-align: center; margin: 40px 0; }
.newsletter-section h2 { color: white; margin-bottom: 15px; }
.newsletter-section p { font-size: 1.1rem; margin-bottom: 25px; max-width: 600px; margin-left: auto; margin-right: auto; }
.newsletter-form { display: flex; gap: 10px; justify-content: center; max-width: 500px; margin: 0 auto; }
.newsletter-form input { flex-grow: 1; padding: 14px 20px; border-radius: var(--border-radius); border: none; font-size: 1.1rem; outline: none; }
.newsletter-form button { background-color: var(--accent-color); color: white; padding: 14px 24px; border-radius: var(--border-radius); border: none; font-weight: bold; font-size: 1.1rem; cursor: pointer; transition: background-color 0.2s; }
.newsletter-form button:hover { background-color: #e6802e; }

/* Pages Styling */
.hero { background: linear-gradient(rgba(47, 128, 237, 0.85), rgba(47, 128, 237, 0.7)), url('https://images.unsplash.com/photo-1533038590840-1cbea976a473?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover; color: white; padding: 100px 20px; text-align: center; border-radius: 0 0 40px 40px; margin-bottom: 60px; box-shadow: var(--shadow-md); }
.hero h1 { color: white; font-size: 3.5rem; margin-bottom: 20px; max-width: 900px; margin-left: auto; margin-right: auto; }
.hero p { font-size: 1.3rem; max-width: 700px; margin: 0 auto 30px auto; opacity: 0.95; }
.page-header { background-color: var(--primary-color); color: white; padding: 60px 20px; text-align: center; margin-bottom: 40px; }
.page-header h1 { color: white; margin: 0; font-size: 2.5rem; }

.articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 30px; margin-bottom: 60px; }
.categories-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-bottom: 60px; }
.category-card { background-color: var(--surface-color); padding: 30px 20px; border-radius: 16px; text-align: center; box-shadow: 0 10px 20px rgba(0,0,0,0.04); transition: all 0.3s ease; color: var(--text-dark); font-weight: 600; display: flex; flex-direction: column; align-items: center; gap: 15px; text-decoration: none; border: 1px solid rgba(0,0,0,0.03); }
.category-card:hover { transform: translateY(-6px); box-shadow: 0 15px 30px rgba(47,128,237,0.12); color: var(--primary-color); }
.category-icon { color: var(--primary-color); }

.content-section { max-width: 900px; margin: 0 auto; background-color: var(--surface-color); padding: 50px; border-radius: var(--border-radius); box-shadow: var(--shadow-sm); font-size: 1.1rem; }
.content-section h2 { color: var(--primary-color); margin-top: 40px; border-bottom: 2px solid var(--border-color); padding-bottom: 10px; }
.content-section h3 { color: #333; margin-top: 30px; }
.content-section ul { padding-left: 20px; margin-bottom: 20px; }
.content-section li { margin-bottom: 12px; }
.content-section p { margin-bottom: 20px; }

.products-comparison { width: 100%; border-collapse: collapse; margin-bottom: 40px; background: var(--surface-color); box-shadow: var(--shadow-sm); border-radius: var(--border-radius); overflow: hidden; }
.products-comparison th { background-color: var(--primary-color); color: white; padding: 15px; text-align: left; }
.products-comparison td { padding: 15px; border-bottom: 1px solid var(--border-color); }
.product-review { background: var(--surface-color); padding: 40px; border-radius: var(--border-radius); box-shadow: var(--shadow-md); margin-bottom: 40px; }
.product-review h3 { color: var(--primary-color); font-size: 1.8rem; }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin: 30px 0; }
.pros { background: #f1f8e9; padding: 20px; border-radius: var(--border-radius); border-left: 4px solid #689f38; }
.cons { background: #ffebee; padding: 20px; border-radius: var(--border-radius); border-left: 4px solid #d32f2f; }
.pros h4 { color: #33691e; margin-top: 0; }
.cons h4 { color: #b71c1c; margin-top: 0; }
