/* Enhanced Card Components */

.card-elevated {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.card-elevated::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.card-elevated:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
  border-color: rgba(0, 102, 204, 0.15);
}

.card-header-modern {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--bg);
}

.card-title-modern {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text);
  margin: 0;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.card-subtitle {
  font-size: 0.9375rem;
  color: var(--text-light);
  margin-top: 0.5rem;
  font-weight: 500;
}

.card-action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.2s ease;
}

.card-action-icon:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: scale(1.05);
}

.card-feature {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: white;
  border: none;
  box-shadow: 0 8px 24px rgba(0, 102, 204, 0.25);
}

.card-feature:hover {
  box-shadow: 0 12px 32px rgba(0, 102, 204, 0.35);
}

.card-section {
  margin-bottom: 2rem;
}

.card-section:last-child {
  margin-bottom: 0;
}

.card-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--border) 50%, transparent 100%);
  margin: 2rem 0;
}

@media (max-width: 768px) {
  .card-elevated {
    padding: 1.5rem;
    border-radius: 14px;
  }

  .card-title-modern {
    font-size: 1.25rem;
  }

  .card-header-modern {
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
  }

  .card-section {
    margin-bottom: 1.5rem;
  }

  .card-divider {
    margin: 1.5rem 0;
  }
}
