/* Reset & Base Styles */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: #2c3e50;
    background-color: #f4f9fc;
}
.container { max-width: 960px; margin: 0 auto; padding: 0 20px; }
img { max-width: 100%; height: auto; border-radius: 8px; }

/* Header and Navigation */
header {
    background: white;
    color: #333;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    border-bottom: 1px solid #eee;
}
nav { display: flex; justify-content: space-between; align-items: center; }
nav .logo { font-size: 1.5em; font-weight: bold; text-decoration: none; color: #007bff; }
nav ul { list-style: none; display: flex; }
nav li { margin: 0 1rem; }
nav a { color: #333; text-decoration: none; font-weight: 600; transition: color 0.3s; }
nav a:hover { color: #007bff; }

/* Main Content & Animations */
main { padding: 2rem 0; animation: fadeIn 0.5s ease-in; }
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Typography */
h1, h2, h3 { color: #0056b3; margin-bottom: 1rem; line-height: 1.3; }
h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; margin-top: 2.5rem; border-bottom: 2px solid #eef; padding-bottom: 0.5rem;}
p { margin-bottom: 1rem; }

/* Buttons */
.btn {
    display: inline-block;
    background: linear-gradient(135deg, #28a745, #218838);
    color: white !important; /* Overrides nav link color */
    padding: 14px 28px;
    text-decoration: none;
    border-radius: 50px;
    margin: 1rem 0;
    transition: transform 0.3s, box-shadow 0.3s;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(40,167,69,0.3);
    border: none;
}
.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(40,167,69,0.4);
}

/* Hero Section (Homepage) */
.hero {
    background: linear-gradient(rgba(0,123,255,0.7), rgba(0,100,220,0.7)), url(https://images.unsplash.com/photo-1596521841025-04d34a45a331?q=80&w=2070) no-repeat center/cover;
    padding: 5rem 1rem;
    text-align: center;
    color: white;
    border-radius: 10px;
}
.hero h1 { font-size: 3rem; color: white; text-shadow: 1px 1px 3px rgba(0,0,0,0.5); }
.hero p { font-size: 1.2rem; max-width: 700px; margin: 0 auto 2rem; }

/* Cards for Articles */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; margin: 2rem 0; }
.card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
    transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.1); }
.card h3 { color: #007bff; }
.card a { text-decoration: none; color: #007bff; font-weight: bold; }
.card a:after { content: ' →'; }

/* Email Form Section */
.email-form { background: #e9ecef; padding: 2rem; border-radius: 10px; text-align: center; margin: 3rem 0; }
.email-form input { width: 100%; max-width: 400px; padding: 12px; border: 1px solid #ddd; border-radius: 5px; margin-bottom: 1rem; }
.email-form button { width: auto; }

/* Review Page: Pros & Cons */
.review-pros, .review-cons { padding: 1.5rem; border-radius: 10px; margin: 2rem 0; background: white; }
.review-pros { border-left: 5px solid #28a745; }
.review-cons { border-left: 5px solid #dc3545; }
.review-pros ul, .review-cons ul { padding-left: 20px; }
.review-pros h2, .review-cons h2 { border-bottom: none; margin-top: 0; }

/* Disclaimer & Footer */
.disclaimer { background: #fff3cd; padding: 1.5rem; border-left: 5px solid #ffc107; margin: 2rem 0; font-size: 0.95em; border-radius: 5px; }
footer { background: #2c3e50; color: white; text-align: center; padding: 2rem 0; margin-top: 2rem; }
footer a { color: #00bfff; }

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    .hero h1 { font-size: 2.5rem; }
    nav { flex-direction: column; gap: 1rem; }
}