/* CSS Custom Properties */
:root {
  --primary-color: #1e3a8a;
  --primary-light: #3b82f6;
  --link-color: #2563eb;
  --link-hover: #1d4ed8;
  --text-color: #1e293b;
  --text-light: #64748b;
  --background: #ffffff;
  --background-light: #f8fafc;
  --border-color: #e2e8f0;
  --hover-color: #f1f5f9;
  --code-bg: #f8f9fa;
  --code-border: #e9ecef;
  --success-color: #10b981;
  --max-width: 1200px;
  --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background);
  font-size: 16px;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-color);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; margin-top: 3rem; margin-bottom: 1.5rem; }
h3 { font-size: 1.5rem; margin-top: 2.5rem; margin-bottom: 1.5rem; }
h4 { font-size: 1.25rem; margin-top: 2rem; margin-bottom: 1rem; }
h5 { font-size: 1.125rem; margin-top: 1.5rem; margin-bottom: 1rem; }
h6 { font-size: 1rem; margin-top: 1.5rem; margin-bottom: 1rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

a {
  color: var(--link-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

strong, b {
  font-weight: 700;
  color: var(--text-color);
}

/* Navigation */
.navigation {
  background: var(--background);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.nav-brand .brand-link {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-color);
  text-decoration: none;
}

.nav-brand .brand-link:hover {
  color: var(--primary-color);
  text-decoration: none;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  color: var(--text-light);
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
  text-decoration: none;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--primary-color);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--text-color);
  margin: 3px 0;
  transition: 0.3s;
}

/* Main Content */
.site-content {
  min-height: calc(100vh - 200px);
  padding: 2rem 0;
}

/* Page Layout */
.page-header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 3rem 0;
}

