/**
 * CSS file with main class names
 */

.heroBanner {
  padding: 4rem 0 6rem;
  text-align: left;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #2e5c82 0%, #336791 50%, #3872a0 100%);
}

.heroContent {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.heroText {
  color: white;
}

.heroLogo {
  width: 80px;
  height: 80px;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
}

.heroTitle {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: white;
  line-height: 1.2;
}

.heroSubtitle {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.heroDescription {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  max-width: 500px;
}

.buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.buttons .button {
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.buttons .button--primary {
  background: white;
  color: #336791;
  border: none;
}

.buttons .button--primary:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.buttons .button--secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.buttons .button--secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

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

.badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  color: white;
  font-size: 0.875rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
}

.heroCode {
  position: relative;
}

.codeBlock {
  background: #1e1e1e;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.codeHeader {
  background: #2d2d2d;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid #3d3d3d;
}

.codeDot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.codeTitle {
  margin-left: auto;
  color: #888;
  font-size: 0.875rem;
}

.codeContent {
  padding: 1.5rem;
  margin: 0;
  color: #d4d4d4;
  font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
  font-size: 0.9rem;
  line-height: 1.6;
  overflow-x: auto;
}

/* Stats Section */
.statsSection {
  padding: 4rem 0;
  background: #f8f9fa;
}

[data-theme='dark'] .statsSection {
  background: #1b1b1d;
}

.statsGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.statCard {
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

[data-theme='dark'] .statCard {
  background: #242526;
}

.statNumber {
  font-size: 3rem;
  font-weight: 800;
  color: #336791;
  margin-bottom: 0.5rem;
}

[data-theme='dark'] .statNumber {
  color: #5b9bd5;
}

.statLabel {
  font-size: 1rem;
  color: #666;
}

[data-theme='dark'] .statLabel {
  color: #aaa;
}

/* CTA Section */
.ctaSection {
  padding: 5rem 0;
  text-align: center;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

[data-theme='dark'] .ctaSection {
  background: linear-gradient(135deg, #242526 0%, #1b1b1d 100%);
}

.ctaSection h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #336791;
}

[data-theme='dark'] .ctaSection h2 {
  color: #5b9bd5;
}

.ctaSection p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: #666;
}

[data-theme='dark'] .ctaSection p {
  color: #aaa;
}

.ctaButtons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Responsive Design */
@media screen and (max-width: 996px) {
  .heroContent {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .heroTitle {
    font-size: 2.5rem;
  }

  .heroCode {
    order: -1;
  }

  .statsGrid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .ctaButtons {
    flex-direction: column;
  }

  .buttons {
    flex-direction: column;
  }
}

@media screen and (max-width: 768px) {
  .heroBanner {
    padding: 2rem 0 3rem;
  }

  .heroTitle {
    font-size: 2rem;
  }

  .heroSubtitle {
    font-size: 1.25rem;
  }

  .codeContent {
    font-size: 0.8rem;
  }
}
