/* Chatbot Vendas - Corporate Blue & Orange Theme */
:root {
  --primary-blue: #2563EB;
  --dark-blue: #1E40AF;
  --darker-blue: #1E293B;
  --darkest-blue: #0F172A;
  --accent-orange: #F59E0B;
  --light-orange: #FEF3C7;
  --white: #FFFFFF;
  --light-gray: #F8FAFC;
  --text-gray: #475569;
  --border-gray: #E2E8F0;
  --max-width: 800px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font);
  color: var(--text-gray);
  background: var(--light-gray);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.01em;
}

/* Header - Dark Enterprise Theme */
.site-header {
  background: var(--darker-blue);
  padding: 1.2rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--primary-blue);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.15);
}
.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.site-logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  letter-spacing: -0.02em;
}
.site-logo::before {
  content: "📊";
  font-size: 1.3rem;
}
.site-logo span { 
  color: var(--accent-orange);
  font-weight: 900;
}
.header-cta {
  background: var(--accent-orange);
  color: var(--darkest-blue);
  padding: 0.7rem 1.8rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 3px 10px rgba(245, 158, 11, 0.3);
}
.header-cta:hover { 
  background: #D97706;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

/* Container */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }

/* Hero - Dark with Blue Gradient & Metrics Focus */
.blog-hero {
  background: linear-gradient(135deg, var(--darkest-blue) 0%, var(--primary-blue) 100%);
  padding: 5rem 0;
  text-align: left;
  position: relative;
  overflow: hidden;
}
.blog-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M0 0h80v80H0V0zm20 20v40h40V20H20zm20 35V25h15v30H40zm-15 0V35h10v20H25z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.blog-hero .container { position: relative; z-index: 2; }
.blog-hero h1 {
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 1.25rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.blog-hero p {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  line-height: 1.6;
  font-weight: 400;
}

/* Article header */
.article-header {
  padding: 4rem 0 2.5rem;
  background: var(--white);
  margin-bottom: 0;
}
.article-header .category {
  display: inline-flex;
  align-items: center;
  background: var(--light-orange);
  color: var(--dark-blue);
  padding: 0.5rem 1.2rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  gap: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.article-header .category::before {
  content: "🎯";
  font-size: 1rem;
}
.article-header h1 {
  font-size: 2.6rem;
  line-height: 1.2;
  color: var(--darkest-blue);
  margin-bottom: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Posts grid - Dashboard-style layout */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  padding: 3rem 0;
}
.post-card {
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
}
.post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(37, 99, 235, 0.15);
  border-color: var(--primary-blue);
}
.post-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-blue), var(--accent-orange));
}
.post-card-body { 
  padding: 2rem;
}
.post-card-body .category {
  display: inline-flex;
  align-items: center;
  background: var(--primary-blue);
  color: var(--white);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  gap: 0.3rem;
  letter-spacing: 0.05em;
}
.post-card-body .category::before {
  content: "📈";
  font-size: 0.8rem;
}
.post-card-body h2 {
  font-size: 1.25rem;
  line-height: 1.3;
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.post-card-body h2 a {
  color: var(--darkest-blue);
  text-decoration: none;
}
.post-card-body h2 a:hover { color: var(--primary-blue); }
.post-card-body p {
  color: var(--text-gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Article content */
.article-content {
  background: var(--white);
  padding: 3rem 0;
}
.article-content h2 {
  font-size: 1.8rem;
  color: var(--darkest-blue);
  margin: 3rem 0 1.5rem;
  font-weight: 700;
  position: relative;
  padding-left: 1.5rem;
  letter-spacing: -0.01em;
}
.article-content h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary-blue), var(--accent-orange));
  border-radius: 3px;
}
.article-content h3 {
  font-size: 1.3rem;
  color: var(--darker-blue);
  margin: 2.5rem 0 1rem;
  font-weight: 600;
}
.article-content p {
  margin-bottom: 1.75rem;
  color: var(--text-gray);
  line-height: 1.7;
}
.article-content ul, .article-content ol {
  margin: 2rem 0 2rem 2rem;
  color: var(--text-gray);
}
.article-content li { 
  margin-bottom: 1rem;
  position: relative;
  line-height: 1.6;
}
.article-content ul li::marker {
  color: var(--primary-blue);
}
.article-content blockquote {
  border-left: 5px solid var(--accent-orange);
  padding: 2rem 2.5rem;
  background: var(--light-gray);
  margin: 2.5rem 0;
  border-radius: 0 8px 8px 0;
  position: relative;
  font-style: italic;
}
.article-content blockquote::before {
  content: "💡";
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-size: 1.5rem;
  opacity: 0.7;
}
.article-content strong { 
  color: var(--darkest-blue);
  font-weight: 700;
}

/* CTA Box - Enterprise style */
.cta-box {
  background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
  color: var(--white);
  padding: 3rem;
  border-radius: 12px;
  margin: 3.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}
.cta-box h3 {
  color: var(--white) !important;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 2;
  font-weight: 700;
}
.cta-box p {
  color: rgba(255,255,255,0.9) !important;
  margin-bottom: 2rem;
  font-size: 1.05rem;
  position: relative;
  z-index: 2;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.cta-box a {
  display: inline-block;
  background: var(--accent-orange);
  color: var(--darkest-blue);
  padding: 1rem 2.5rem;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}
.cta-box a:hover { 
  background: #D97706;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

/* Footer */
.site-footer {
  background: var(--darkest-blue);
  color: rgba(255,255,255,0.8);
  padding: 3.5rem 0;
  margin-top: 4rem;
  text-align: center;
}
.site-footer p {
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}
.site-footer a { 
  color: var(--accent-orange);
  text-decoration: none;
  font-weight: 600;
}
.site-footer a:hover { 
  text-decoration: underline;
  color: #FCD34D;
}
.footer-powered {
  margin-top: 2rem;
  font-size: 0.8rem;
  opacity: 0.6;
}

/* Responsive */
@media (max-width: 768px) {
  body { font-size: 16px; }
  .blog-hero { 
    padding: 3rem 0;
    text-align: center;
  }
  .blog-hero h1 { font-size: 2.2rem; }
  .article-header h1 { font-size: 2rem; }
  .posts-grid { 
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .site-header .container { 
    flex-direction: column;
    gap: 1.2rem;
    text-align: center;
  }
  .article-content { padding: 2rem 0; }
}