/* Hero section styling matching Material demo */
.mdx-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3rem;
  margin: 4rem 0;
  padding: 4rem 3rem;
  border-radius: 20px;
  background: linear-gradient(135deg, #1a237e 0%, #283593 50%, #3949ab 100%);
  color: white;
  box-shadow: 0 8px 32px rgba(26, 35, 126, 0.4);
  position: relative;
  overflow: hidden;
}

.mdx-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 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='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.mdx-hero__content {
  flex: 1 1 350px;
  min-width: 300px;
  z-index: 1;
  position: relative;
}

.mdx-hero__image {
  flex: 1 1 350px;
  min-width: 300px;
  text-align: center;
  z-index: 1;
  position: relative;
}

.mdx-hero__image img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
}

.mdx-hero__title {
  font-size: 3.5rem;
  font-weight: 800;
  margin: 0 0 1.5rem;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  line-height: 1.1;
}

.mdx-hero__subtitle {
  font-size: 1.3rem;
  margin: 0 0 2.5rem;
  opacity: 0.95;
  color: white;
  line-height: 1.5;
  font-weight: 400;
}

.mdx-hero__buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.mdx-hero__buttons .md-button {
  font-size: 1rem;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  text-transform: none;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}

.mdx-hero__buttons .md-button--primary {
  background-color: white;
  color: #1a237e;
  border-color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.mdx-hero__buttons .md-button--primary:hover {
  background-color: #f8f9fa;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.mdx-hero__buttons .md-button:not(.md-button--primary) {
  background-color: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.5);
}

.mdx-hero__buttons .md-button:not(.md-button--primary):hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: white;
  transform: translateY(-2px);
}

/* Enhanced card grid styling */
.grid.cards {
  margin-top: 3rem;
}

.grid.cards > .card {
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.grid.cards > .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-color: rgba(26, 35, 126, 0.3);
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
  .mdx-hero {
    margin: 2rem 0;
    padding: 3rem 2rem;
    gap: 2rem;
  }

  .mdx-hero__title {
    font-size: 2.5rem;
  }

  .mdx-hero__subtitle {
    font-size: 1.1rem;
  }

  .mdx-hero__buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .mdx-hero__buttons .md-button {
    text-align: center;
  }
}
