/**
 * CSS files with the .module.css suffix will be treated as CSS modules
 * and scoped locally.
 */

.heroBanner {
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #243F5F 0%, #1a2d43 100%);
  color: white;
}

.heroBanner h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.heroBanner p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
  opacity: 0.9;
}

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

  .heroBanner h1 {
    font-size: 2.5rem;
  }
}

.buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.buttons :global(.button) {
  min-width: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  height: 48px;
}

/* Dark mode styles for all primary buttons */
[data-theme='dark'] :global(.button--primary) {
  color: white;
}

[data-theme='dark'] :global(.button--primary svg) {
  color: white;
}

.buttons :global(.button svg) {
  width: 20px;
  height: 20px;
  margin-left: 4px;
}

.introduction {
  padding: 4rem 0;
  background: var(--ifm-background-color);
  color: var(--ifm-color-content);
}

.introduction h2 {
  font-size: 2.5rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--ifm-color-primary);
}

.introduction p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--ifm-color-content);
  max-width: 1000px;
  margin: 0 auto;
}

.introduction table {
  margin: 0 auto;
  width: auto;
}

.introduction :global(.markdown) {
  font-size: 1.1rem;
  line-height: 1.7;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
  color: var(--ifm-color-content);
}

.introduction :global(.markdown p) {
  text-align: center;
  color: var(--ifm-color-content);
}

.introduction :global(.markdown strong) {
  color: var(--ifm-color-primary);
}

.introduction :global(.markdown table) {
  margin-left: auto;
  margin-right: auto;
  display: table;
}

section + section {
  margin-top: 2rem;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 2rem 0;
}

.container {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 2rem;
  background: var(--ifm-background-surface-color);
  color: var(--ifm-color-content);
  margin: 2rem auto;
}

[data-theme='dark'] .container {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

@media screen and (max-width: 768px) {
  .introduction h2 {
    font-size: 2rem;
  }

  .introduction p {
    font-size: 1rem;
    padding: 0 1rem;
  }

  .container {
    margin: 1rem;
    padding: 1rem;
  }
}

/* Remove global markdown styling */
:global(.markdown) {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--ifm-color-content);
}