.page-title {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.page-subtitle {
  font-size: 1.25rem;
  color: var(--text-light);
  max-width: 800px;
  margin: 0 auto;
}

/* Blog Post Styles */
.post {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.post-header {
  margin-bottom: 3rem;
  text-align: center;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.post-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.post-meta {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.post-categories {
  margin-left: 0.5rem;
}

.category {
  background-color: var(--background-light);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
  color: var(--primary-color);
}

.post-content {
  line-height: 1.8;
  font-size: 1.1rem;
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

.post-content h2 {
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 0.5rem;
  margin-top: 4rem;
}

.post-content ul,
.post-content ol {
  margin-bottom: 2rem;
  padding-left: 2rem;
}

.post-content li {
  margin-bottom: 0.5rem;
}

.post-content blockquote {
  border-left: 4px solid var(--primary-color);
  padding-left: 1rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--text-light);
}

.post-content p {
  margin-bottom: 1.5rem;
}

.post-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.post-tags {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tags-label {
  font-weight: 600;
  color: var(--text-color);
}

.tag {
  background-color: var(--background-light);
  color: var(--primary-color);
  padding: 0.25rem 0.75rem;
  border-radius: 16px;
  font-size: 0.875rem;
  border: 1px solid var(--border-color);
  transition: all 0.2s ease;
}

.tag:hover {
  background-color: var(--primary-color);
  color: white;
  text-decoration: none;
}

/* Blog List */
.blog-list {
  max-width: 800px;
  margin: 0 auto;
}

.blog-item {
  padding: 2rem 0;
  border-bottom: 1px solid var(--border-color);
}

.blog-item:last-child {
  border-bottom: none;
}

.blog-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.blog-title:hover {
  color: var(--primary-color);
  text-decoration: none;
}

.blog-meta {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.blog-excerpt {
  color: var(--text-light);
  line-height: 1.6;
}

/* Code Blocks */
code {
  font-family: var(--font-mono);
  background-color: var(--code-bg);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-size: 0.9em;
  border: 1px solid var(--code-border);
}

pre {
  background-color: var(--code-bg);
  border: 1px solid var(--code-border);
  border-radius: 8px;
  padding: 1rem;
  overflow-x: auto;
  margin: 1.5rem 0;
}

pre code {
  background: none;
  padding: 0;
  border: none;
  font-size: 0.9rem;
}

/* Series Page */
.series-section {
  margin-bottom: 3rem;
}

.series-title {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.series-list {
  list-style: none;
}

.series-item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
}

.series-item:last-child {
  border-bottom: none;
}

.series-item a {
  color: var(--link-color);
  font-weight: 500;
}

.series-item a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

/* Projects Page */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.project-card {
  background: var(--background);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 2rem;
  transition: all 0.2s ease;
}

.project-card:hover {
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.project-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.project-description {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-tag {
  background-color: var(--background-light);
  color: var(--text-light);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
}

/* Footer */
.site-footer {
  background-color: var(--background-light);
  border-top: 1px solid var(--border-color);
  margin-top: 4rem;
  padding: 3rem 0 1rem;
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
  margin-bottom: 1rem;
  color: var(--text-color);
}

.footer-section p {
  color: var(--text-light);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--link-color);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  color: var(--link-color);
  transition: color 0.2s ease;
}

.social-links a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-light);
  font-size: 0.9rem;
}

.when-to-use {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Better spacing between sections */
.layer-intro,
.tools-section,
.next-steps {
  margin-bottom: 4rem;
}

.type-grid {
  margin-bottom: 3rem;
}

.tools-list {
  margin-top: 2rem;
}

/* Enhanced Role-Specific Requirements Styles */
.role-requirements {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
  position: relative;
}

.role-card {
  background: linear-gradient(135deg, var(--background-light) 0%, var(--background) 100%);
  border-radius: 16px;
  padding: 2.5rem;
  border: 2px solid var(--border-color);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.role-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, currentColor, transparent);
  opacity: 0.8;
}

.role-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  border-color: transparent;
}

.role-card.junior {
  border-top: 4px solid #10b981;
  color: #10b981;
}

.role-card.junior::before {
  background: linear-gradient(90deg, transparent, #10b981, transparent);
}

.role-card.mid {
  border-top: 4px solid #3b82f6;
  color: #3b82f6;
}

.role-card.mid::before {
  background: linear-gradient(90deg, transparent, #3b82f6, transparent);
}

.role-card.senior {
  border-top: 4px solid #8b5cf6;
  color: #8b5cf6;
}

.role-card.senior::before {
  background: linear-gradient(90deg, transparent, #8b5cf6, transparent);
}

.role-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.role-header h3 {
  color: var(--primary-color);
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.role-badge {
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 600;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 1;
}

.role-badge.junior {
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.role-badge.mid {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.role-badge.senior {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.role-description {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 2rem;
  font-size: 0.95rem;
  font-style: italic;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.02);
  border-radius: 8px;
  border-left: 3px solid currentColor;
}

.skill-requirements {
  margin-top: 2rem;
}

.requirement-group {
  margin-bottom: 2rem;
  position: relative;
}

.requirement-group::before {
  content: '';
  position: absolute;
  left: -1rem;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, currentColor, transparent);
  opacity: 0.3;
  border-radius: 2px;
}

.requirement-group h4 {
  color: var(--primary-color);
  margin-bottom: 1.25rem;
  font-size: 1.2rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.requirement-group h4::before {
  content: '>';
  color: currentColor;
  font-weight: 700;
  opacity: 0.6;
}

.skill-list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.skill-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, var(--background) 0%, rgba(255, 255, 255, 0.5) 100%);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.skill-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.skill-item:hover {
  transform: translateX(8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border-color: currentColor;
}

.skill-item:hover::before {
  left: 100%;
}

.skill-name {
  font-weight: 500;
  color: var(--text-color);
  flex: 1;
  font-size: 0.95rem;
  position: relative;
  z-index: 1;
}

.skill-level-badge {
  padding: 0.375rem 0.75rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: white;
  margin-left: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 1;
}

.skill-level-badge.beginner {
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.skill-level-badge.intermediate {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.skill-level-badge.advanced {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
}

.skill-level-badge:contains('Intermediate/Advanced') {
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

/* Enhanced Responsive Design for Role Requirements */
@media (max-width: 768px) {
  .role-requirements {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
  }
  
  .role-card {
    padding: 2rem;
    transform: none;
  }
  
  .role-card:hover {
    transform: translateY(-4px);
  }
  
  .role-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding-bottom: 0.75rem;
  }
  
  .role-header h3 {
    font-size: 1.3rem;
  }
  
  .role-badge {
    align-self: flex-start;
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
  }
  
  .role-description {
    font-size: 0.9rem;
    padding: 0.875rem;
    margin-bottom: 1.5rem;
  }
  
  .requirement-group {
    margin-bottom: 1.5rem;
  }
  
  .requirement-group::before {
    display: none;
  }
  
  .requirement-group h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }
  
  .skill-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.875rem;
  }
  
  .skill-item:hover {
    transform: translateX(4px);
  }
  
  .skill-name {
    font-size: 0.9rem;
  }
  
  .skill-level-badge {
    margin-left: 0;
    align-self: flex-end;
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
  }
}

@media (max-width: 480px) {
  .role-requirements {
    gap: 1.5rem;
    margin-top: 1.5rem;
  }
  
  .role-card {
    padding: 1.5rem;
  }
  
  .role-card:hover {
    transform: translateY(-2px);
  }
  
  .role-header h3 {
    font-size: 1.2rem;
  }
  
  .role-badge {
    font-size: 0.7rem;
    padding: 0.35rem 0.7rem;
  }
  
  .role-description {
    font-size: 0.85rem;
    padding: 0.75rem;
    margin-bottom: 1.25rem;
  }
  
  .requirement-group {
    margin-bottom: 1.25rem;
  }
  
  .requirement-group h4 {
    font-size: 1rem;
    margin-bottom: 0.875rem;
  }
  
  .skill-item {
    padding: 0.75rem;
    gap: 0.5rem;
  }
  
  .skill-item:hover {
    transform: translateX(2px);
  }
  
  .skill-name {
    font-size: 0.85rem;
  }
  
  .skill-level-badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
  }
}

/* Cloud Tools Page Styles */
.cloud-intro {
  margin-bottom: 4rem;
}

.decision-tree {
  background: var(--background-light);
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 3rem;
  border: 1px solid var(--border-color);
}

.decision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.decision-item {
  text-align: center;
  padding: 1.5rem;
  border-radius: 8px;
  background: var(--background);
  border: 1px solid var(--border-color);
  transition: transform 0.2s ease;
}

.decision-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.decision-item h4 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.decision-item p {
  color: var(--text-light);
  margin-bottom: 0;
}

.aws-section,
.gcp-section,
.azure-section,
.independent-section {
  margin-bottom: 4rem;
}

.cloud-title {
  color: var(--primary-color);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cloud-description {
  color: var(--text-light);
  margin-bottom: 2rem;
  font-size: 1.1rem;
  line-height: 1.6;
}

.tool-categories {
  display: grid;
  gap: 3rem;
}

.category-section {
  background: var(--background-light);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.category-section h3 {
  color: var(--primary-color);
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 1rem;
}

/* Enhanced Tool Comparisons Section Styles */
.comparisons-section {
  margin-bottom: 4rem;
}

.comparisons-section h2 {
  color: var(--primary-color);
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 1rem;
}

.comparisons-section .comparison-section {
  margin-bottom: 3rem;
  background: var(--background-light);
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.comparisons-section .comparison-section h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  font-weight: 600;
}

.comparisons-section .comparison-table {
  background: var(--background);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-color);
  margin-bottom: 2rem;
}

.comparisons-section .table-header {
  display: grid;
  grid-template-columns: 1.5fr 1.5fr 1.5fr 1fr;
  background: var(--primary-color);
  color: white;
  padding: 1rem;
  font-weight: 600;
  border-bottom: 2px solid var(--primary-color);
}

.comparisons-section .table-row {
  display: grid;
  grid-template-columns: 1.5fr 1.5fr 1.5fr 1fr;
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
  align-items: center;
  transition: background-color 0.2s ease;
}

.comparisons-section .table-row:hover {
  background: rgba(37, 99, 235, 0.05);
}

.comparisons-section .tool-col {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.comparisons-section .feature-col {
  line-height: 1.4;
}

.comparisons-section .badge {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
  background: var(--secondary-color);
  color: white;
}

.comparisons-section .badge.mature {
  background: #28a745;
}

.comparisons-section .badge.modern {
  background: #007bff;
}

.comparisons-section .badge.data-aware {
  background: #6f42c1;
}

.comparisons-section .badge.multi-cloud {
  background: #17a2b8;
}

.comparisons-section .badge.serverless {
  background: #fd7e14;
}

.comparisons-section .badge.aws {
  background: #ff9900;
}

.comparisons-section .badge.standard {
  background: #6c757d;
}

.comparisons-section .badge.flexible {
  background: #20c997;
}

.comparisons-section .badge.enterprise {
  background: #6f42c1;
}

.comparisons-section .badge.microsoft {
  background: #0078d4;
}

.comparisons-section .badge.embedded {
  background: #e83e8c;
}

.comparisons-section .badge.open-source {
  background: #28a745;
}

.comparisons-section .badge.databricks {
  background: #ff3621;
}

.comparisons-section .badge.open {
  background: #17a2b8;
}

.comparisons-section .recommendation {
  background: var(--background-secondary);
  padding: 1.5rem;
  border-radius: 8px;
  margin-top: 1.5rem;
  border-left: 4px solid var(--primary-color);
}

.comparisons-section .recommendation h4 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.comparisons-section .recommendation ul {
  margin: 0;
  padding-left: 1.5rem;
}

.comparisons-section .recommendation li {
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

/* Responsive Design for Comparisons */
@media (max-width: 768px) {
  .comparisons-section .table-header,
  .comparisons-section .table-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  .comparisons-section .table-header {
    display: none;
  }
  
  .comparisons-section .table-row {
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 1rem;
  }
  
  .comparisons-section .tool-col,
  .comparisons-section .feature-col {
    width: 100%;
    display: block;
    margin-bottom: 0.5rem;
  }
  
  .comparisons-section .tool-col::before {
    content: "Tool: ";
    font-weight: 600;
    color: var(--primary-color);
  }
  
  .comparisons-section .feature-col:nth-child(2)::before {
    content: "Best For: ";
    font-weight: 600;
    color: var(--primary-color);
  }
  
  .comparisons-section .feature-col:nth-child(3)::before {
    content: "Key Feature: ";
    font-weight: 600;
    color: var(--primary-color);
  }
  
  .comparisons-section .feature-col:nth-child(4)::before {
    content: "Learning Curve: ";
    font-weight: 600;
    color: var(--primary-color);
  }
}
/* Cloud-to-Cloud Cheat Sheet Styles */
.cloud-cheatsheet-section {
  margin-bottom: 4rem;
  background: var(--background-light);
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.cloud-cheatsheet-section h2 {
  color: var(--primary-color);
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 1rem;
}

.section-intro {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.cheatsheet-category {
  margin-bottom: 3rem;
  background: var(--background);
  border-radius: 8px;
  padding: 1.5rem;
  border: 1px solid var(--border-color);
}

.cheatsheet-category h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.cheatsheet-table {
  margin-bottom: 1.5rem;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.cheatsheet-header {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  background: var(--primary-color);
  color: white;
  padding: 0.75rem 1rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.cheatsheet-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-color);
  align-items: center;
  transition: background-color 0.2s ease;
}

.cheatsheet-row:hover {
  background: rgba(37, 99, 235, 0.05);
}

.cheatsheet-row > div:first-child {
  font-weight: 500;
  color: var(--text-color);
}

.cheatsheet-row > div:not(:first-child) {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--primary-color);
  background: rgba(37, 99, 235, 0.1);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  text-align: center;
}

.cheatsheet-when {
  background: var(--background-secondary);
  padding: 1rem;
  border-radius: 6px;
  border-left: 4px solid var(--primary-color);
  margin-top: 1rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.quick-summary {
  margin-top: 3rem;
  background: var(--background);
  border-radius: 8px;
  padding: 2rem;
  border: 1px solid var(--border-color);
}

.quick-summary h3 {
  color: var(--primary-color);
  margin-bottom: 2rem;
  text-align: center;
  font-size: 1.3rem;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.summary-card {
  background: var(--background-light);
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.summary-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.summary-card h4 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.cloud-options {
  line-height: 1.8;
  font-size: 0.95rem;
}

.cloud-options strong {
  color: var(--text-color);
}

/* Responsive Design for Cheat Sheet */
@media (max-width: 768px) {
  .cheatsheet-header,
  .cheatsheet-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  .cheatsheet-header {
    display: none;
  }
  
  .cheatsheet-row {
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 1rem;
  }
  
  .cheatsheet-row > div {
    width: 100%;
    display: block;
    margin-bottom: 0.5rem;
  }
  
  .cheatsheet-row > div:first-child::before {
    content: "Use Case: ";
    font-weight: 600;
    color: var(--primary-color);
  }
  
  .cheatsheet-row > div:nth-child(2)::before {
    content: "GCP: ";
    font-weight: 600;
    color: var(--primary-color);
  }
  
  .cheatsheet-row > div:nth-child(3)::before {
    content: "AWS: ";
    font-weight: 600;
    color: var(--primary-color);
  }
  
  .cheatsheet-row > div:nth-child(4)::before {
    content: "Azure: ";
    font-weight: 600;
    color: var(--primary-color);
  }
  
  .summary-grid {
    grid-template-columns: 1fr;
  }
  
  .cloud-options {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .cloud-cheatsheet-section {
    padding: 1rem;
  }
  
  .cheatsheet-category {
    padding: 1rem;
  }
  
  .summary-card {
    padding: 1rem;
  }
}
.comparison-section {
  margin-bottom: 4rem;
}

.comparison-grid {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
  overflow-x: auto;
  flex-wrap: wrap;
}

.comparison-card {
  background: var(--background-light);
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-width: 200px;
  flex: 0 0 auto;
}

.comparison-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.comparison-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.tools-compared {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tool-compare-item {
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--text-light);
}

.tool-compare-item strong {
  color: var(--text-color);
  font-weight: 600;
}

.comparison-categories {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.comparison-table-wrapper {
  overflow-x: auto;
  margin-bottom: 2rem;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--background);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-color);
}

.comparison-table th {
  background: var(--primary-color);
  color: white;
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.9rem;
  border-bottom: 2px solid var(--primary-color);
}

.comparison-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
  vertical-align: top;
  font-size: 0.9rem;
  line-height: 1.4;
}

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

.comparison-table tr:hover td {
  background: rgba(37, 99, 235, 0.05);
}

.comparison-table td:first-child {
  font-weight: 600;
  color: var(--primary-color);
  width: 25%;
  border-right: 1px solid var(--border-color);
}

.comparison-table td:not(:first-child) {
  width: 25%;
}

.comparison-table.highlight-mapping td {
  font-weight: 500;
}

.comparison-table.highlight-mapping strong {
  color: var(--primary-color);
  font-weight: 700;
}

/* Responsive comparison tables */
@media (max-width: 768px) {
  .comparison-table {
    font-size: 0.8rem;
  }
  
  .comparison-table th,
  .comparison-table td {
    padding: 0.75rem 0.5rem;
  }
  
  .comparison-table td:first-child {
    width: 35%;
  }
  
  .comparison-table td:not(:first-child) {
    width: 21.66%;
  }
}

@media (max-width: 480px) {
  .comparison-table {
    font-size: 0.7rem;
  }
  
  .comparison-table th,
  .comparison-table td {
    padding: 0.5rem 0.25rem;
  }
  
  .comparison-table td:first-child {
    width: 40%;
  }
  
  .comparison-table td:not(:first-child) {
    width: 20%;
  }
}

.sub-category {
  margin-bottom: 2rem;
}

.sub-category h4 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.1rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
}

.pipeline-summary {
  background: var(--background-light);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  margin-top: 2rem;
}

.pipeline-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.pipeline-table th {
  background: var(--primary-color);
  color: white;
  padding: 1rem;
  text-align: left;
  font-weight: 500;
}

.pipeline-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
  vertical-align: top;
}

.pipeline-table tr:nth-child(even) td {
  background: var(--background-light);
}

.pipeline-table td:first-child {
  font-weight: 600;
  color: var(--primary-color);
  width: 15%;
}

.pipeline-table td:nth-child(2) {
  width: 35%;
  font-weight: 500;
}

.pipeline-table td:nth-child(3) {
  width: 50%;
  color: var(--text-light);
}

.cloud-tool {
  background: var(--background);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cloud-tool:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.cloud-tool h4 {
  margin-bottom: 1rem;
}

.cloud-tool h4 a {
  color: var(--link-color);
  text-decoration: none;
  font-weight: 500;
}

.cloud-tool h4 a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

.cloud-tool p {
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.tool-details {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.cloud-badge {
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
}

.cloud-badge.aws-native {
  background: #ff9900;
  color: white;
}

.cloud-badge.gcp-native {
  background: #4285f4;
  color: white;
}

.cloud-badge.azure-native {
  background: #0078d4;
  color: white;
}

.cloud-badge.multi-cloud {
  background: var(--primary-color);
  color: white;
}

.when-to-use {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.5;
}

.strategy-section {
  margin-bottom: 4rem;
}

.strategy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.strategy-item {
  background: var(--background-light);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.strategy-item h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.strategy-item p {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.strategy-details {
  margin-top: 1rem;
}

.strategy-details h4 {
  color: var(--text-color);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.strategy-details ul {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.strategy-details li {
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--background);
    flex-direction: column;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .page-title {
    font-size: 2rem;
  }

  .post-title {
    font-size: 2rem;
  }

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

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.5rem; }

  .page-title {
    font-size: 1.75rem;
  }

  .post-title {
    font-size: 1.75rem;
  }

  .post-content {
    font-size: 1rem;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* Tools Page Improvements */
.tools-filters {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--background-light);
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.filter-controls {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.filter-select {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background: var(--background);
  color: var(--text-color);
  font-family: var(--font-family);
  font-size: 0.9rem;
  min-width: 150px;
}

.filter-select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.tool-card {
  background: var(--background);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tool-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.tool-header {
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.tool-name {
  color: var(--text-color);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.tool-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.badge {
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
}

.badge.layer {
  background: var(--primary-light);
  color: white;
}

.badge.type {
  background: var(--background-light);
  color: var(--text-color);
  border: 1px solid var(--border-color);
}

.tool-content {
  margin-bottom: 1rem;
}

.tool-description {
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.tool-details {
  margin-bottom: 1rem;
}

.detail-item {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.category-tag {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  background: var(--background-light);
  border-radius: 4px;
  font-size: 0.8rem;
  color: var(--text-color);
}

.tool-actions {
  text-align: right;
}

.layer-link {
  color: var(--link-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
}

.layer-link:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

/* Layers Page Improvements */
.layer-summary-grid {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
  overflow-x: auto;
  flex-wrap: wrap;
}

.summary-card {
  background: var(--background-light);
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.2s ease;
  min-width: 200px;
  flex: 0 0 auto;
}

.summary-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.summary-card h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.tool-count {
  font-size: 2rem;
  font-weight: 700;
  color: var(--link-color);
  margin: 1rem 0;
}

.explore-link {
  color: var(--link-color);
  text-decoration: none;
  font-weight: 500;
}

.explore-link:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: background-color 0.2s ease;
}

.cta-button:hover {
  background: var(--primary-light);
  color: white;
  text-decoration: none;
}

.time-estimate {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* Responsive Images */
.center-image {
  display: block;
  margin: 2rem auto;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Blog post images */
.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1.5rem 0;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .center-image {
    margin: 1rem auto;
    border-radius: 4px;
  }
  
  .post-content img {
    margin: 1rem 0;
    border-radius: 4px;
  }
}

/* Better spacing for specific sections */
.page-header {
  padding: 3rem 0;
  margin-bottom: 2rem;
}

.page-header h1 {
  margin-bottom: 1rem;
}

/* Layers Page Styles */
.layers-intro {
  margin-bottom: 3rem;
}

.intro-text {
  font-size: 1.1rem;
  color: var(--text-light);
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

.layer-card {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  background: var(--background-light);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.layer-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.layer-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  min-width: 60px;
  text-align: center;
  line-height: 1;
}

.layer-content {
  flex: 1;
}

.layer-content h3 {
  margin-bottom: 0.5rem;
}

.layer-content h3 a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 600;
}

.layer-content h3 a:hover {
  color: var(--primary-color);
}

.layer-content p {
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.layer-problems {
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.layer-next {
  font-size: 0.9rem;
}

.layer-next a {
  color: var(--link-color);
  text-decoration: none;
  font-weight: 500;
}

.layer-next a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

/* Journey Section */
.journey-section {
  background: var(--background-light);
  padding: 3rem;
  border-radius: 8px;
  margin: 3rem 0;
  text-align: center;
}

.journey-section h2 {
  color: var(--primary-color);
  margin-bottom: 2rem;
  text-align: center;
}

.journey-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.journey-step {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--background);
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: transform 0.2s ease;
}

.journey-step.completed {
  background: var(--primary-light);
  border-color: var(--primary-color);
}

.journey-step:hover {
  transform: translateY(-2px);
}

.step-icon {
  font-size: 2rem;
  min-width: 50px;
}

.step-text {
  text-align: left;
}

.step-text strong {
  color: var(--text-color);
  display: block;
  margin-bottom: 0.5rem;
}

.step-text a {
  color: var(--link-color);
  text-decoration: none;
}

.step-text a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

.journey-arrow {
  font-size: 2rem;
  color: var(--text-light);
  font-weight: bold;
}

/* Tools Preview Section */
.tools-preview {
  margin-top: 3rem;
}

.tools-preview h2 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  text-align: center;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.preview-card {
  background: var(--background-light);
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.preview-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.preview-card h4 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.tool-count {
  font-size: 2rem;
  font-weight: 700;
  color: var(--link-color);
  margin: 1rem 0;
}

.preview-link {
  color: var(--link-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  display: inline-block;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  transition: all 0.2s ease;
}

.preview-link:hover {
  color: var(--link-hover);
  background: var(--background);
  text-decoration: none;
  border-color: var(--link-color);
}

/* Tools Page - Cloud Tools Section */
.cloud-tools {
  margin-bottom: 3rem;
}

.cloud-section {
  margin-bottom: 2rem;
}

.cloud-header {
  background: var(--background-light);
  padding: 1rem 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.2s ease;
  border-radius: 8px;
  margin-bottom: 1rem;
  border: 1px solid var(--border-color);
}

.cloud-header:hover {
  background: var(--background);
}

.cloud-header h3 {
  margin: 0;
  color: var(--text-color);
}

.cloud-content {
  display: none;
  margin-bottom: 1rem;
}

.cloud-content.active {
  display: block;
}

.toggle-icon {
  transition: transform 0.2s ease;
}

.cloud-header.active .toggle-icon {
  transform: rotate(180deg);
}

.tool-meta {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.type-badge, .layer-badge {
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  color: white;
}

.type-badge {
  background: var(--secondary-color);
}

.layer-badge {
  background: var(--primary-color);
}

.tool-card p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-light);
}

/* Tools Page - Horizontal Layout for Sections */
.tools-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.comparison-section,
.layer-summary {
  margin-bottom: 0;
}

@media (max-width: 1024px) {
  .tools-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .layer-card {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .layer-number {
    margin: 0 auto;
  }
  
  .journey-visual {
    flex-direction: column;
    gap: 1rem;
  }
  
  .journey-arrow {
    transform: rotate(90deg);
  }
  
  .preview-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
  }
}

.page-header p {
  margin-bottom: 0;
}

/* Interactive Foundation Items */
.foundation-item,
.core-item {
  background: var(--background-light);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  position: relative;
}

.foundation-item:hover,
.core-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border-color: var(--primary-color);
}

.click-hint {
  color: var(--primary-color);
  font-size: 0.85rem;
  font-weight: 500;
  margin-top: 1rem;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.foundation-item:hover .click-hint {
  opacity: 1;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
}

.modal-content {
  background-color: var(--background);
  margin: 5% auto;
  padding: 2rem;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  width: 90%;
  max-width: 800px;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.close {
  color: var(--text-light);
  position: absolute;
  right: 1.5rem;
  top: 1.5rem;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.2s ease;
}

.close:hover {
  color: var(--text-color);
}

.modal h2 {
  color: var(--primary-color);
  margin-bottom: 2rem;
  font-size: 1.8rem;
  text-align: center;
}

/* Concepts Grid */
.concepts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.concept-item {
  display: flex;
  align-items: flex-start;
  background: var(--background-light);
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.concept-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.concept-number {
  background: var(--primary-color);
  color: white;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9rem;
  margin-right: 1rem;
  flex-shrink: 0;
}

.concept-content h4 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.concept-content p {
  color: var(--text-light);
  margin: 0;
  line-height: 1.5;
  font-size: 0.95rem;
}

/* Responsive Modal */
@media (max-width: 768px) {
  .modal-content {
    margin: 10% auto;
    width: 95%;
    padding: 1.5rem;
  }
  
  .concepts-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .concept-item {
    padding: 1rem;
  }
  
  .modal h2 {
    font-size: 1.5rem;
  }
}

/* Database Guide Styles */
.database-section {
  margin-bottom: 4rem;
  padding: 2rem;
  background: var(--background);
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

/* Database Selection Tool */
.selection-tool {
  background: var(--background-light);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  margin-top: 1rem;
}

.filter-section {
  margin-bottom: 2rem;
}

.filter-section h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.filter-option {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  background: var(--background);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-option:hover {
  border-color: var(--primary-color);
  background: var(--background-light);
}

.filter-option input[type="radio"] {
  margin-right: 0.5rem;
}

.filter-option input[type="radio"]:checked + span {
  color: var(--primary-color);
  font-weight: 500;
}

/* Category Grid */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.category-card {
  background: var(--background-light);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border-color: var(--primary-color);
}

.category-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.category-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

.feature-tag {
  background: var(--primary-color);
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
}

.category-examples {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Database Grid */
.database-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.database-card {
  background: var(--background-light);
  border-radius: 8px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.database-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.db-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background: var(--background);
  border-bottom: 1px solid var(--border-color);
}

.db-header h3,
.db-header h4 {
  color: var(--primary-color);
  margin: 0;
}

.db-type {
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
}

.db-type.open-source {
  background: #28a745;
  color: white;
}

.db-type.commercial {
  background: #007bff;
  color: white;
}

.db-type.managed {
  background: #6f42c1;
  color: white;
}

.db-type.priority-3 {
  background: #6c757d;
  color: white;
}

.db-content {
  padding: 1.5rem;
}

.db-description {
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.db-features {
  margin-bottom: 1.5rem;
}

.feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.feature-icon {
  color: var(--primary-color);
  margin-right: 0.5rem;
  font-weight: bold;
}

.db-use-cases h4 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.db-use-cases ul {
  margin: 0;
  padding-left: 1.5rem;
  color: var(--text-light);
  font-size: 0.9rem;
}

.db-use-cases li {
  margin-bottom: 0.25rem;
}

/* NoSQL Types */
.nosql-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.nosql-category h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  text-align: center;
}

.nosql-category .database-card {
  margin-bottom: 0;
}

/* Comparison Tables */
.comparison-table {
  margin-top: 2rem;
  overflow-x: auto;
}

.database-comparison {
  width: 100%;
  border-collapse: collapse;
  background: var(--background-light);
  border-radius: 8px;
  overflow: hidden;
}

.database-comparison th,
.database-comparison td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.database-comparison th {
  background: var(--primary-color);
  color: white;
  font-weight: 600;
}

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

.database-comparison td strong {
  color: var(--text-color);
}

/* Selection Matrix */
.selection-matrix {
  margin-top: 2rem;
  overflow-x: auto;
}

.matrix-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--background-light);
  border-radius: 8px;
  overflow: hidden;
}

.matrix-table th,
.matrix-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.matrix-table th {
  background: var(--primary-color);
  color: white;
  font-weight: 600;
}

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

.matrix-table td:first-child {
  font-weight: 500;
  color: var(--text-color);
}

/* Category Detail Modal */
.category-detail h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.category-detail ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.category-detail li {
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.category-detail strong {
  color: var(--text-color);
}

.use-cases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.use-case {
  background: var(--background);
  padding: 1rem;
  border-radius: 6px;
  border: 1px solid var(--border-color);
}

.use-case h4 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.use-case p {
  color: var(--text-light);
  margin: 0;
  font-size: 0.9rem;
}

.nosql-types-detail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.nosql-type {
  background: var(--background);
  padding: 1rem;
  border-radius: 6px;
  border: 1px solid var(--border-color);
}

.nosql-type h4 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.nosql-type p {
  color: var(--text-light);
  margin: 0.25rem 0;
  font-size: 0.9rem;
}

/* Database Guide Responsive Design */
@media (max-width: 768px) {
  .category-grid,
  .database-grid,
  .nosql-types {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .filter-options {
    flex-direction: column;
  }
  
  .database-comparison,
  .matrix-table {
    font-size: 0.9rem;
  }
  
  .database-comparison th,
  .database-comparison td,
  .matrix-table th,
  .matrix-table td {
    padding: 0.75rem 0.5rem;
  }
  
  .db-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

/* Selection Results */
.selection-results {
  margin-top: 2rem;
  padding: 2rem;
  background: var(--background-light);
  border-radius: 8px;
  border: 1px solid var(--border-color);
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.selection-results h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  text-align: center;
}

.recommendation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.recommendation-card {
  background: var(--background);
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.recommendation-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.rec-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.rec-header h4 {
  color: var(--primary-color);
  margin: 0;
  font-size: 1.2rem;
}

.rec-type {
  background: var(--primary-color);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
}

.rec-reason {
  color: var(--text-light);
  margin-bottom: 0;
  line-height: 1.6;
}

.section-title {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 2rem;
  font-weight: 700;
}

.section-description {
  color: var(--text-light);
  margin-bottom: 2rem;
  font-size: 1.1rem;
  text-align: center;
}

/* Skills Guide Styles */
.skills-section {
  margin-bottom: 4rem;
  padding: 2rem;
  background: var(--background);
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

/* Skills Assessment Tool */
.assessment-tool {
  background: var(--background-light);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  margin-top: 1rem;
}

.assessment-section {
  margin-bottom: 2rem;
}

.assessment-section h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.assessment-options {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.assessment-option {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  background: var(--background);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.assessment-option:hover {
  border-color: var(--primary-color);
  background: var(--background-light);
}

.assessment-option input[type="radio"] {
  margin-right: 0.5rem;
}

.assessment-option input[type="radio"]:checked + span {
  color: var(--primary-color);
  font-weight: 500;
}

/* Skills Results */
.skills-results {
  margin-top: 2rem;
  padding: 2rem;
  background: var(--background-light);
  border-radius: 8px;
  border: 1px solid var(--border-color);
  animation: slideIn 0.3s ease;
}

.skills-results h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  text-align: center;
}

.priority-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}

.priority-item {
  background: var(--background);
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.priority-item h4 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.priority-item p {
  color: var(--text-light);
  margin: 0;
  font-size: 0.9rem;
}

/* Skills Grid */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.skill-card {
  background: var(--background-light);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.skill-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.skill-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.skill-header h3 {
  color: var(--primary-color);
  margin: 0;
  font-size: 1.2rem;
}

.skill-level {
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
}

.skill-level.essential {
  background: #28a745;
  color: white;
}

.skill-level.important {
  background: #ffc107;
  color: #212529;
}

.skill-level.advanced {
  background: #6c757d;
  color: white;
}

.skill-card p {
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.skill-resources {
  text-align: right;
}

.skill-link {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.skill-link:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

/* Soft Skills Grid */
.soft-skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.soft-skill-card {
  background: var(--background-light);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.soft-skill-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.soft-skill-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.soft-skill-header h3 {
  color: var(--primary-color);
  margin: 0;
  font-size: 1.2rem;
}

.soft-skill-card p {
  color: var(--text-light);
  margin: 0;
  line-height: 1.6;
}

/* Learning Path */
.learning-path {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.path-stage {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  background: var(--background-light);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.stage-number {
  background: var(--primary-color);
  color: white;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.stage-content h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.stage-content ul {
  margin: 0;
  padding-left: 1.5rem;
  color: var(--text-light);
}

.stage-content li {
  margin-bottom: 0.5rem;
}

/* Skills Responsive Design */
@media (max-width: 768px) {
  .skills-grid,
  .soft-skills-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .assessment-options {
    flex-direction: column;
  }
  
  .path-stage {
    flex-direction: column;
    text-align: center;
  }
  
  .stage-number {
    margin: 0 auto 1rem;
  }
}

/* Grid Layouts */
.foundation-grid,
.core-grid,
.layers-grid,
.path-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.foundation-item,
.core-item,
.layer-item,
.path-item {
  background: var(--background-light);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.foundation-item:hover,
.core-item:hover,
.layer-item:hover,
.path-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.foundation-item h3,
.core-item h3,
.layer-item h3,
.path-item h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.foundation-item p,
.core-item p,
.layer-item p,
.path-item p {
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* Next Step Navigation */
.next-step {
  font-size: 0.9rem;
  color: var(--link-color);
  margin-top: 1rem;
}

.next-step a {
  color: var(--link-color);
  text-decoration: none;
  font-weight: 500;
}

.next-step a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

/* Tools CTA */
.tools-cta {
  text-align: center;
  margin-top: 2rem;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: background-color 0.2s ease;
}

.cta-button:hover {
  background: var(--primary-light);
  color: white;
  text-decoration: none;
}

/* Time Estimate */
.time-estimate {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  background: var(--background);
  border-radius: 4px;
  display: inline-block;
}

/* Responsive Design */
@media (max-width: 768px) {
  .foundation-grid,
  .core-grid,
  .layers-grid,
  .path-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .roadmap-section {
    padding: 1.5rem;
  }
}

.foundation-grid,
.core-grid,
.layers-grid,
.path-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.foundation-item,
.core-item,
.layer-item,
.path-item {
  background: var(--background-light);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.foundation-item:hover,
.core-item:hover,
.layer-item:hover,
.path-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.foundation-item h3,
.core-item h3,
.layer-item h3,
.path-item h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.foundation-item h3 a,
.core-item h3 a,
.layer-item h3 a,
.path-item h3 a {
  color: var(--link-color);
  text-decoration: none;
}

.foundation-item h3 a:hover,
.core-item h3 a:hover,
.layer-item h3 a:hover,
.path-item h3 a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

.next-step {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.9rem;
}

.next-step a {
  color: var(--link-color);
  font-weight: 500;
}

.next-step a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

.tools-filters {
  background: var(--background-light);
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.filter-controls {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.filter-select {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  background: var(--background);
  color: var(--text-color);
  font-family: var(--font-family);
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.tool-card {
  background: var(--background);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 2rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tool-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.tool-header {
  margin-bottom: 1rem;
}

.tool-name {
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.tool-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.badge {
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
}

.badge.layer {
  background: var(--primary-light);
  color: white;
}

.badge.type {
  background: var(--background-light);
  color: var(--text-color);
  border: 1px solid var(--border-color);
}

.tool-content {
  margin-bottom: 1rem;
}

.tool-description {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.tool-details {
  margin-bottom: 1rem;
}

.detail-item {
  margin-bottom: 1rem;
}

.category-tag {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  background: var(--background-light);
  border-radius: 4px;
  font-size: 0.8rem;
  color: var(--text-color);
}

.tool-actions {
  text-align: right;
}

.layer-link {
  color: var(--link-color);
  text-decoration: none;
  font-weight: 500;
}

.layer-link:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.summary-card {
  background: var(--background-light);
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
}

.summary-card h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.tool-count {
  font-size: 2rem;
  font-weight: 700;
  color: var(--link-color);
  margin: 1rem 0;
}

.explore-link {
  color: var(--link-color);
  text-decoration: none;
  font-weight: 500;
}

.explore-link:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: background-color 0.2s ease;
}

.cta-button:hover {
  background: var(--primary-light);
  color: white;
  text-decoration: none;
}

.time-estimate {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* Responsive Images */
.center-image {
  display: block;
  margin: 2rem auto;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Blog post images */
.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1.5rem 0;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .center-image {
    margin: 1rem auto;
    border-radius: 4px;
  }
  
  .post-content img {
    margin: 1rem 0;
    border-radius: 4px;
  }
}
