@import url("base.css");

/* Override the full-screen viz body lock so the landing page scrolls */
body {
  overflow: auto;
  min-height: 100vh;
}

/* ================================================
   Landing Layout
   ================================================ */

.landing {
  max-width: 960px;
  margin: 0 auto;
  padding: 72px 28px 60px;
}

.landing-header {
  margin-bottom: 48px;
}

.landing-header h1 {
  font-size: 28px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.landing-header p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1.5;
}

/* ================================================
   Card Grid
   ================================================ */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 16px;
}

.card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 22px 20px 18px;
  text-decoration: none;
  color: inherit;
  transition: background 0.18s ease, border-color 0.18s ease,
              box-shadow 0.18s ease;
  position: relative;
  overflow: hidden;
}

.card:hover {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

/* Accent bar at the top of each card — colour set via inline style */
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 2px;
  border-radius: 0 0 2px 2px;
  background: var(--accent, rgba(255, 255, 255, 0.1));
  opacity: 0.6;
  transition: opacity 0.18s ease;
}

.card:hover::before {
  opacity: 1;
}

.card-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 12px;
  align-self: flex-start;
}

.card-title {
  font-size: 16px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.card-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.45;
  flex: 1;
}

.card-arrow {
  margin-top: 14px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.2);
  transition: color 0.15s ease;
}

.card:hover .card-arrow {
  color: rgba(255, 255, 255, 0.5);
}
