
/* Design Elevation - Card Design - Updated to match design spec */

/* Base Card */
.card-base {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.card-base:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* Property Card */
.card-property {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.card-property:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-property-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--bg-alt);
}

.card-property-content {
  padding: 24px;
}

.card-property-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Stat Card */
.card-stat {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.card-stat:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-stat-number {
  font-size: 48px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.card-stat-label {
  font-size: 14px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.card-stat-icon {
  font-size: 24px;
  color: var(--accent);
  margin-bottom: 16px;
}

/* Feature Card */
.card-feature {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.card-feature:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-feature-icon {
  font-size: 32px;
  color: var(--accent);
  margin-bottom: 16px;
}

.card-feature-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.card-feature-description {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.card-feature-price {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--primary);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 600;
}

/* Legacy scoring card (deprecated - use card-stat instead) */
.scoring-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.scoring-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.scoring-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  color: var(--accent);
  transition: transform 0.3s ease;
}

.scoring-card:hover .scoring-icon {
  transform: scale(1.1);
}

/* Progress bars for scoring dimensions */
.score-progress {
  width: 100%;
  height: 8px;
  background: var(--bg-alt);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 12px;
}

.score-progress-bar {
  height: 100%;
  background: var(--primary);
  border-radius: 4px;
  transition: width 1s ease;
}

/* Staggered animations */
.stagger-animation {
  opacity: 0;
  transform: translateY(20px);
  animation: staggerIn 0.6s ease forwards;
}

.stagger-animation:nth-child(1) { animation-delay: 0.1s; }
.stagger-animation:nth-child(2) { animation-delay: 0.2s; }
.stagger-animation:nth-child(3) { animation-delay: 0.3s; }
.stagger-animation:nth-child(4) { animation-delay: 0.4s; }
.stagger-animation:nth-child(5) { animation-delay: 0.5s; }

@keyframes staggerIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
