/* ===============================================================
   PIXELECT BLOG & LANDING PAGES - CONSISTENT THEME
   Uses same color scheme as main site
   =============================================================== */

:root {
    /* Main Colors - Matched with main site */
    --primary: #8e44ad;
    --secondary: #3498db;
    --success: #2ecc71;
    --warning: #f39c12;
    --danger: #e74c3c;
    --dark: #2c3e50;
    --light: #f8f9fa;
    --gray: #7f8c8d;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-success: linear-gradient(135deg, #2ecc71, #27ae60);
    --gradient-warning: linear-gradient(135deg, #f39c12, #e67e22);
    --gradient-danger: linear-gradient(135deg, #e74c3c, #c0392b);
    --gradient-info: linear-gradient(135deg, #3498db, #2980b9);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.15);
}

/* Blog Container */
.blog-container {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
}

/* Blog Header */
.blog-header {
    text-align: center;
    margin-bottom: 50px;
}

.blog-header h1 {
    font-size: 3rem;
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.blog-meta {
    color: var(--gray);
    font-size: 1rem;
    margin-bottom: 30px;
}

.blog-meta span {
    margin: 0 15px;
}

/* Blog Content */
.blog-content {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--dark);
}

.blog-content h2 {
    font-size: 2.2rem;
    color: var(--dark);
    margin: 50px 0 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary);
}

.blog-content h3 {
    font-size: 1.7rem;
    color: #34495e;
    margin: 35px 0 20px;
}

.blog-content p {
    margin-bottom: 25px;
}

.blog-content ul, .blog-content ol {
    margin: 25px 0;
    padding-left: 40px;
}

.blog-content li {
    margin-bottom: 15px;
}

/* Highlight Box */
.highlight-box {
    background: linear-gradient(135deg, var(--light), #ffffff);
    border-left: 5px solid var(--primary);
    padding: 30px;
    margin: 35px 0;
    border-radius: 8px;
}

/* Comparison Table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 35px 0;
    box-shadow: var(--shadow-md);
}

.comparison-table th {
    background: var(--gradient-primary);
    color: white;
    padding: 20px;
    text-align: left;
    font-size: 1.1rem;
}

.comparison-table td {
    padding: 18px 20px;
    border-bottom: 1px solid #ecf0f1;
}

.comparison-table tr:hover {
    background: var(--light);
}

/* Pros & Cons */
.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 35px 0;
}

.pros, .cons {
    padding: 25px;
    border-radius: 12px;
}

.pros {
    background: #d5f4e6;
    border-left: 5px solid var(--success);
}

.cons {
    background: #fadbd8;
    border-left: 5px solid var(--danger);
}

.pros h4, .cons h4 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* Tip Box */
.tip-box {
    background: #fff5e6;
    border: 2px solid var(--warning);
    border-radius: 12px;
    padding: 25px;
    margin: 35px 0;
}

.tip-box h4 {
    color: var(--warning);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* CTA Box */
.cta-box {
    background: var(--gradient-primary);
    color: white;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    margin: 50px 0;
}

.cta-box h3 {
    color: white;
    margin-bottom: 20px;
}

.cta-box a {
    display: inline-block;
    background: white;
    color: var(--primary);
    padding: 15px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    margin-top: 15px;
    transition: transform 0.3s;
}

.cta-box a:hover {
    transform: scale(1.05);
}

/* Landing Page Specific */
.tips-hero {
    background: var(--gradient-primary);
    padding: 80px 20px;
    color: white;
    text-align: center;
}

.tips-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.tips-hero p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.95;
}

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

.category-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid transparent;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.2);
    border-color: var(--primary);
}

.category-icon {
    background: var(--gradient-primary);
    padding: 40px;
    text-align: center;
}

.category-icon i {
    font-size: 3.5rem;
    color: white;
}

.category-content {
    padding: 30px;
}

.category-content h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.category-content p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.tips-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.tips-list li {
    padding: 10px 0;
    border-bottom: 1px solid #ecf0f1;
    display: flex;
    align-items: center;
}

.tips-list li:last-child {
    border-bottom: none;
}

.tips-list li i {
    color: var(--primary);
    margin-right: 12px;
    font-size: 1.1rem;
}

.tips-list li a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.tips-list li a:hover {
    color: var(--primary);
}

.featured-tip {
    background: linear-gradient(135deg, var(--light), #ffffff);
    border-left: 5px solid var(--primary);
    padding: 40px;
    border-radius: 12px;
    margin: 50px 0;
}

.featured-tip h3 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 20px;
}

.cta-section {
    background: var(--gradient-success);
    color: white;
    padding: 60px 20px;
    text-align: center;
    border-radius: 16px;
    margin: 60px 0;
}

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

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.btn-cta {
    display: inline-block;
    padding: 16px 40px;
    background: white;
    color: var(--success);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.btn-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .blog-header h1 {
        font-size: 2rem;
    }
    
    .pros-cons {
        grid-template-columns: 1fr;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .tips-hero h1 {
        font-size: 2rem;
    }
}
