/* Dev Tools & Coding Setup Blog Styles */

:root {
    --primary-color: #0052cc;
    --secondary-color: #091e42;
    --accent-color: #00a3bf;
    --text-color: #172b4d;
    --text-muted: #6b778c;
    --bg-color: #f4f5f7;
    --card-bg: #ffffff;
    --border-color: #dfe1e6;
    --success-color: #36b37e;
    --warning-color: #ffab00;
}

* {
    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: var(--text-color);
    background: var(--bg-color);
}

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

header {
    background: var(--secondary-color);
    color: white;
    padding: 40px 20px;
    text-align: center;
}

header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

nav {
    background: var(--primary-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

nav a:hover {
    opacity: 0.8;
}

.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 80px 20px;
    text-align: center;
    border-radius: 8px;
    margin: 40px 0;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

.btn {
    display: inline-block;
    background: white;
    color: var(--primary-color);
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin: 60px 0;
}

.article-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s, box-shadow 0.3s;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.article-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.article-card p {
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.7;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.tag {
    background: var(--bg-color);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.featured-section {
    background: var(--card-bg);
    padding: 50px;
    border-radius: 12px;
    margin: 60px 0;
    border: 1px solid var(--border-color);
}

.featured-section h2 {
    color: var(--secondary-color);
    margin-bottom: 30px;
    font-size: 2rem;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border-radius: 8px;
    overflow: hidden;
}

.comparison-table th {
    background: var(--primary-color);
    color: white;
    padding: 20px;
    text-align: left;
    font-weight: 600;
}

.comparison-table td {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:nth-child(even) {
    background: var(--bg-color);
}

.pricing-tag {
    background: var(--success-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
}

footer {
    background: var(--secondary-color);
    color: white;
    padding: 60px 20px;
    text-align: center;
    margin-top: 80px;
}

footer p {
    opacity: 0.8;
    margin-bottom: 10px;
}

.affiliate-disclosure {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 20px;
    margin: 40px 0;
    font-size: 0.9rem;
}

.affiliate-disclosure strong {
    display: block;
    margin-bottom: 10px;
    color: #856404;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
}
