/* Landing page styles - docs/stylesheets/home.css */

/* Remove default page padding/margins */
body:has(.bm-landing) .md-main__inner {
  margin: 0;
  padding: 0;
  max-width: none;
}

body:has(.bm-landing) .md-content {
  margin: 0;
  padding: 0;
}

body:has(.bm-landing) .md-content__inner {
  margin: 0;
  padding: 0;
}

body:has(.bm-landing) {
  background: #000;
}

/* Styling classes */

.bm-landing {
  font-family: 'Grafik', system-ui, sans-serif;
  min-height: 100vh;
  background: url("/assets/images/hero-bg.png") no-repeat center center;
  background-size: cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  box-sizing: border-box;
}

.bm-landing__content {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.bm-landing__title {
  font-size: 1.75rem !important;
  font-weight: 700;
  color: var(--syn-grey-050) !important;
  margin: 0 0 0.5rem 0 !important;
  line-height: 1.2;
}

.bm-landing__subtitle {
  font-size: 1.125rem;
  color: var(--syn-grey-100);
  margin: 0 0 0 0;
  font-weight: 400;
}

.bm-landing__spacer {
  height: 180px;
}

.bm-landing__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 640px;
  margin: 0 auto;
}

.bm-landing__card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: color-mix(in srgb, var(--syn-grey-900) 70%, transparent);
  border: 1px solid color-mix(in srgb, var(--syn-grey-700) 50%, transparent);
  border-radius: 12px;
  backdrop-filter: blur(8px);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

.bm-landing__card:hover {
  background: color-mix(in srgb, var(--syn-grey-800) 80%, transparent);
  border-color: color-mix(in srgb, var(--syn-grey-700) 60%, transparent);
}

.bm-landing__card-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.bm-landing__card-icon svg {
  width: 20px;
  height: 20px;
  color: var(--syn-blue-400);
}

.bm-landing__card-text {
  text-align: left;
}

.bm-landing__card-title {
  color: var(--syn-grey-050);
  font-weight: 500;
  font-size: 1rem;
  margin: 0;
  line-height: 1.3;
}

.bm-landing__card-subtitle {
  color: var(--syn-grey-300);
  font-size: 0.875rem;
  margin: 0;
}

.bm-landing__glow {
  margin-top: 1.5rem;
  height: 2px;
  width: 100%;
  max-width: 640px;
  background: linear-gradient(90deg, transparent, var(--syn-blue-700), var(--syn-blue-400), var(--syn-blue-700), transparent);
  border-radius: 1px;
}

@media (max-width: 640px) {
  .bm-landing__cards {
    grid-template-columns: 1fr;
  }
  .bm-landing__title {
    font-size: 2rem;
  }
  .bm-landing__spacer {
    height: 200px;
  }
}

/* Landing footer */
.bm-landing__footer {
  margin-top: 1rem;
  text-align: center;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.85;
}

.bm-landing__footer a {
  color: var(--syn-grey-050);
  text-decoration: none;
  font-weight: 600;
  transition: text-shadow 0.3s, opacity 0.3s;
}

.bm-landing__footer a:hover {
  opacity: 1;
  text-shadow: 0 0 8px rgba(77, 167, 254, 0.6);
}

.bm-landing__footer-sep {
  color: var(--syn-grey-400);
  margin: 0 0.75rem;
}

.bm-landing__footer {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  padding: 0.5rem 1.5rem;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
}