/*
Theme Name: SoftApplay Professional Blog
Theme URI: http://softapplay.com/
Author: SoftApplay
Description: Template Profissional Moderno para Blog Tech/SaaS.
Version: 2.0
Text Domain: softapplay
*/

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --bg-light: #f8fafc;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --white: #ffffff;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    margin: 0;
}

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

/* Header */
header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e2e8f0;
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

nav ul {
    display: flex;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s;
}

nav a:hover {
    color: var(--primary);
}

/* Hero Section */
.blog-hero {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    margin-bottom: 60px;
}

.blog-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.blog-hero p {
    font-size: 1.25rem;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto;
}

/* Layout */
.main-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 48px;
}

/* Post Cards */
.post-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 32px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f1f5f9;
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.post-content {
    padding: 32px;
}

.post-card h2 {
    margin-top: 0;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
}

.post-card h2 a {
    text-decoration: none;
    color: var(--text-main);
}

.post-card h2 a:hover {
    color: var(--primary);
}

.meta {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
    display: flex;
    gap: 12px;
}

.btn-read {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    margin-top: 20px;
    transition: background 0.2s;
}

.btn-read:hover {
    background: var(--primary-dark);
}

/* Sidebar */
.widget {
    background: white;
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 24px;
    border: 1px solid #f1f5f9;
}

.widget-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

.widget ul {
    list-style: none;
    padding: 0;
}

.widget li {
    margin-bottom: 12px;
}

.widget a {
    text-decoration: none;
    color: var(--text-main);
    font-size: 14px;
}

.widget a:hover {
    color: var(--primary);
}

/* Footer */
footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 60px 0;
    text-align: center;
    margin-top: 80px;
}

@media (max-width: 992px) {
    .main-grid { grid-template-columns: 1fr; }
    .blog-hero h1 { font-size: 2rem; }
}
