/**
 * 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-color: var(--ifm-color-primary);
  color: white;
}

.logoContainer {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.logo {
  border-radius: 20%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.heroBanner h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.heroBanner p {
  font-size: 1.5rem;
  margin: 0 auto 1rem;
  max-width: 600px;
}

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

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

  .heroBanner p {
    font-size: 1.25rem;
  }
}

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

.features {
  padding: 4rem 0;
  width: 100%;
}

/* Modern Card styles */
.features :global(.card) {
  height: 100%;
  border-radius: 12px;
  border: 1px solid var(--ifm-color-emphasis-200);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
  background: var(--ifm-card-background-color,
      var(--ifm-background-surface-color));
  position: relative;
  padding: 0;
}

.features :global(.card:hover) {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 178, 202, 0.2);
  border-color: var(--ifm-color-emphasis-300);
}

.features :global(.card:before) {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--ifm-color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.features :global(.card:hover:before) {
  transform: scaleX(1);
}

.features :global(.card__header) {
  text-align: center;
  padding: 2rem 1.5rem 1rem;
  background: transparent;
  border-bottom: 1px solid var(--ifm-color-emphasis-100);
}

.cardIcon {
  display: inline-flex;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(0, 178, 202, 0.1);
  color: var(--ifm-color-primary);
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border: 1px solid rgba(0, 178, 202, 0.2);
}

.features :global(.card__header h3) {
  margin: 0;
  color: var(--ifm-color-emphasis-900);
  font-weight: 700;
  font-size: 1.5rem;
}

.features :global(.card__body) {
  padding: 1rem 1.5rem 1.5rem;
  flex-grow: 1;
  text-align: center;
}

.features :global(.card__body p) {
  margin-bottom: 0;
  color: var(--ifm-color-emphasis-700);
  line-height: 1.6;
}

.features :global(.card__footer) {
  text-align: center;
  padding: 1.5rem;
  border: none;
  background: transparent;
}

.features :global(.card__footer .button) {
  border-radius: 30px;
  padding: 0.5rem 1.5rem;
  font-weight: 500;
  box-shadow: 0 4px 10px rgba(0, 178, 202, 0.15);
  transition: all 0.3s ease;
}

.features :global(.card__footer .button:hover) {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 178, 202, 0.25);
}

/* Light mode specific styles */
html[data-theme="light"] .features :global(.card) {
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--ifm-color-emphasis-200);
}

html[data-theme="light"] .features :global(.card:hover) {
  box-shadow: 0 12px 30px rgba(0, 178, 202, 0.2);
}

html[data-theme="light"] .cardIcon {
  background: rgba(0, 178, 202, 0.15);
  box-shadow: 0 4px 8px rgba(0, 178, 202, 0.1);
}

.support {
  padding: 4rem 0;
  background-color: var(--ifm-color-emphasis-100);
}

.featureTitle {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}