/* Salesforce Lightning Design System inspired color palette */
:root {
  /* SLDS Brand Colors */
  --sf-brand-blue: #0176D3;
  --sf-brand-dark: #0B5CAB;
  --sf-brand-light: #1B96FF;
  --sf-cloud-blue: #E3F3FF;

  /* Neutrals from SLDS */
  --sf-bg: #F3F2F2;
  --sf-paper: #FFFFFF;
  --sf-ink: #080707;
  --sf-muted: #706E6B;
  --sf-border: #DDDBDA;

  /* Accent colors from logo */
  --logo-orange: #F5A623;
  --logo-blue: #2C3E50;

  /* Semantic colors */
  --success: #2E844A;
  --warning: #DD7A01;
  --error: #BA0517;
}

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

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(180deg, var(--sf-bg) 0%, var(--sf-paper) 100%);
  color: var(--sf-ink);
  line-height: 1.6;
}

/* Navigation */
.navbar {
  background: var(--sf-paper);
  border-bottom: 2px solid var(--sf-brand-blue);
  box-shadow: 0 2px 8px rgba(8, 7, 7, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 48px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 160px;
  width: auto;
}

.logo-link {
  display: block;
  line-height: 0;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-menu a {
  color: var(--sf-ink);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
  font-size: 16px;
}

.nav-menu a:hover {
  color: var(--sf-brand-blue);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--sf-brand-blue) 0%, var(--sf-brand-dark) 100%);
  color: white;
  padding: 80px 48px;
  text-align: center;
}

.hero-content {
  max-width: 100%;
  margin: 0 auto;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 16px;
  font-weight: 800;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 24px;
  margin-bottom: 20px;
  font-weight: 500;
  color: var(--sf-cloud-blue);
}

.hero-description {
  font-size: 18px;
  line-height: 1.7;
  opacity: 0.95;
  max-width: 100%;
  margin: 0 auto;
}

/* Container */
.container {
  max-width: 100%;
  margin: 0 auto;
  padding: 60px 48px;
}

/* Blog Section */
.blog-section {
  margin-bottom: 80px;
}

.blog-section h2 {
  font-size: 36px;
  margin-bottom: 32px;
  color: var(--sf-ink);
  position: relative;
  padding-bottom: 12px;
}

.blog-section h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 4px;
  background: var(--sf-brand-blue);
  border-radius: 2px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.blog-card {
  background: var(--sf-paper);
  border: 1px solid var(--sf-border);
  border-radius: 12px;
  padding: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 16px rgba(8, 7, 7, 0.06);
}

.blog-card:not(.placeholder):hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(1, 118, 211, 0.15);
}

.blog-card.placeholder {
  opacity: 0.7;
}

.blog-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.category-tag {
  display: inline-block;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 11px;
  color: white;
  background: var(--sf-brand-blue);
  padding: 6px 12px;
  border-radius: 999px;
}

.category-tag.alt {
  background: var(--sf-cloud-blue);
  color: var(--sf-brand-blue);
  border: 1px solid var(--sf-brand-light);
}

.post-date {
  font-size: 13px;
  color: var(--sf-muted);
}

.blog-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
  line-height: 1.3;
}

.blog-card h3 a {
  color: var(--sf-ink);
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-card h3 a:hover {
  color: var(--sf-brand-blue);
}

.excerpt {
  color: var(--sf-muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.post-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--sf-border);
}

.read-time {
  font-size: 13px;
  color: var(--sf-muted);
}

.read-more {
  color: var(--sf-brand-blue);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: color 0.2s ease;
}

.read-more:hover {
  color: var(--sf-brand-dark);
}

/* About Section */
.about-section {
  background: var(--sf-paper);
  border: 1px solid var(--sf-border);
  border-radius: 12px;
  padding: 48px;
  box-shadow: 0 6px 24px rgba(8, 7, 7, 0.06);
}

.about-section h2 {
  font-size: 32px;
  margin-bottom: 24px;
  color: var(--sf-ink);
}

.about-content {
  display: flex;
  gap: 48px;
  align-items: start;
}

.about-text p {
  margin-bottom: 16px;
  color: var(--sf-ink);
  font-size: 16px;
  line-height: 1.7;
}

.about-text p:last-child {
  margin-bottom: 0;
}

/* Footer */
.site-footer {
  background: var(--logo-blue);
  color: white;
  padding: 40px 24px;
  text-align: center;
  margin-top: 80px;
}

.footer-content p {
  margin: 8px 0;
}

.footer-tagline {
  opacity: 0.8;
  font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    gap: 20px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 20px;
  }

  .hero-description {
    font-size: 16px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .about-content {
    flex-direction: column;
  }

  .about-section {
    padding: 32px 24px;
  }

  .logo {
    height: 130px;
  }
}

@media (max-width: 480px) {
  .nav-menu {
    font-size: 14px;
    gap: 16px;
  }

  .hero {
    padding: 60px 20px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .container {
    padding: 40px 20px;
  }

  .logo {
    height: 110px;
  }
}
